mirror of https://github.com/YosysHQ/yosys.git
16 lines
501 B
Verilog
16 lines
501 B
Verilog
|
// Stub to invert M10K write-enable.
|
||
|
|
||
|
module \$__MISTRAL_M10K (CLK1, A1ADDR, A1DATA, A1EN, B1ADDR, B1DATA, B1EN);
|
||
|
|
||
|
parameter CFG_ABITS = 10;
|
||
|
parameter CFG_DBITS = 10;
|
||
|
|
||
|
input CLK1;
|
||
|
input [CFG_ABITS-1:0] A1ADDR, B1ADDR;
|
||
|
input [CFG_DBITS-1:0] A1DATA;
|
||
|
input A1EN, B1EN;
|
||
|
output reg [CFG_DBITS-1:0] B1DATA;
|
||
|
|
||
|
MISTRAL_M10K #(.CFG_ABITS(CFG_ABITS), .CFG_DBITS(CFG_DBITS)) _TECHMAP_REPLACE_ (.CLK1(CLK1), .A1ADDR(A1ADDR), .A1DATA(A1DATA), .A1EN(!A1EN), .B1ADDR(B1ADDR), .B1DATA(B1DATA), .B1EN(B1EN));
|
||
|
|
||
|
endmodule
|