3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 09:55:20 +00:00

Merge pull request #730 from smunaut/ffssr_dont_touch

ice40: Honor the "dont_touch" attribute in FFSSR pass
This commit is contained in:
Clifford Wolf 2018-12-16 15:50:42 +01:00 committed by GitHub
commit ceffa66dbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)