mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Using $pos models for $bu0
This commit is contained in:
parent
5733f4a39d
commit
b9cb483f3e
3 changed files with 3 additions and 18 deletions
|
@ -470,7 +470,7 @@ struct SatGen
|
|||
{
|
||||
std::vector<int> undef_a = importUndefSigSpec(cell->getPort("\\A"), timestep);
|
||||
std::vector<int> undef_y = importUndefSigSpec(cell->getPort("\\Y"), timestep);
|
||||
extendSignalWidthUnary(undef_a, undef_y, cell, cell->type != "$bu0");
|
||||
extendSignalWidthUnary(undef_a, undef_y, cell);
|
||||
|
||||
if (cell->type == "$pos" || cell->type == "$bu0") {
|
||||
ez->assume(ez->vec_eq(undef_a, undef_y));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue