raywu0123 / ICCAD2020-Problem-C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPU Accelerated Logic Re-simulation

Usage

Setup

  • Initialize Git Submodules:
git submodule init && git submodule update
  • python interpreter version for pyenv is specified in .python-version. You may delete this file if you want to use your own interpreter version.
  • Use pipenv to setup python environment.

Simulation

  1. Preprocess:
pipenv run python GraphPreprocessing.py <gv_file> <sdf_file> <std_lib> <intermediate_file>
  1. Build simulator
./scripts/build
  1. Run simulation:
./build/GPUSimulator <intermediate_file> <input_vcd> <dumpon_time> <dumpoff_time> [output_file] [SAIF or VCD Flag]

Testing

  • Run unit tests
./scripts/test.sh
  • Run end-to-end tests
pipenv run python ./custom-tests/test-custom-cases.py [-s path_to_results]

Export binaries

./scripts/export_binaries <output_dir>

About


Languages

Language:Cuda 50.3%Language:Python 31.9%Language:C++ 15.3%Language:CMake 1.7%Language:C 0.6%Language:Shell 0.2%