Make SV2017 compliant courtesy of @wsnyder
authorEddie Hung <eddie@fpgeh.com>
Thu, 12 Dec 2019 15:34:07 +0000 (07:34 -0800)
committerEddie Hung <eddie@fpgeh.com>
Thu, 12 Dec 2019 15:34:07 +0000 (07:34 -0800)
tests/simple/mem_arst.v

index 9bd38fcb3f793b74553aee460d503bc0d5febb56..88d0553b996b73d04e3a119d85bf168af9af9bde 100644 (file)
@@ -7,11 +7,9 @@ module MyMem #(
   input                  Clk_i,
   input  [AddrWidth-1:0] Addr_i,
   input  [DataWidth-1:0] Data_i,
-  output [DataWidth-1:0] Data_o,
+  output reg [DataWidth-1:0] Data_o,
   input                  WR_i);
 
-  reg [DataWidth-1:0] Data_o;
-
   localparam Size = 2**AddrWidth;
 
   (* mem2reg *)