mirror of
https://github.com/YosysHQ/yosys
synced 2026-02-16 22:01:46 +00:00
add POLARITY parameter to $priority cell
This commit is contained in:
parent
e166dd4475
commit
7e664834b3
8 changed files with 38 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