diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-14 09:59:04 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-14 09:59:04 +0200 |
commit | 36ccc22fc93eddd9b6ed867782668b0057ec67e2 (patch) | |
tree | 39652b8a959b7248101b4ecda929e77dff174307 /generic | |
parent | ca7e944d7a58bc305f0efce4da757520a6a86041 (diff) | |
download | nextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.tar.gz nextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.tar.bz2 nextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.zip |
Use flags for each step
Diffstat (limited to 'generic')
-rw-r--r-- | generic/arch.cc | 4 | ||||
-rw-r--r-- | generic/pack.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/arch.cc b/generic/arch.cc index f6f7ff87..2db9e547 100644 --- a/generic/arch.cc +++ b/generic/arch.cc @@ -497,7 +497,7 @@ bool Arch::place() // FIXME: No HeAP because it needs a list of IO buffers if (placer == "sa") { bool retVal = placer1(getCtx(), Placer1Cfg(getCtx())); - getCtx()->attrs[getCtx()->id("step")] = "place"; + getCtx()->settings[getCtx()->id("place")] = "1"; archInfoToAttributes(); return retVal; } else { @@ -507,7 +507,7 @@ bool Arch::place() 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/generic/pack.cc b/generic/pack.cc index 0d47ea19..558eca7c 100644 --- a/generic/pack.cc +++ b/generic/pack.cc @@ -282,7 +282,7 @@ bool Arch::pack() pack_io(ctx); pack_lut_lutffs(ctx); pack_nonlut_ffs(ctx); - ctx->attrs[ctx->id("step")] = "pack"; + ctx->settings[ctx->id("pack")] = "1"; ctx->assignArchInfo(); log_info("Checksum: 0x%08x\n", ctx->checksum()); return true; |