summaryrefslogtreecommitdiff
path: root/kernel/rtlil.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-04-05 09:45:14 +0200
committerClifford Wolf <clifford@clifford.at>2015-04-05 09:45:14 +0200
commit706631225e9ef0d2954c4bef51aaa2817e0f5e86 (patch)
tree41ed96a4f75f44b6b7e0502c00c7b8a3275926b7 /kernel/rtlil.cc
parentc52a4cdeede6904f9b0d91a61a3fbeaade71a46a (diff)
Added $_MUX4_, $_MUX8_, and $_MUX16_ cell types
Diffstat (limited to 'kernel/rtlil.cc')
-rw-r--r--kernel/rtlil.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc
index adf89a24..6de5846f 100644
--- a/kernel/rtlil.cc
+++ b/kernel/rtlil.cc
@@ -970,6 +970,10 @@ namespace {
if (cell->type == "$_AOI4_") { check_gate("ABCDY"); return; }
if (cell->type == "$_OAI4_") { check_gate("ABCDY"); return; }
+ if (cell->type == "$_MUX4_") { check_gate("ABCDSTY"); return; }
+ if (cell->type == "$_MUX8_") { check_gate("ABCDEFGHSTUY"); return; }
+ if (cell->type == "$_MUX16_") { check_gate("ABCDEFGHIJKLMNOPSTUVY"); return; }
+
if (cell->type == "$_SR_NN_") { check_gate("SRQ"); return; }
if (cell->type == "$_SR_NP_") { check_gate("SRQ"); return; }
if (cell->type == "$_SR_PN_") { check_gate("SRQ"); return; }