summaryrefslogtreecommitdiff
path: root/tests/simple/mem2reg.v
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-25 13:01:45 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-25 13:01:45 +0200
commit50f22ff30c921c90f686879455117c7c2c9f96d5 (patch)
tree9ee57923c22af5d0559288452ca0c02f0747f2be /tests/simple/mem2reg.v
parent0520bfea892291a131134411d587034fcd36bf1c (diff)
Renamed some of the test cases in tests/simple to avoid name collisions
Diffstat (limited to 'tests/simple/mem2reg.v')
-rw-r--r--tests/simple/mem2reg.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/simple/mem2reg.v b/tests/simple/mem2reg.v
index 3630b57c..bed5528d 100644
--- a/tests/simple/mem2reg.v
+++ b/tests/simple/mem2reg.v
@@ -1,5 +1,5 @@
-module test1(in_addr, in_data, out_addr, out_data);
+module mem2reg_test1(in_addr, in_data, out_addr, out_data);
input [1:0] in_addr, out_addr;
input [3:0] in_data;
@@ -19,7 +19,7 @@ endmodule
// ------------------------------------------------------
-module test2(clk, mode, addr, data);
+module mem2reg_test2(clk, mode, addr, data);
input clk, mode;
input [2:0] addr;
@@ -46,7 +46,7 @@ endmodule
// ------------------------------------------------------
// http://www.reddit.com/r/yosys/comments/28d9lx/problem_with_concatenation_of_two_dimensional/
-module test3( input clk, input [8:0] din_a, output reg [7:0] dout_a, output [7:0] dout_b);
+module mem2reg_test3( input clk, input [8:0] din_a, output reg [7:0] dout_a, output [7:0] dout_b);
reg [7:0] dint_c [0:7];
always @(posedge clk)
begin