diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-01-12 21:04:42 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-01-12 21:04:42 +0100 |
commit | a3d94bf88819ce3f0ffa161137a5549fc6d8490b (patch) | |
tree | 23b070ec58f3bf6050107fc8f2b2fb1fbadf7f41 /frontends | |
parent | bc541b47ea0ceb2556b54bd5310d11c1d77a5d3d (diff) | |
download | yosys-a3d94bf88819ce3f0ffa161137a5549fc6d8490b.tar.gz yosys-a3d94bf88819ce3f0ffa161137a5549fc6d8490b.tar.bz2 yosys-a3d94bf88819ce3f0ffa161137a5549fc6d8490b.zip |
Fixed typo in frontends/ast/simplify.cc
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/ast/simplify.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index 9b8ed7603..bc5dec7b9 100644 --- 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(); |