diff options
Diffstat (limited to 'tests/hana/test_parse2synthtrans_operators_1_test.v')
-rw-r--r-- | tests/hana/test_parse2synthtrans_operators_1_test.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/hana/test_parse2synthtrans_operators_1_test.v b/tests/hana/test_parse2synthtrans_operators_1_test.v new file mode 100644 index 000000000..93b5691f3 --- /dev/null +++ b/tests/hana/test_parse2synthtrans_operators_1_test.v @@ -0,0 +1,11 @@ +module test(in, out); +input in; +output out; +parameter p1 = 10; +parameter p2 = 5; + +assign out = +p1; +assign out = -p2; +assign out = p1 + p2; +assign out = p1 - p2; +endmodule |