1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-28 12:57:13 +00:00

Save top level attrs and store current step

This commit is contained in:
Miodrag Milanovic
2019-06-07 16:11:11 +02:00
parent ef1a5fa606
commit d9b0bac248
9 changed files with 55 additions and 5 deletions

View File

@@ -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>;