mirror of https://github.com/YosysHQ/yosys.git
Add consteval support for $_ANDNOT_ and $_ORNOT_
This commit is contained in:
parent
df3e6e1ec9
commit
bce0bb6e43
|
@ -322,6 +322,10 @@ struct CellTypes
|
|||
return const_xor(arg1, arg2, false, false, 1);
|
||||
if (type == "$_XNOR_")
|
||||
return const_xnor(arg1, arg2, false, false, 1);
|
||||
if (type == "$_ANDNOT_")
|
||||
return const_and(arg1, eval_not(arg2), false, false, 1);
|
||||
if (type == "$_ORNOT_")
|
||||
return const_or(arg1, eval_not(arg2), false, false, 1);
|
||||
|
||||
log_abort();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue