aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2020-01-04 19:00:44 +0100
committerMiodrag Milanovic <mmicko@gmail.com>2020-01-04 19:00:44 +0100
commitc5d28f5d6b20a42e6f3a4b1a4e3be341a352e5e3 (patch)
tree3a0b217cf7d87df77b5e895b989136546ba930b6 /techlibs
parentf8d5920a7e61f78873b7bf49dd7e8f3a83f7adf3 (diff)
downloadyosys-c5d28f5d6b20a42e6f3a4b1a4e3be341a352e5e3.tar.gz
yosys-c5d28f5d6b20a42e6f3a4b1a4e3be341a352e5e3.tar.bz2
yosys-c5d28f5d6b20a42e6f3a4b1a4e3be341a352e5e3.zip
Valid to have attribute starting with SB_CARRY.
Diffstat (limited to 'techlibs')
-rw-r--r--techlibs/ice40/ice40_opt.cc2
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);