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 /ecp5 | |
parent | ca7e944d7a58bc305f0efce4da757520a6a86041 (diff) | |
download | nextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.tar.gz nextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.tar.bz2 nextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.zip |
Use flags for each step
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/arch.cc | 4 | ||||
-rw-r--r-- | ecp5/pack.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index 2061bf4a..02f73ca2 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -524,7 +524,7 @@ bool Arch::place() } permute_luts(); - getCtx()->attrs[getCtx()->id("step")] = "place"; + getCtx()->settings[getCtx()->id("place")] = "1"; archInfoToAttributes(); return true; } @@ -561,7 +561,7 @@ bool Arch::route() log_info(" base %d adder %d\n", speed_grade->pip_classes[locInfo(slowest_pip)->pip_data[slowest_pip.index].timing_class].max_base_delay, speed_grade->pip_classes[locInfo(slowest_pip)->pip_data[slowest_pip.index].timing_class].max_fanout_adder); #endif - getCtx()->attrs[getCtx()->id("step")] = "route"; + getCtx()->settings[getCtx()->id("route")] = "1"; archInfoToAttributes(); return result; } diff --git a/ecp5/pack.cc b/ecp5/pack.cc index 4077bfed..9e2bc326 100644 --- a/ecp5/pack.cc +++ b/ecp5/pack.cc @@ -2429,7 +2429,7 @@ bool Arch::pack() Ecp5Packer(ctx).pack(); log_info("Checksum: 0x%08x\n", ctx->checksum()); assignArchInfo(); - ctx->attrs[ctx->id("step")] = "pack"; + ctx->settings[ctx->id("pack")] = "1"; archInfoToAttributes(); return true; } catch (log_execution_error_exception) { |