taichi-ishitani / tnoc

Network on Chip Implementation written in SytemVerilog
Apache License 2.0
158 stars 44 forks source link

NOC TB presentation #53

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi @taichi-ishitani ,

I'm trying to understand your NOC TB here, it would be great help if you can have a presentation on this. I have already gone through your work " rggen " which was awesome and impressive, trying to understand this NOC TB the same way. If you have a presentation explaining how this works and it's structure..It will be great.

Thanks !

taichi-ishitani commented 4 years ago

Hi @dev0075 , Thanks again for your taking notice on my works !

you have a presentation explaining how this works

Sorry, I have no documents for this project. What kind of information do you want?


I think running simulations is good to understand RTL and TB implementations. Procedures to run simulations are listed below:

  1. Get dependencies

This project depends on some other projects. To get dependencies you need to run this command on the root directory of this project before running simulations.

$ ./setup_submodules.sh
  1. Move to work directory

The sim directory is work directory and there are sub work directories for each DUTs on the sim directory. First, move to a sub work directory listed below.

  1. Run simulation

TB supports following simulators.

To run simulations you only have to hit make command.

For VCS

$ make SIMULATOR=vcs

For Xcelium

$ make SIMULATOR=xcelium

Then, all test cases will be executed and simulation results (log, wave dump (if needed)) will be output to each simulation directories.

If you want to dump wave dumps then add DUMP option to make command like below.

For VCS

$ make SIMULATOR=vcs DUMP=vpd  # For DVE
$ make SIMULATOR=vcs DUMP=fsdb # For Verdi

For Xcelium

$ make SIMULATOR=xcelium DUMP=shm # For SimVision
$ make SIMULATOR=xcelium DUMP=ida # For Indago

You also can an specific test case. To do this, you need to specify test name when you run make command like below.

$ make tnoc_router_sample_test SIMULATOR=vcs

To get list of test cases, see test_list.mk on the sub work directory.

$ cat test_list.mk