diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-11-18 10:01:30 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2017-11-18 10:01:30 +0100 |
commit | 5b6e52118c09bb5967efc2bc2ebe53b9608bad89 (patch) | |
tree | 53c2f27ccaa5cfaeb6f07bf61a1a49ff22e58f3b /frontends | |
parent | a4195e83c74bb4d69be181077923d2cb94bfcfc6 (diff) | |
download | yosys-5b6e52118c09bb5967efc2bc2ebe53b9608bad89.tar.gz yosys-5b6e52118c09bb5967efc2bc2ebe53b9608bad89.tar.bz2 yosys-5b6e52118c09bb5967efc2bc2ebe53b9608bad89.zip |
Accept real-valued delay values
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/verilog/verilog_parser.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/verilog/verilog_parser.y b/frontends/verilog/verilog_parser.y index ec92f6628..3b9134797 100644 --- 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; }; |