diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2020-01-05 20:21:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-05 20:21:04 +0100 |
commit | 2e0da685284f20f2e5a111c644eccabc717c740f (patch) | |
tree | 3a0b217cf7d87df77b5e895b989136546ba930b6 | |
parent | f8d5920a7e61f78873b7bf49dd7e8f3a83f7adf3 (diff) | |
parent | c5d28f5d6b20a42e6f3a4b1a4e3be341a352e5e3 (diff) | |
download | yosys-2e0da685284f20f2e5a111c644eccabc717c740f.tar.gz yosys-2e0da685284f20f2e5a111c644eccabc717c740f.tar.bz2 yosys-2e0da685284f20f2e5a111c644eccabc717c740f.zip |
Merge pull request #1611 from YosysHQ/mmicko/wrapcarry_fix
Valid to have attribute starting with SB_CARRY.
-rw-r--r-- | techlibs/ice40/ice40_opt.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/techlibs/ice40/ice40_opt.cc b/techlibs/ice40/ice40_opt.cc index 371ceb623..9bee0444b 100644 --- a/techlibs/ice40/ice40_opt.cc +++ b/techlibs/ice40/ice40_opt.cc @@ -128,6 +128,8 @@ static void run_ice40_opts(Module *module) new_attr.insert(std::make_pair(a.first, a.second)); else if (a.first.in(ID(SB_LUT4.name), ID::keep, ID(module_not_derived))) continue; + else if (a.first.begins_with("\\SB_CARRY.\\")) + continue; else log_abort(); cell->attributes = std::move(new_attr); |