aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
Diffstat (limited to 'ice40')
-rw-r--r--ice40/arch.cc4
-rw-r--r--ice40/pack.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index 4945f5b3..a0c64bb8 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -689,14 +689,14 @@ bool Arch::place()
tocfg.cellTypes.insert(id_ICESTORM_LC);
retVal = timing_opt(getCtx(), tocfg);
}
- getCtx()->attrs[getCtx()->id("step")] = "place";
+ getCtx()->settings[getCtx()->id("place")] = "1";
archInfoToAttributes();
return retVal;
}
bool Arch::route() {
bool retVal = router1(getCtx(), Router1Cfg(getCtx()));
- getCtx()->attrs[getCtx()->id("step")] = "route";
+ getCtx()->settings[getCtx()->id("route")] = "1";
archInfoToAttributes();
return retVal;
}
diff --git a/ice40/pack.cc b/ice40/pack.cc
index ce39c903..a8f8c76e 100644
--- a/ice40/pack.cc
+++ b/ice40/pack.cc
@@ -1421,7 +1421,7 @@ bool Arch::pack()
ctx->assignArchInfo();
constrain_chains(ctx);
ctx->assignArchInfo();
- ctx->attrs[ctx->id("step")] = "pack";
+ ctx->settings[ctx->id("pack")] = "1";
archInfoToAttributes();
log_info("Checksum: 0x%08x\n", ctx->checksum());
return true;