Identifying clock signals #3483
-
Thanks, @nakengelhardt for the answer to #3477. I'm still struggling with the basics today, though, for that same example. I'm not sure how to communicate to Yosys which signal is the clock. Without a ridiculous string of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can also take a look at We don't have an equivalence checking tool yet that is user-facing in the sense of really usable for checking entire designs, but we're working on it - we hope to have it ready for release by Q2 2023. |
Beta Was this translation helpful? Give feedback.
sat
doesn't detect any clock signals, it just converts any FF-type cells into state for the sat solver regardless of what's on the clock port. So the clock would be flat, but unless you use the clock signal as something other than the clock input to an FF cell (which isn't recommended design practice anyway) this is only cosmetic. (SBY will in fact "fake" the clock signal after the fact when generating the VCD from the solver witness.)Somewhat relatedly, it's recommended to run either
async2sync
(for a single clock) orclk2fflogic
(for multiclock designs) beforesat
to set things up to be converted to smt in a way that makes sense. In the multiclock case, the clock signals are also not f…