Skip to content

Commit d3197fc

Browse files
authored
Merge pull request #887 from diffblue/sva_use_ID
Verilog: use `ID_` for SVA expressions in grammar
2 parents 216fea0 + e61e64c commit d3197fc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/verilog/parser.y

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2347,17 +2347,17 @@ property_expr_proper:
23472347
| sequence_expr "#=#" property_expr
23482348
{ init($$, ID_sva_nonoverlapped_followed_by); mto($$, $1); mto($$, $3); }
23492349
| "nexttime" property_expr
2350-
{ init($$, "sva_nexttime"); mto($$, $2); }
2350+
{ init($$, ID_sva_nexttime); mto($$, $2); }
23512351
| "nexttime" '[' constant_expression ']' property_expr %prec "nexttime"
2352-
{ init($$, "sva_indexed_nexttime"); mto($$, $3); mto($$, $5); }
2352+
{ init($$, ID_sva_indexed_nexttime); mto($$, $3); mto($$, $5); }
23532353
| "s_nexttime" property_expr
2354-
{ init($$, "sva_s_nexttime"); mto($$, $2); }
2354+
{ init($$, ID_sva_s_nexttime); mto($$, $2); }
23552355
| "s_nexttime" '[' constant_expression ']' property_expr %prec "s_nexttime"
2356-
{ init($$, "sva_indexed_s_nexttime"); mto($$, $3); mto($$, $5); }
2356+
{ init($$, ID_sva_indexed_s_nexttime); mto($$, $3); mto($$, $5); }
23572357
| "always" '[' cycle_delay_const_range_expression ']' property_expr %prec "always"
23582358
{ init($$, ID_sva_ranged_always); swapop($$, $3); mto($$, $5); }
23592359
| "always" property_expr
2360-
{ init($$, "sva_always"); mto($$, $2); }
2360+
{ init($$, ID_sva_always); mto($$, $2); }
23612361
| "s_always" '[' constant_range ']' property_expr %prec "s_always"
23622362
{ init($$, ID_sva_s_always); swapop($$, $3); mto($$, $5); }
23632363
| "s_eventually" property_expr
@@ -2367,13 +2367,13 @@ property_expr_proper:
23672367
| "s_eventually" '[' cycle_delay_const_range_expression ']' property_expr %prec "s_eventually"
23682368
{ init($$, ID_sva_ranged_s_eventually); swapop($$, $3); mto($$, $5); }
23692369
| property_expr "until" property_expr
2370-
{ init($$, "sva_until"); mto($$, $1); mto($$, $3); }
2370+
{ init($$, ID_sva_until); mto($$, $1); mto($$, $3); }
23712371
| property_expr "s_until" property_expr
2372-
{ init($$, "sva_s_until"); mto($$, $1); mto($$, $3); }
2372+
{ init($$, ID_sva_s_until); mto($$, $1); mto($$, $3); }
23732373
| property_expr "until_with" property_expr
2374-
{ init($$, "sva_until_with"); mto($$, $1); mto($$, $3); }
2374+
{ init($$, ID_sva_until_with); mto($$, $1); mto($$, $3); }
23752375
| property_expr "s_until_with" property_expr
2376-
{ init($$, "sva_s_until_with"); mto($$, $1); mto($$, $3); }
2376+
{ init($$, ID_sva_s_until_with); mto($$, $1); mto($$, $3); }
23772377
| property_expr "implies" property_expr
23782378
{ init($$, ID_sva_implies); mto($$, $1); mto($$, $3); }
23792379
| property_expr "iff" property_expr

0 commit comments

Comments
 (0)