> build_npc_VSegHandler_nvboard
ysyx_22040000 李心杨 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux 15:29:05 up 2 days 14:29, 2 users, load average: 1.69, 1.94, 1.64
This commit is contained in:
parent
5dd819c241
commit
d4f0936612
1 changed files with 1 additions and 1 deletions
|
@ -15,9 +15,9 @@ int keycode = 0;
|
||||||
template <class F> void cycle(VERILATOR_TOPMODULE *top, F &&f) {
|
template <class F> void cycle(VERILATOR_TOPMODULE *top, F &&f) {
|
||||||
top->clock = 0;
|
top->clock = 0;
|
||||||
top->eval();
|
top->eval();
|
||||||
f();
|
|
||||||
top->clock = 1;
|
top->clock = 1;
|
||||||
top->eval();
|
top->eval();
|
||||||
|
f();
|
||||||
}
|
}
|
||||||
|
|
||||||
void nvboard_bind_all_pins(VERILATOR_TOPMODULE *top);
|
void nvboard_bind_all_pins(VERILATOR_TOPMODULE *top);
|
||||||
|
|
Loading…
Reference in a new issue