3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-29 20:05:52 +00:00

Make splitnetlist more efficient, no preliminary opt_clean in submod, remove $buf cells in opt_clean

This commit is contained in:
Akash Levy 2025-01-10 17:12:15 -08:00
parent a83e5f46d0
commit 941d78a6ac
3 changed files with 3 additions and 11 deletions

View file

@ -161,10 +161,6 @@ struct SplitNetlist : public ScriptPass {
log("Running splitnetlist pass\n");
log_flush();
// Add buffers for pass-through and connections to constants
// so we can find cells that can be used by submod
Pass::call(design, "bufnorm -buf");
if (debug)
run_pass("write_rtlil post_buf.rtlil");
@ -268,10 +264,6 @@ struct SplitNetlist : public ScriptPass {
// Execute the submod command
Pass::call(design, "submod");
// Remove buffers introduced by bufnorm
Pass::call(design, "techmap -D SIMLIB_NOCHECKS -map +/simlib.v t:$buf");
Pass::call(design, "clean");
log("End splitnetlist pass\n");
log_flush();
}