diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-04-05 09:45:14 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-04-05 09:45:14 +0200 |
commit | 706631225e9ef0d2954c4bef51aaa2817e0f5e86 (patch) | |
tree | 41ed96a4f75f44b6b7e0502c00c7b8a3275926b7 /kernel/rtlil.cc | |
parent | c52a4cdeede6904f9b0d91a61a3fbeaade71a46a (diff) | |
download | yosys-706631225e9ef0d2954c4bef51aaa2817e0f5e86.tar.gz yosys-706631225e9ef0d2954c4bef51aaa2817e0f5e86.tar.bz2 yosys-706631225e9ef0d2954c4bef51aaa2817e0f5e86.zip |
Added $_MUX4_, $_MUX8_, and $_MUX16_ cell types
Diffstat (limited to 'kernel/rtlil.cc')
-rw-r--r-- | kernel/rtlil.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index adf89a245..6de5846f9 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; } |