1
0

Pass MODEL variable to emulator.cc

This enables hot-swapping of the top-level test harness by specifying
`MODEL=MyTestHarness` when building the emulator.
This commit is contained in:
Schuyler Eldridge
2017-03-29 14:27:33 -04:00
committed by Andrew Waterman
parent fd39eadcd6
commit c61714a465
2 changed files with 3 additions and 3 deletions

View File

@ -155,7 +155,7 @@ done_processing:
srand48(random_seed);
Verilated::randReset(2);
VTestHarness *tile = new VTestHarness;
TEST_HARNESS *tile = new TEST_HARNESS;
#if VM_TRACE
Verilated::traceEverOn(true); // Verilator must compute traced signals