projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3de38d
)
Fix handling of $past 2nd argument in read_verilog
author
Clifford Wolf
<clifford@clifford.at>
Sun, 30 Sep 2018 16:43:35 +0000
(18:43 +0200)
committer
Jim Lawson
<ucbjrl@berkeley.edu>
Mon, 8 Oct 2018 18:38:10 +0000
(11:38 -0700)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/ast/simplify.cc
patch
|
blob
|
history
diff --git
a/frontends/ast/simplify.cc
b/frontends/ast/simplify.cc
index 04c429f7fa8dacd58eded038723800bf72ca7398..aa3b982d81b3985f883b12f6da31ba17b1291e15 100644
(file)
--- a/
frontends/ast/simplify.cc
+++ b/
frontends/ast/simplify.cc
@@
-1781,7
+1781,7
@@
skip_dynamic_range_lvalue_expansion:;
if (GetSize(children) == 2)
{
AstNode *buf = children[1]->clone();
- while (buf->simplify(true, false, false, stage,
width_hint, sign_hint
, false)) { }
+ while (buf->simplify(true, false, false, stage,
-1, false
, false)) { }
if (buf->type != AST_CONSTANT)
log_file_error(filename, linenum, "Failed to evaluate system function `%s' with non-constant value.\n", str.c_str());