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
1 changed files with 3 additions and 0 deletions

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)