Simple tricks to remove topological loops when writing to BTOR? #3711
Replies: 1 comment 3 replies
-
Not sure if this is what you are encountering, but there is a known issue for code where some bits of a signal depend on other bits of the same signal, such as in this example:
Because the design is elaborated at coarse-grain level, it operates on signals as a whole rather than as individual bits, and so the statement You can use the command |
Beta Was this translation helpful? Give feedback.
-
Hi all!
I've been using the
write_btor
feature of Yosys heavily. Thank you for that, it's immensely useful!One problem I run into is that a design can't be converted to BTOR when there are topological loops. I'm still unclear on exactly when these occur, and I'm unsure how to get rid of them (or if it's possible). So I have a few questions:
proc; prep; flatten; clk2fflogic
), but if there were other passes that would magically remove these loops, that would be wonderful. If not, is there some manual way to remove topological loops? Or does it just depend on the design?Thanks again for Yosys, it rocks!
Beta Was this translation helpful? Give feedback.
All reactions