mirror of https://github.com/YosysHQ/yosys.git
do not leave NX_RAM empty to prevent removing it
This commit is contained in:
parent
4cb8e62626
commit
606439b44c
|
@ -29,4 +29,16 @@ input [12:0] PORT_B_ADDR;
|
|||
input [PORT_B_WIDTH-1:0] PORT_B_WR_DATA;
|
||||
output [PORT_B_WIDTH-1:0] PORT_B_RD_DATA;
|
||||
|
||||
NX_RAM_WRAP #(
|
||||
) _TECHMAP_REPLACE_ (
|
||||
.ACK(PORT_A_CLK),
|
||||
.AA(PORT_A_ADDR),
|
||||
.AI(PORT_A_WR_DATA),
|
||||
.AO(PORT_A_RD_DATA),
|
||||
|
||||
.BCK(PORT_B_CLK),
|
||||
.BA(PORT_B_ADDR),
|
||||
.BI(PORT_B_WR_DATA),
|
||||
.BO(PORT_B_RD_DATA)
|
||||
);
|
||||
endmodule
|
|
@ -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*");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue