Rename implicit_ports.sv test to implicit_ports.v
authorClifford Wolf <clifford@clifford.at>
Fri, 7 Jun 2019 11:12:25 +0000 (13:12 +0200)
committerClifford Wolf <clifford@clifford.at>
Fri, 7 Jun 2019 11:12:25 +0000 (13:12 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
tests/simple/implicit_ports.sv [deleted file]
tests/simple/implicit_ports.v [new file with mode: 0644]

diff --git a/tests/simple/implicit_ports.sv b/tests/simple/implicit_ports.sv
deleted file mode 100644 (file)
index 8b0a6f3..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Test implicit port connections
-module alu (input [2:0] a, input [2:0] b, input cin, output cout, output [2:0] result);
-       assign cout = cin;
-       assign result = a + b;
-endmodule
-
-module named_ports(input [2:0] a, b, output [2:0] alu_result, output cout);
-       wire cin = 1;
-       alu alu (
-               .a(a),
-               .b, // Implicit connection is equivalent to .b(b)
-               .cin(), // Explicitely unconnected
-               .cout(cout),
-               .result(alu_result)
-       );
-endmodule
diff --git a/tests/simple/implicit_ports.v b/tests/simple/implicit_ports.v
new file mode 100644 (file)
index 0000000..8b0a6f3
--- /dev/null
@@ -0,0 +1,16 @@
+// Test implicit port connections
+module alu (input [2:0] a, input [2:0] b, input cin, output cout, output [2:0] result);
+       assign cout = cin;
+       assign result = a + b;
+endmodule
+
+module named_ports(input [2:0] a, b, output [2:0] alu_result, output cout);
+       wire cin = 1;
+       alu alu (
+               .a(a),
+               .b, // Implicit connection is equivalent to .b(b)
+               .cin(), // Explicitely unconnected
+               .cout(cout),
+               .result(alu_result)
+       );
+endmodule