Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOC TB presentation #53

Open
ghost opened this issue Jan 7, 2020 · 1 comment
Open

NOC TB presentation #53

ghost opened this issue Jan 7, 2020 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Jan 7, 2020

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
Copy link
Owner

taichi-ishitani commented Jan 8, 2020

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.

  • sim/router_xxx: for NoC router DUT
  • sim/fabric_xxx: for NoC fabric DUT
  • sim/axi_adapter_xxx: for AXI interfaca adapter DUT
  1. Run simulation

TB supports following simulators.

  • Synopsys VCS
  • Cadence Xcelium

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant