3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-20 21:03:40 +00:00

Added $anyconst and $aconst

This commit is contained in:
Clifford Wolf 2016-07-27 15:41:22 +02:00
parent a7b0769623
commit 4056312987
7 changed files with 83 additions and 2 deletions

View file

@ -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)