3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-07 19:51:23 +00:00

do not leave NX_RAM empty to prevent removing it

This commit is contained in:
Miodrag Milanovic 2024-04-24 11:28:03 +02:00
parent 4cb8e62626
commit 606439b44c
2 changed files with 13 additions and 0 deletions

View file

@ -264,6 +264,7 @@ struct SynthNanoXplorePass : public ScriptPass
args += " [-no-auto-block] [-no-auto-distributed]";
run("memory_libmap -lib +/nanoxplore/rf_rams"+ postfix + ".txt -lib +/nanoxplore/brams.txt" + args, "(-no-auto-block if -nobram, -no-auto-distributed if -norfram)");
run("techmap -map +/nanoxplore/rf_rams_map"+ postfix + ".v -map +/nanoxplore/brams_map.v");
run("techmap -map +/nanoxplore/cells_wrap.v t:NX_RAM*");
run("techmap -map +/nanoxplore/cells_wrap" + postfix + ".v t:NX_XRFB* t:NX_RFB*");
}