mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
More fixes for bugs found using xsthammer
This commit is contained in:
parent
b1d39aa865
commit
0c6ffc4c65
5 changed files with 24 additions and 16 deletions
|
@ -128,6 +128,7 @@ struct SatGen
|
|||
if (cell->type == "$_INV_" || cell->type == "$not") {
|
||||
std::vector<int> a = importSigSpec(cell->connections.at("\\A"), timestep);
|
||||
std::vector<int> y = importSigSpec(cell->connections.at("\\Y"), timestep);
|
||||
extendSignalWidthUnary(a, y, cell);
|
||||
ez->assume(ez->vec_eq(ez->vec_not(a), y));
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue