3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-27 15:16:05 +00:00

Enable yosys sim support for clock signals in hierarchical designs

This commit is contained in:
Jannis Harder 2023-01-11 18:02:45 +01:00
parent 06c36d5bb0
commit 6398938e6a
2 changed files with 8 additions and 2 deletions

View file

@ -63,7 +63,10 @@ def sim_witness_trace(prefix, task, engine_idx, witness_file, *, append, deps=()
for assertion in summary["assertions"]:
if task.design:
prop = task.design.properties_by_path[tuple(assertion["path"])]
try:
prop = task.design.properties_by_path[tuple(assertion["path"])]
except KeyError:
prop = None
else:
prop = None