mirror of
https://github.com/YosysHQ/yosys
synced 2026-04-30 23:53:46 +00:00
add POLARITY parameter to $priority cell
This commit is contained in:
parent
b72eaf5de5
commit
7f19cf8849
8 changed files with 39 additions and 17 deletions
|
|
@ -511,7 +511,7 @@ struct CellTypes
|
|||
|
||||
if (cell->type == ID($priority))
|
||||
{
|
||||
return const_priority(arg1);
|
||||
return const_priority(arg1, cell->getParam(ID::POLARITY));
|
||||
}
|
||||
|
||||
bool signed_a = cell->parameters.count(ID::A_SIGNED) > 0 && cell->parameters[ID::A_SIGNED].as_bool();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue