3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-24 06:43:41 +00:00

Support for BTOR witness to Yosys witness conversion

This commit is contained in:
Jannis Harder 2023-01-03 14:45:41 +01:00
parent 3e25e61778
commit 636b9f2705
5 changed files with 312 additions and 20 deletions

View file

@ -175,8 +175,9 @@ class WitnessSig:
return self.sort_key < other.sort_key
def coalesce_signals(signals):
bits = {}
def coalesce_signals(signals, bits=None):
if bits is None:
bits = {}
for sig in signals:
for bit in sig.bits():
if sig.init_only: