diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-01-19 11:55:05 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-01-19 11:55:05 +0100 |
commit | e13a45ae61e05705d9ab6890da60737bd05eb24d (patch) | |
tree | 07fc6268083538311b2bffe59a105119e55933cd /kernel/rtlil.cc | |
parent | 3a58b8d5b5160b7f31c885d904dbdb752a1c1e62 (diff) |
Added $equiv cell type
Diffstat (limited to 'kernel/rtlil.cc')
-rw-r--r-- | kernel/rtlil.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index b35cbc3d..ec61cb52 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -905,6 +905,14 @@ namespace { return; } + if (cell->type == "$equiv") { + port("\\A", 1); + port("\\B", 1); + port("\\Y", 1); + check_expected(); + return; + } + if (cell->type == "$_BUF_") { check_gate("AY"); return; } if (cell->type == "$_NOT_") { check_gate("AY"); return; } if (cell->type == "$_AND_") { check_gate("ABY"); return; } |