Prefer std:: in examples

This commit is contained in:
Wilson Snyder 2022-11-27 08:32:34 -05:00
parent 2c7f1ef40f
commit c303ba7f0a

View File

@ -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");