/summer2022

Summer School Week 1 & 2 repo

Primary LanguageShellGNU General Public License v2.0GPL-2.0

Summer School Tools for Weeks 1 and 2

System requirements:

  • The system needs a relatively modern version of a C and C++ compiler (supporting c++17)
  • The system needs cmake install (version >= 3.15)
  • The system must have libedit installed. For the yum package manager, the package is called libedit-devel; for apt-get, it is libeditline-dev. Some systems have both packages. In that case please use libedit, not libeditline.
  • The system should have zlib installed
  • The system should have the macro pre-processing package m4 installed

On Ubuntu, you can install these using:

apt-get -q update -y
apt-get -q install -y libedit-dev zlib1g-dev m4 build-essential cmake

You should also install yosys if you want to use the expression optimization package. On Ubuntu, you can install it directly using:

apt-get -q install -y yosys

To install tools:

  • Clone this repository with git clone https://github.com/asyncvlsi/summer2022.
  • Note that this repository contains submodules, so make sure you initialize those as well (git submodule update --init --recursive)
  • Create a directory where you'd like the tools to be installed. Example common locations on Unix-like machines include /usr/local/cad, /opt/cad, /opt/async. You can also install them in any other directory (e.g. $HOME/async)
  • Set the environment variable ACT_HOME to point to the install directory.
  • Run ./build

The tools will be installed in $ACT_HOME/bin. Make sure that the ACT_HOME environment variable is set before using any of the ACT tools, and that $ACT_HOME/bin is in your path.

Example

To install the tools in /opt/async (and in the bash shell), use:

$ export ACT_HOME=/opt/async
$ git clone https://github.com/asyncvlsi/summer2022
$ cd summer2022
$ git submodule update --init --recursive
$ ./build