diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-07-30 12:50:39 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-07-30 12:50:39 +0200 |
commit | 21e1bac0846e01fb58ae1fd42215b92f245ae18d (patch) | |
tree | 43c1c9fff3a78d7221c6e5dfbfebe820b311afa1 /frontends/ast/simplify.cc | |
parent | 5fe13a16eaaee4ac53523b5325cb9d92b5a1150d (diff) | |
parent | da56a5bbc60e58c305227105b68654264738c241 (diff) | |
download | yosys-21e1bac0846e01fb58ae1fd42215b92f245ae18d.tar.gz yosys-21e1bac0846e01fb58ae1fd42215b92f245ae18d.tar.bz2 yosys-21e1bac0846e01fb58ae1fd42215b92f245ae18d.zip |
Merge branch 'master' of github.com:cliffordwolf/yosys
Diffstat (limited to 'frontends/ast/simplify.cc')
-rw-r--r-- | frontends/ast/simplify.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index 9f88cddc2..79dc3b7c8 100644 --- a/frontends/ast/simplify.cc +++ b/frontends/ast/simplify.cc @@ -1655,6 +1655,10 @@ skip_dynamic_range_lvalue_expansion:; goto apply_newNode; } + // $anyconst and $aconst are mapped in AstNode::genRTLIL() + if (str == "\\$anyconst" || str == "\\$aconst") + return false; + if (str == "\\$clog2") { if (children.size() != 1) |