mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #730 from smunaut/ffssr_dont_touch
ice40: Honor the "dont_touch" attribute in FFSSR pass
This commit is contained in:
commit
ceffa66dbd
|
@ -81,6 +81,9 @@ struct Ice40FfssrPass : public Pass {
|
||||||
|
|
||||||
for (auto cell : ff_cells)
|
for (auto cell : ff_cells)
|
||||||
{
|
{
|
||||||
|
if (cell->get_bool_attribute("\\dont_touch"))
|
||||||
|
continue;
|
||||||
|
|
||||||
SigSpec sig_d = cell->getPort("\\D");
|
SigSpec sig_d = cell->getPort("\\D");
|
||||||
|
|
||||||
if (GetSize(sig_d) < 1)
|
if (GetSize(sig_d) < 1)
|
||||||
|
|
Loading…
Reference in New Issue