From: Clifford Wolf Date: Tue, 22 Aug 2017 11:04:05 +0000 (+0200) Subject: Add consteval support for $_ANDNOT_ and $_ORNOT_ X-Git-Tag: yosys-0.8~338 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bce0bb6e43dbf36d451759f279b6968aada5bec8;p=yosys.git Add consteval support for $_ANDNOT_ and $_ORNOT_ --- diff --git a/kernel/celltypes.h b/kernel/celltypes.h index b8a4cc74c..9f775cde7 100644 --- a/kernel/celltypes.h +++ b/kernel/celltypes.h @@ -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(); }