> sim RTL

ysyx_22040000 李心杨
Linux calcite 6.1.65 #1-NixOS SMP PREEMPT_DYNAMIC Sun Dec  3 06:32:13 UTC 2023 x86_64 GNU/Linux
 17:27:29  up  20:25,  2 users,  load average: 0.48, 0.77, 0.76
This commit is contained in:
tracer-ysyx 2023-12-23 17:27:29 +08:00 committed by xinyangli
parent 397cf4da54
commit 355bd72c8d
19 changed files with 709 additions and 12 deletions

11
npc/csrc/main.cpp Normal file
View file

@ -0,0 +1,11 @@
#include "Vexample.h"
#include "verilated.h"
int main(int argc, char **argv, char **env) {
Verilated::commandArgs(argc, argv);
Vexample *top = new Vexample;
while (!Verilated::gotFinish()) {
top->eval();
}
exit(0);
}