aboutsummaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorClaire Xenia Wolf <claire@yosyshq.com>2022-05-04 08:10:18 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2022-05-04 08:10:18 +0200
commit3fb32540ea3febc43fce25abcd04f42e7e1ec234 (patch)
tree892059b23564b367f1bfdfba96caf48e163eb0b9 /backends
parent11e75bc27ceacb909c31fc201110f78ee995f979 (diff)
downloadyosys-3fb32540ea3febc43fce25abcd04f42e7e1ec234.tar.gz
yosys-3fb32540ea3febc43fce25abcd04f42e7e1ec234.tar.bz2
yosys-3fb32540ea3febc43fce25abcd04f42e7e1ec234.zip
Add propagated clock signals into btor info file
Diffstat (limited to 'backends')
-rw-r--r--backends/btor/btor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/btor/btor.cc b/backends/btor/btor.cc
index 73e88c049..7de5deadd 100644
--- a/backends/btor/btor.cc
+++ b/backends/btor/btor.cc
@@ -1220,6 +1220,8 @@ struct BtorWorker
int this_nid = next_nid++;
btorf("%d uext %d %d %d%s\n", this_nid, sid, nid, 0, getinfo(wire).c_str());
+ if (info_clocks.count(nid))
+ info_clocks[this_nid] |= info_clocks[nid];
btorf_pop(stringf("wire %s", log_id(wire)));
continue;