This commit is contained in:
Wilson Snyder 2020-08-29 10:22:50 -04:00
parent 4f88ec3518
commit 96a959154a

View File

@ -2017,7 +2017,7 @@ This is an example similar to the above, but using SystemC.
#include "Vour.h"
int sc_main(int argc, char** argv) {
Verilated::commandArgs(argc, argv);
sc_clock clk ("clk", 10, 0.5, 3, true);
sc_clock clk("clk", 10, SC_NS, 0.5, 3, SC_NS, true);
Vour* top;
top = new Vour("top");
top->clk(clk);