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:
committed by
Andrew Waterman
parent
fd39eadcd6
commit
c61714a465
@ -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
|
||||
|
Reference in New Issue
Block a user