mirror of https://github.com/YosysHQ/yosys.git
Remove #ifndef ABC
This commit is contained in:
parent
a138381ac3
commit
8a708d1fdb
|
@ -295,10 +295,8 @@ module RAM64X1D (
|
||||||
reg [63:0] mem = INIT;
|
reg [63:0] mem = INIT;
|
||||||
assign SPO = mem[a];
|
assign SPO = mem[a];
|
||||||
assign DPO = mem[dpra];
|
assign DPO = mem[dpra];
|
||||||
`ifndef _ABC
|
|
||||||
wire clk = WCLK ^ IS_WCLK_INVERTED;
|
wire clk = WCLK ^ IS_WCLK_INVERTED;
|
||||||
always @(posedge clk) if (WE) mem[a] <= D;
|
always @(posedge clk) if (WE) mem[a] <= D;
|
||||||
`endif
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
(* abc_box_id = 5 /*, lib_whitebox*/ *)
|
(* abc_box_id = 5 /*, lib_whitebox*/ *)
|
||||||
|
@ -312,10 +310,8 @@ module RAM128X1D (
|
||||||
reg [127:0] mem = INIT;
|
reg [127:0] mem = INIT;
|
||||||
assign SPO = mem[A];
|
assign SPO = mem[A];
|
||||||
assign DPO = mem[DPRA];
|
assign DPO = mem[DPRA];
|
||||||
`ifndef _ABC
|
|
||||||
wire clk = WCLK ^ IS_WCLK_INVERTED;
|
wire clk = WCLK ^ IS_WCLK_INVERTED;
|
||||||
always @(posedge clk) if (WE) mem[A] <= D;
|
always @(posedge clk) if (WE) mem[A] <= D;
|
||||||
`endif
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SRL16E (
|
module SRL16E (
|
||||||
|
|
Loading…
Reference in New Issue