projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc541b4
)
Fixed typo in frontends/ast/simplify.cc
author
Clifford Wolf
<clifford@clifford.at>
Sun, 12 Jan 2014 20:04:42 +0000
(21:04 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 12 Jan 2014 20:04:42 +0000
(21:04 +0100)
frontends/ast/simplify.cc
patch
|
blob
|
history
diff --git
a/frontends/ast/simplify.cc
b/frontends/ast/simplify.cc
index 9b8ed76038e1e16ab057819fae19b31479000c4b..bc5dec7b982c5ee57ab6a2a2ea63c030f47dad79 100644
(file)
--- a/
frontends/ast/simplify.cc
+++ b/
frontends/ast/simplify.cc
@@
-1065,7
+1065,7
@@
skip_dynamic_range_lvalue_expansion:;
{
AstNode *buf = children[0]->clone();
while (buf->simplify(true, false, false, stage, width_hint, sign_hint)) { }
- if (
!buf->type =
= AST_CONSTANT)
+ if (
buf->type !
= AST_CONSTANT)
log_error("Failed to evaluate system function `%s' with non-constant value at %s:%d.\n", str.c_str(), filename.c_str(), linenum);
RTLIL::Const arg_value = buf->bitsAsConst();