Time bounding opt/abc optimization #3799
-
Hi there! I am somewhat novice in Yosys/ABC, and the circuit I'm optimizing takes ~2h to finish when running Similarly, I'm wondering if there is a way to time-bound |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We don't have any time-based limits because it would lead to non-deterministic outcomes, which is undesirable in many cases. |
Beta Was this translation helpful? Give feedback.
We don't have any time-based limits because it would lead to non-deterministic outcomes, which is undesirable in many cases.
abc
andopt
have-fast
options, but if you don't want to use these universally, I'm afraid you'd have to go mess with the code. Foropt
it shouldn't be too hard to add a condition in the while loop, but for abc since that runs in an external program you'd have to see if there's any way to get the (famously inscrutable) abc code to do what you want...