projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28fba90
)
Fix handling of expression width in $past, fixes #810
author
Clifford Wolf
<clifford@clifford.at>
Thu, 21 Feb 2019 16:55:33 +0000
(17:55 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Thu, 21 Feb 2019 16:55:33 +0000
(17:55 +0100)
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 83714f897390177f93a7dd68d3b68011c2be8e21..6ae62ead80035b8de83697ffdef35633ea3c43bb 100644
(file)
--- a/
frontends/ast/simplify.cc
+++ b/
frontends/ast/simplify.cc
@@
-1778,7
+1778,7
@@
skip_dynamic_range_lvalue_expansion:;
if (str == "\\$past")
{
- if (width_hint <
=
0)
+ if (width_hint < 0)
goto replace_fcall_later;
int num_steps = 1;