aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-06-14 09:59:04 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-06-14 09:59:04 +0200
commit36ccc22fc93eddd9b6ed867782668b0057ec67e2 (patch)
tree39652b8a959b7248101b4ecda929e77dff174307 /ice40/arch.cc
parentca7e944d7a58bc305f0efce4da757520a6a86041 (diff)
downloadnextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.tar.gz
nextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.tar.bz2
nextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.zip
Use flags for each step
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r--ice40/arch.cc4
1 files changed, 2 insertions, 2 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;
}