mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 19:51:23 +00:00
Minor fixes in ice40_ff* passes for sloppy SB_DFF instantiations
This commit is contained in:
parent
9a101dc1f7
commit
21659847a7
2 changed files with 24 additions and 13 deletions
|
@ -81,7 +81,12 @@ struct Ice40FfssrPass : public Pass {
|
|||
|
||||
for (auto cell : ff_cells)
|
||||
{
|
||||
SigBit bit_d = sigmap(cell->getPort("\\D"));
|
||||
SigSpec sig_d = cell->getPort("\\D");
|
||||
|
||||
if (GetSize(sig_d) < 1)
|
||||
continue;
|
||||
|
||||
SigBit bit_d = sigmap(sig_d[0]);
|
||||
|
||||
if (sr_muxes.count(bit_d) == 0)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue