3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 14:13:23 +00:00

smt2 backend produces verilog testbench which errors out with Verilator; genclock is defined twice. This patch removes the redefinition of genclock.

This commit is contained in:
trayres 2025-05-14 10:05:07 -07:00
parent e3ae7b1400
commit 62b29b0b75

View file

@ -1161,7 +1161,6 @@ def write_vlogtb_trace(steps, index):
print(" initial genclock = 1;", file=f)
print("`endif", file=f)
print(" reg genclock = 1;", file=f)
print(" reg [31:0] cycle = 0;", file=f)
primary_inputs = list()