Skip to content
Snippets Groups Projects
user avatar
Mikhail Khalilov authored
49f34ce1

PsPIN/OSMOSIS

Verilator experiments

Set up Docker container with the environment (15 min)

  1. $ git clone git@spclgitlab.ethz.ch:mkhalilov/pspin-osmosis.git
  2. $ cd ./pspin-osmosis/ && git submodule update --init --recursive
  3. $ docker-compose up -d

Build simulation model (up to 1 hour)

  1. $ docker ps # get the containerID
  2. $ docker exec -it <containerID> bash
  3. $ cd /opt/pspin/
  4. $ source ./sourceme.sh
  5. $ cd ./hw/verilator_model/
  6. $ VERILATOR_COMPILER_WORKERS=$(nproc) make release