summaryrefslogtreecommitdiff
path: root/tests/asicworld/code_tidbits_reg_combo_example.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/asicworld/code_tidbits_reg_combo_example.v')
-rw-r--r--tests/asicworld/code_tidbits_reg_combo_example.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/asicworld/code_tidbits_reg_combo_example.v b/tests/asicworld/code_tidbits_reg_combo_example.v
new file mode 100644
index 00000000..9689788c
--- /dev/null
+++ b/tests/asicworld/code_tidbits_reg_combo_example.v
@@ -0,0 +1,13 @@
+module reg_combo_example( a, b, y);
+input a, b;
+output y;
+
+reg y;
+wire a, b;
+
+always @ ( a or b)
+begin
+ y = a & b;
+end
+
+endmodule