1
0
mirror of https://github.com/olofk/serv.git synced 2026-02-27 00:39:48 +00:00

Disable GPIO output in verilator

This commit is contained in:
Olof Kindgren
2018-11-18 21:40:51 +01:00
parent 7666ac4092
commit 2062d084bf

View File

@@ -48,10 +48,10 @@ int main(int argc, char **argv, char **env)
while (!(done || Verilated::gotFinish())) {
top->eval();
tfp->dump(main_time);
if (q != top->q) {
/*if (q != top->q) {
q = top->q;
printf("%lu output is %s\n", main_time, q ? "ON" : "OFF");
}
}*/
top->wb_clk = !top->wb_clk;
main_time+=31.25;
}