mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-12 10:14:43 +00:00
test_cell: Support more cell types
Still unsupported: - wide muxes (`$_MUX16_` and friends) Partially supported types have comments in `test_cell.cc`. Fix `CellTypes::eval() for `$_NMUX_`. Fix `RTLIL::Cell::fixup_parameters()` for $concat, $bwmux and $bweqx.
This commit is contained in:
parent
c08bdee42c
commit
9399c0cfd5
3 changed files with 157 additions and 13 deletions
|
@ -507,6 +507,8 @@ struct CellTypes
|
|||
{
|
||||
if (cell->type.in(ID($mux), ID($_MUX_)))
|
||||
return const_mux(arg1, arg2, arg3);
|
||||
if (cell->type == ID($_NMUX_))
|
||||
return eval_not(const_mux(arg1, arg2, arg3));
|
||||
if (cell->type == ID($bwmux))
|
||||
return const_bwmux(arg1, arg2, arg3);
|
||||
if (cell->type == ID($pmux))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue