aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-08-07 10:40:25 +0100
committerGitHub <noreply@github.com>2019-08-07 10:40:25 +0100
commiteaef3b600e2e8c4633db25edd4ad017b59a1cc79 (patch)
tree66a6e88614d99dfdf8c15ac3a1d1a13339784f9c /ice40/arch.cc
parent1ecf271cb32f9f78ea082788c6534f2523144d01 (diff)
parent8eef6ac55e48aa181d1e268fcec004a58f9d8db4 (diff)
downloadnextpnr-eaef3b600e2e8c4633db25edd4ad017b59a1cc79.tar.gz
nextpnr-eaef3b600e2e8c4633db25edd4ad017b59a1cc79.tar.bz2
nextpnr-eaef3b600e2e8c4633db25edd4ad017b59a1cc79.zip
Merge pull request #306 from YosysHQ/dave/jsonfix
Major improvements to constants/Property
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 0b1d280c..cc50cb68 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -689,7 +689,7 @@ bool Arch::place()
tocfg.cellTypes.insert(id_ICESTORM_LC);
retVal = timing_opt(getCtx(), tocfg);
}
- getCtx()->settings[getCtx()->id("place")] = "1";
+ getCtx()->settings[getCtx()->id("place")] = 1;
archInfoToAttributes();
return retVal;
}
@@ -697,7 +697,7 @@ bool Arch::place()
bool Arch::route()
{
bool retVal = router1(getCtx(), Router1Cfg(getCtx()));
- getCtx()->settings[getCtx()->id("route")] = "1";
+ getCtx()->settings[getCtx()->id("route")] = 1;
archInfoToAttributes();
return retVal;
}