moosic-yosys-plugin icon indicating copy to clipboard operation
moosic-yosys-plugin copied to clipboard

Avoiding slowdown of the circuit

Open thesourcerer8 opened this issue 1 year ago • 1 comments

This sounds a lot like you are adding a lot of delay into your design. It might make sense to calculate the critical path through the circuit first, and then apply this method only on all other pathes? (And only to apply as long as the modified pathes don't become the new critical path)

thesourcerer8 avatar Apr 24 '24 19:04 thesourcerer8

You can (kind of) do this with the ll_explore command already, using -delay as an objective and picking a solution with zero additional delay. It's not yet possible from the logic_locking command, so I'm keeping this open until maybe I add it.

Note that the delay measure used is just the number of gates on the longest path: as far as I know there is not yet any timing analysis in Yosys.

Coloquinte avatar Apr 25 '24 08:04 Coloquinte