blob: 079ced121662fb960c6eacdc9cb7776c5e14a374 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "hello.h"
#include "verilated.h"
double sc_time_stamp() { return 0; }
int main(int argc, char** argv) {
VerilatedContext* contextp = new VerilatedContext;
contextp->commandArgs(argc, argv);
hello* top = new hello{contextp};
while (!contextp->gotFinish()) { top->eval(); }
delete top;
delete contextp;
return 0;
}
|