diff options
Diffstat (limited to 'tests/simple/macros.v')
-rw-r--r-- | tests/simple/macros.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/simple/macros.v b/tests/simple/macros.v index cda46cb48..7b4d616ea 100644 --- a/tests/simple/macros.v +++ b/tests/simple/macros.v @@ -235,3 +235,10 @@ always @* begin end endmodule + +`define SIZE 4 // comment supported in this part +module test_comment_in_macro ( din_a, dout_a ); +input [`SIZE-1:0] din_a; +output [`SIZE-1:0] dout_a; +assign dout_a = din_a | `SIZE'ha; +endmodule |