forked from github/verilator
Prefer std:: in examples
This commit is contained in:
parent
2c7f1ef40f
commit
c303ba7f0a
@ -90,7 +90,7 @@ int sc_main(int argc, char* argv[]) {
|
||||
VerilatedVcdSc* tfp = nullptr;
|
||||
const char* flag = Verilated::commandArgsPlusMatch("trace");
|
||||
if (flag && 0 == std::strcmp(flag, "+trace")) {
|
||||
cout << "Enabling waves into logs/vlt_dump.vcd...\n";
|
||||
std::cout << "Enabling waves into logs/vlt_dump.vcd...\n";
|
||||
tfp = new VerilatedVcdSc;
|
||||
top->trace(tfp, 99); // Trace 99 levels of hierarchy
|
||||
Verilated::mkdir("logs");
|
||||
|
Loading…
Reference in New Issue
Block a user