diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-07 16:11:11 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-07 16:11:11 +0200 |
commit | d9b0bac248a12466cd2b62d02ec11b2e60d25019 (patch) | |
tree | 2ab86f7b951134cda53cf24d31c3007a0c218d25 /ice40/arch.cc | |
parent | ef1a5fa60653a89fe008288aa4da00c481db2c46 (diff) | |
download | nextpnr-d9b0bac248a12466cd2b62d02ec11b2e60d25019.tar.gz nextpnr-d9b0bac248a12466cd2b62d02ec11b2e60d25019.tar.bz2 nextpnr-d9b0bac248a12466cd2b62d02ec11b2e60d25019.zip |
Save top level attrs and store current step
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r-- | ice40/arch.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc index b7207ca9..4945f5b3 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -689,12 +689,14 @@ bool Arch::place() tocfg.cellTypes.insert(id_ICESTORM_LC); retVal = timing_opt(getCtx(), tocfg); } + getCtx()->attrs[getCtx()->id("step")] = "place"; archInfoToAttributes(); return retVal; } bool Arch::route() { bool retVal = router1(getCtx(), Router1Cfg(getCtx())); + getCtx()->attrs[getCtx()->id("step")] = "route"; archInfoToAttributes(); return retVal; } |