mirror of
https://github.com/verilator/verilator.git
synced 2025-01-05 22:27:35 +00:00
Put dump file in TEST_OBJ_DIR
This commit is contained in:
parent
0b07679ff2
commit
0a8cfb8d2c
@ -17,7 +17,7 @@ int main(int argc, char** argv) {
|
||||
VerilatedVcdC tfp;
|
||||
Vt_trace_open_wrong_order dut;
|
||||
ctx.traceEverOn(true);
|
||||
tfp.open("dump.vcd"); // Error! shall put to the next line!
|
||||
tfp.open(VL_STRINGIFY(TEST_OBJ_DIR) "/dump.vcd"); // Error! shall put to the next line!
|
||||
dut.trace(&tfp, 99); // Error!
|
||||
tfp.dump(0);
|
||||
tfp.close();
|
||||
|
Loading…
Reference in New Issue
Block a user