Changing the Default Testbench Names

The simulation flow assumes that:

  • Your testbench file is named <project name>_tb.v
  • The top module in your testbench is named sim

To use a different testbench name, use the --tb option.

To use a different name for the top-level module, specify it with the --tb_top option.

Changing Default Names

Linux:
efx_run.py <project name>.xml --flow rtlsim|mapsim --tb <file>
efx_run.py <project name>.xml --flow rtlsim|mapsim --tb_top <top-level module name>
Windows:
efx_run.bat <project name>.xml --flow rtlsim|mapsim --tb <file>
efx_run.bat <project name>.xml --flow rtlsim|mapsim --tb_top <top-level module name>
Note: If the testbench file is not located at the root level of the project directory, you need to specify the path. For example:
efx_run.py helloworld.xml --flow rtlsim --tb src\helloworld_tb.v