mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
start cleaning rams
This commit is contained in:
parent
370517b1e6
commit
a5bfb23b47
8 changed files with 101 additions and 27 deletions
12
techlibs/nanoxplore/rf_rams_map_u.v
Normal file
12
techlibs/nanoxplore/rf_rams_map_u.v
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
module $__NX_XRFB_64x18_ (input PORT_W_CLK, input [5:0] PORT_W_ADDR, PORT_R_ADDR, input [17:0] PORT_W_WR_DATA, input PORT_W_WR_EN, output [17:0] PORT_R_RD_DATA);
|
||||
parameter INIT = 1152'bx;
|
||||
parameter PORT_W_CLK_POL = 1'b1;
|
||||
NX_XRFB_64x18 #(.mem_ctxt(INIT), .wck_edge(~PORT_W_CLK_POL)) _TECHMAP_REPLACE_ (.WCK(PORT_W_CLK), .I(PORT_W_WR_DATA), .RA(PORT_R_ADDR), .WA(PORT_W_ADDR), .WE(PORT_W_WR_EN), .WEA(1'b1), .O(PORT_R_RD_DATA));
|
||||
endmodule
|
||||
|
||||
module $__NX_XRFB_32x36_ (input PORT_W_CLK, input [4:0] PORT_W_ADDR, PORT_R_ADDR, input [35:0] PORT_W_WR_DATA, input PORT_W_WR_EN, output [35:0] PORT_R_RD_DATA);
|
||||
parameter INIT = 1152'bx;
|
||||
parameter PORT_W_CLK_POL = 1'b1;
|
||||
NX_XRFB_32x36 #(.mem_ctxt(INIT), .wck_edge(~PORT_W_CLK_POL)) _TECHMAP_REPLACE_ (.WCK(PORT_W_CLK), .I(PORT_W_WR_DATA), .RA(PORT_R_ADDR), .WA(PORT_W_ADDR), .WE(PORT_W_WR_EN), .WEA(1'b1), .O(PORT_R_RD_DATA));
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue