aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-25 15:39:46 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-25 15:39:46 +0200
commit6d154cfa1300cf88c1556657b37f7fbcc8da8d6a (patch)
tree65715433416752fa6081689c6a319c63d8eed639 /common/nextpnr.h
parent8d9444b6f0df174fcbf0b9a619ce7793ae5adc02 (diff)
downloadnextpnr-6d154cfa1300cf88c1556657b37f7fbcc8da8d6a.tar.gz
nextpnr-6d154cfa1300cf88c1556657b37f7fbcc8da8d6a.tar.bz2
nextpnr-6d154cfa1300cf88c1556657b37f7fbcc8da8d6a.zip
ice40: Creating a carry chain splitter function
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r--common/nextpnr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h
index df9d7e3e..71a52758 100644
--- a/common/nextpnr.h
+++ b/common/nextpnr.h
@@ -207,13 +207,13 @@ struct BaseCtx
IdString::initialize_add(this, "", 0);
IdString::initialize_arch(this);
}
-
+
~BaseCtx()
{
- for(auto &item : nets) {
+ for (auto &item : nets) {
delete item.second;
}
- for(auto &item : cells) {
+ for (auto &item : cells) {
delete item.second;
}
delete idstring_str_to_idx;