3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-08 18:31:51 +00:00

yosys-witness: Don't treat aiw x-bits as don't change

While treating initialization only bits as don't change during later
cycles is correct, actual x-bits should be kept as x-bits.
This commit is contained in:
Jannis Harder 2023-06-09 15:21:22 +02:00
parent 52c8c28d2c
commit dcc4d6e90b

View file

@ -194,7 +194,7 @@ def aiw2yw(input, mapfile, output):
values = WitnessValues()
for i, v in enumerate(inline):
if v == "x" or outyw.t > 0 and i in aiger_map.init_inputs:
if outyw.t > 0 and i in aiger_map.init_inputs:
continue
try: