Open donnie-j opened 1 week ago
Yosys is super chaotic, so let's hope the metrics don't catch fire across the board 😅
Yosys is super chaotic, so let's hope the metrics don't catch fire across the board 😅
Indeed. I believe this does nothing to the topology... I hope all it does is rename the top cell correctly if needed, and is otherwise a no op.
I just ran a fairly large J-Core J2 CPU+FPU macro (almost .8mm^2 in sky130 hd cells) we've been using as a test, and got a byte for byte identical verilog netlist out of the synthesis step before and after this change... so that is encouraging. Yosys 0.41, and GHDL 4.1.0 though, which is not the typical use case.
Moves the rename of top module to before selecting it. This fixes a problem with mainline OpenLane2 and e.g. DFFRAM where needed modules are optimised away and then synthesis fails:
I believe this was introduced around 2.0.0b17, during the refactoring of the synthesis script.
It needs to be run on a multiple designs to prove that the new ordering doesn't negatively affect something unexpected.