Verification Guide - mammenx/synesthesia_zen GitHub Wiki

HOME > VERIFICATION GUIDE


Before starting with running tests, please ensure that Modelsim & GCC have been installed and that vsim & gcc command paths are set in the $PATH variable.


All Synesthesia tests are to be run in the \wxp\verif\sandbox folder. There are two windows batch scripts here (clean.bat & msim.bat) that can be used to run simulations.

'clean.bat' is used to clean up the sandbox to start a fresh simulation.

'msim.bat' is used to actually run a test. There are three variables that need to be set in this script:

  • MSIM_DIR : Point this to modelsim installation directory eg.
set MSIM_DIR=C:\altera\11.1sp2\modelsim_ase
  • TEST_NAME : This will select which test to run eg.
set TEST_NAME=syn_vcortex_gpu_draw_line_test
  • TB_TOP : This will select the tb_top file for running simulation eg.
set TB_TOP=syn_acortex_tb_top

There are four types of tb_top in Synesthesia:

  • syn_vcortex_tb_top : All tests starting with syn_vcortex_ need to use this tb_top
  • syn_acortex_tb_top : All tests starting with syn_acortex_ need to use this tb_top
  • syn_fgyrus_tb_top : All tests starting with syn_fgyrus_ need to use this tb_top
  • syn_cortex_tb_top : All tests starting with syn_cortex_ need to use this tb_top

That's it!

The simulation flow as executed by the msim.bat script follows the below chart:

⚠️ **GitHub.com Fallback** ⚠️