aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hana/test_intermout_always_ff_5_test.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hana/test_intermout_always_ff_5_test.v')
-rw-r--r--tests/hana/test_intermout_always_ff_5_test.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/hana/test_intermout_always_ff_5_test.v b/tests/hana/test_intermout_always_ff_5_test.v
new file mode 100644
index 000000000..669b2a5f9
--- /dev/null
+++ b/tests/hana/test_intermout_always_ff_5_test.v
@@ -0,0 +1,13 @@
+module FlipFlop(clock, cs, ns);
+input clock;
+input [3:0] cs;
+output reg [3:0] ns;
+reg [3:0] temp;
+
+always @(posedge clock)
+begin
+ temp = cs;
+ ns = temp;
+end
+
+endmodule