diff options
author | Claire Xenia Wolf <claire@yosyshq.com> | 2022-05-04 08:10:18 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2022-05-04 08:10:18 +0200 |
commit | 3fb32540ea3febc43fce25abcd04f42e7e1ec234 (patch) | |
tree | 892059b23564b367f1bfdfba96caf48e163eb0b9 | |
parent | 11e75bc27ceacb909c31fc201110f78ee995f979 (diff) | |
download | yosys-3fb32540ea3febc43fce25abcd04f42e7e1ec234.tar.gz yosys-3fb32540ea3febc43fce25abcd04f42e7e1ec234.tar.bz2 yosys-3fb32540ea3febc43fce25abcd04f42e7e1ec234.zip |
Add propagated clock signals into btor info file
-rw-r--r-- | backends/btor/btor.cc | 2 |
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; |