2024-03-11 15:25:23 +00:00
|
|
|
#include <verilated.h>
|
|
|
|
#include <verilated_vcd_c.h>
|
2024-03-13 06:09:24 +00:00
|
|
|
// #include <nvboard.h>
|
2024-03-11 15:25:23 +00:00
|
|
|
#include <VFlow.h>
|
|
|
|
|
|
|
|
const int MAX_SIM_TIME=100;
|
|
|
|
|
2024-03-13 06:09:24 +00:00
|
|
|
// void nvboard_bind_all_pins(VFLow* top);
|
2024-03-11 15:25:23 +00:00
|
|
|
|
|
|
|
int main(int argc, char **argv, char **env) {
|
|
|
|
VFlow *top = new VFlow;
|
|
|
|
|
2024-03-13 06:08:47 +00:00
|
|
|
// nvboard_init();
|
2024-03-11 15:25:23 +00:00
|
|
|
while (true) {
|
2024-03-13 06:08:47 +00:00
|
|
|
// nvboard_update();
|
2024-03-11 15:25:23 +00:00
|
|
|
top->eval();
|
|
|
|
}
|
|
|
|
delete top;
|
|
|
|
}
|