Open Pflyg opened 1 year ago
As a workaround, you can replace abc -fast
with just abc
(which then does enough logic optimisation to realise the latch is always enabled) and then add an opt -fine
call before aigmap
(which replaces the always-enabled latch with a wire).
@gatecat Thanks for the tip, seems to work well for now
Version
0.24
On which OS did this happen?
Linux
Reproduction Steps
Expected Behavior
The above code should synthesize to valid AIGER code.
Actual Behavior
The code cannot synthesize because there are D-Latches present: