aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2022-09-21 18:01:31 +0200
committerGitHub <noreply@github.com>2022-09-21 18:01:31 +0200
commit55801852289a17fd6e47a94a2d3333a206b9ee88 (patch)
tree8d8b7fd94570a462f3c2c92a088b90b7df0c8f77 /tests
parentb2eb331b83072ec13377c8dc701e3dcf555255c1 (diff)
parent1ecf6aee9b331efebeca1bd95a3d5125abf8da50 (diff)
downloadyosys-55801852289a17fd6e47a94a2d3333a206b9ee88.tar.gz
yosys-55801852289a17fd6e47a94a2d3333a206b9ee88.tar.bz2
yosys-55801852289a17fd6e47a94a2d3333a206b9ee88.zip
Merge pull request #3488 from YosysHQ/micko/test_fix
Test fixes for latest iverilog
Diffstat (limited to 'tests')
-rw-r--r--tests/simple/memory.v14
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/simple/memory.v b/tests/simple/memory.v
index f38bdafd3..b478d9409 100644
--- a/tests/simple/memory.v
+++ b/tests/simple/memory.v
@@ -137,8 +137,13 @@ endmodule
// ----------------------------------------------------------
-module memtest06_sync(input clk, input rst, input [2:0] idx, input [7:0] din, output [7:0] dout);
+module memtest06_sync(clk, rst, idx, din, dout);
+ input clk;
+ input rst;
(* gentb_constant=0 *) wire rst;
+ input [2:0] idx;
+ input [7:0] din;
+ output [7:0] dout;
reg [7:0] test [0:7];
integer i;
always @(posedge clk) begin
@@ -156,8 +161,13 @@ module memtest06_sync(input clk, input rst, input [2:0] idx, input [7:0] din, ou
assign dout = test[idx];
endmodule
-module memtest06_async(input clk, input rst, input [2:0] idx, input [7:0] din, output [7:0] dout);
+module memtest06_async(clk, rst, idx, din, dout);
+ input clk;
+ input rst;
(* gentb_constant=0 *) wire rst;
+ input [2:0] idx;
+ input [7:0] din;
+ output [7:0] dout;
reg [7:0] test [0:7];
integer i;
always @(posedge clk or posedge rst) begin