mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 12:17:35 +00:00
Commentary
This commit is contained in:
parent
c7e1358bb7
commit
49bccb5f1b
@ -28,6 +28,7 @@ Now, let's create an example Verilog, and SystemC wrapper file:
|
|||||||
|
|
||||||
cat >sc_main.cpp <<'EOF'
|
cat >sc_main.cpp <<'EOF'
|
||||||
#include "Vour.h"
|
#include "Vour.h"
|
||||||
|
using namespace sc_core;
|
||||||
int sc_main(int argc, char** argv) {
|
int sc_main(int argc, char** argv) {
|
||||||
Verilated::commandArgs(argc, argv);
|
Verilated::commandArgs(argc, argv);
|
||||||
sc_clock clk{"clk", 10, SC_NS, 0.5, 3, SC_NS, true};
|
sc_clock clk{"clk", 10, SC_NS, 0.5, 3, SC_NS, true};
|
||||||
|
Loading…
Reference in New Issue
Block a user