diff options
Diffstat (limited to 'tests/asicworld/code_tidbits_reg_combo_example.v')
-rw-r--r-- | tests/asicworld/code_tidbits_reg_combo_example.v | 13 |
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 000000000..9689788c4 --- /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 |