diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-12-16 15:50:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-16 15:50:42 +0100 |
commit | ceffa66dbd70609184b8e0e82b61442f020811bf (patch) | |
tree | aab050248b62adde213e001e7d9e34c4fc7f4878 /techlibs | |
parent | f481ad4d448611467a43b1a2f55980914cc1a701 (diff) | |
parent | add6ab9b2a8d94bee0e7949a4524cc673ec336b1 (diff) | |
download | yosys-ceffa66dbd70609184b8e0e82b61442f020811bf.tar.gz yosys-ceffa66dbd70609184b8e0e82b61442f020811bf.tar.bz2 yosys-ceffa66dbd70609184b8e0e82b61442f020811bf.zip |
Merge pull request #730 from smunaut/ffssr_dont_touch
ice40: Honor the "dont_touch" attribute in FFSSR pass
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/ice40/ice40_ffssr.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/techlibs/ice40/ice40_ffssr.cc b/techlibs/ice40/ice40_ffssr.cc index 668df09dd..a7649d7a0 100644 --- a/techlibs/ice40/ice40_ffssr.cc +++ b/techlibs/ice40/ice40_ffssr.cc @@ -81,6 +81,9 @@ struct Ice40FfssrPass : public Pass { for (auto cell : ff_cells) { + if (cell->get_bool_attribute("\\dont_touch")) + continue; + SigSpec sig_d = cell->getPort("\\D"); if (GetSize(sig_d) < 1) |