mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #1571 from YosysHQ/eddie/fix_1570
mem_arst.v: do not redeclare ANSI port
This commit is contained in:
commit
d675f22f4e
|
@ -7,11 +7,9 @@ module MyMem #(
|
||||||
input Clk_i,
|
input Clk_i,
|
||||||
input [AddrWidth-1:0] Addr_i,
|
input [AddrWidth-1:0] Addr_i,
|
||||||
input [DataWidth-1:0] Data_i,
|
input [DataWidth-1:0] Data_i,
|
||||||
output [DataWidth-1:0] Data_o,
|
output reg [DataWidth-1:0] Data_o,
|
||||||
input WR_i);
|
input WR_i);
|
||||||
|
|
||||||
reg [DataWidth-1:0] Data_o;
|
|
||||||
|
|
||||||
localparam Size = 2**AddrWidth;
|
localparam Size = 2**AddrWidth;
|
||||||
|
|
||||||
(* mem2reg *)
|
(* mem2reg *)
|
||||||
|
|
Loading…
Reference in New Issue