projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4195e8
)
Accept real-valued delay values
author
Clifford Wolf
<clifford@clifford.at>
Sat, 18 Nov 2017 09:01:30 +0000
(10:01 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 18 Nov 2017 09:01:30 +0000
(10:01 +0100)
frontends/verilog/verilog_parser.y
patch
|
blob
|
history
diff --git
a/frontends/verilog/verilog_parser.y
b/frontends/verilog/verilog_parser.y
index ec92f66283be7f052f34fdd327804f97408e768f..3b9134797e8da5ce90fb59a75484e78ce419c3fd 100644
(file)
--- a/
frontends/verilog/verilog_parser.y
+++ b/
frontends/verilog/verilog_parser.y
@@
-359,6
+359,7
@@
package_body_stmt:
non_opt_delay:
'#' TOK_ID { delete $2; } |
'#' TOK_CONSTVAL { delete $2; } |
+ '#' TOK_REALVAL { delete $2; } |
'#' '(' expr ')' { delete $3; } |
'#' '(' expr ':' expr ':' expr ')' { delete $3; delete $5; delete $7; };