diff options
Diffstat (limited to 'ice40/arch.h')
-rw-r--r-- | ice40/arch.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ice40/arch.h b/ice40/arch.h index 29396f49..9c9a118f 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -400,10 +400,10 @@ struct Arch : BaseArch<ArchRanges> const ChipInfoPOD *chip_info; const PackageInfoPOD *package_info; - mutable std::unordered_map<IdStringList, int> bel_by_name; - mutable std::unordered_map<IdStringList, int> wire_by_name; - mutable std::unordered_map<IdStringList, int> pip_by_name; - mutable std::unordered_map<Loc, int> bel_by_loc; + mutable dict<IdStringList, int> bel_by_name; + mutable dict<IdStringList, int> wire_by_name; + mutable dict<IdStringList, int> pip_by_name; + mutable dict<Loc, int> bel_by_loc; std::vector<bool> bel_carry; std::vector<CellInfo *> bel_to_cell; @@ -414,7 +414,7 @@ struct Arch : BaseArch<ArchRanges> // fast access to X and Y IdStrings for building object names std::vector<IdString> x_ids, y_ids; // inverse of the above for name->object mapping - std::unordered_map<IdString, int> id_to_x, id_to_y; + dict<IdString, int> id_to_x, id_to_y; ArchArgs args; Arch(ArchArgs args); |