aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-06-07 16:11:11 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-06-07 16:11:11 +0200
commitd9b0bac248a12466cd2b62d02ec11b2e60d25019 (patch)
tree2ab86f7b951134cda53cf24d31c3007a0c218d25 /common
parentef1a5fa60653a89fe008288aa4da00c481db2c46 (diff)
downloadnextpnr-d9b0bac248a12466cd2b62d02ec11b2e60d25019.tar.gz
nextpnr-d9b0bac248a12466cd2b62d02ec11b2e60d25019.tar.bz2
nextpnr-d9b0bac248a12466cd2b62d02ec11b2e60d25019.zip
Save top level attrs and store current step
Diffstat (limited to 'common')
-rw-r--r--common/nextpnr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h
index 8e47dcda..3b17920d 100644
--- a/common/nextpnr.h
+++ b/common/nextpnr.h
@@ -550,6 +550,9 @@ struct BaseCtx
// Floorplanning regions
std::unordered_map<IdString, std::unique_ptr<Region>> region;
+ // Context meta data
+ std::unordered_map<IdString, Property> attrs;
+
BaseCtx()
{
idstring_str_to_idx = new std::unordered_map<std::string, int>;