Skip to content

Commit d675f22

Browse files
authored
Merge pull request YosysHQ#1571 from YosysHQ/eddie/fix_1570
mem_arst.v: do not redeclare ANSI port
2 parents 8b2c9f4 + 23fcfd0 commit d675f22

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/simple/mem_arst.v

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ module MyMem #(
77
input Clk_i,
88
input [AddrWidth-1:0] Addr_i,
99
input [DataWidth-1:0] Data_i,
10-
output [DataWidth-1:0] Data_o,
10+
output reg [DataWidth-1:0] Data_o,
1111
input WR_i);
1212

13-
reg [DataWidth-1:0] Data_o;
14-
1513
localparam Size = 2**AddrWidth;
1614

1715
(* mem2reg *)

0 commit comments

Comments
 (0)