aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hana/test_intermout_always_ff_3_test.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hana/test_intermout_always_ff_3_test.v')
-rw-r--r--tests/hana/test_intermout_always_ff_3_test.v15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/hana/test_intermout_always_ff_3_test.v b/tests/hana/test_intermout_always_ff_3_test.v
new file mode 100644
index 000000000..ed8630c37
--- /dev/null
+++ b/tests/hana/test_intermout_always_ff_3_test.v
@@ -0,0 +1,15 @@
+module NonBlockingEx(clk, merge, er, xmit, fddi, claim);
+input clk, merge, er, xmit, fddi;
+output reg claim;
+reg fcr;
+
+always @(posedge clk)
+begin
+ fcr = er | xmit;
+
+ if(merge)
+ claim = fcr & fddi;
+ else
+ claim = fddi;
+end
+endmodule