diff options
author | D. Shah <dave@ds0.me> | 2021-02-08 10:29:50 +0000 |
---|---|---|
committer | D. Shah <dave@ds0.me> | 2021-02-08 10:29:50 +0000 |
commit | efca63862c571e47cd449a6c5121ef07bf6de13f (patch) | |
tree | 46d80d301f6ed0e588a7e462712341dd47fe7201 /ecp5 | |
parent | 3e631fe2f415adeb0205eff866aaea74b8ef3ed8 (diff) | |
download | nextpnr-efca63862c571e47cd449a6c5121ef07bf6de13f.tar.gz nextpnr-efca63862c571e47cd449a6c5121ef07bf6de13f.tar.bz2 nextpnr-efca63862c571e47cd449a6c5121ef07bf6de13f.zip |
Use 'T' postfix to disambiguate LHS and RHS of using
Arches might otherwise have range types named ambigiously with the entry
in ArchRanges.
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/arch.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h index 87cf4037..439aa4a0 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -437,33 +437,33 @@ NEXTPNR_NAMESPACE_BEGIN struct ArchRanges { - using ArchArgsType = ArchArgs; + using ArchArgsT = ArchArgs; // Bels - using AllBelsRange = BelRange; - using TileBelsRange = BelRange; - using BelAttrsRange = std::vector<std::pair<IdString, std::string>>; - using BelPinsRange = std::vector<IdString>; + using AllBelsRangeT = BelRange; + using TileBelsRangeT = BelRange; + using BelAttrsRangeT = std::vector<std::pair<IdString, std::string>>; + using BelPinsRangeT = std::vector<IdString>; // Wires - using AllWiresRange = WireRange; - using DownhillPipRange = PipRange; - using UphillPipRange = PipRange; - using WireBelPinRange = BelPinRange; - using WireAttrsRange = std::vector<std::pair<IdString, std::string>>; + using AllWiresRangeT = WireRange; + using DownhillPipRangeT = PipRange; + using UphillPipRangeT = PipRange; + using WireBelPinRangeT = BelPinRange; + using WireAttrsRangeT = std::vector<std::pair<IdString, std::string>>; // Pips - using AllPipsRange = AllPipRange; - using PipAttrsRange = std::vector<std::pair<IdString, std::string>>; + using AllPipsRangeT = AllPipRange; + using PipAttrsRangeT = std::vector<std::pair<IdString, std::string>>; // Groups - using AllGroupsRange = std::vector<GroupId>; - using GroupBelsRange = std::vector<BelId>; - using GroupWiresRange = std::vector<WireId>; - using GroupPipsRange = std::vector<PipId>; - using GroupGroupsRange = std::vector<GroupId>; + using AllGroupsRangeT = std::vector<GroupId>; + using GroupBelsRangeT = std::vector<BelId>; + using GroupWiresRangeT = std::vector<WireId>; + using GroupPipsRangeT = std::vector<PipId>; + using GroupGroupsRangeT = std::vector<GroupId>; // Decals - using DecalGfxRange = std::vector<GraphicElement>; + using DecalGfxRangeT = std::vector<GraphicElement>; // Placement validity - using CellTypeRange = const std::vector<IdString> &; - using BelBucketRange = const std::vector<BelBucketId> &; - using BucketBelRange = const std::vector<BelId> &; + using CellTypeRangeT = const std::vector<IdString> &; + using BelBucketRangeT = const std::vector<BelBucketId> &; + using BucketBelRangeT = const std::vector<BelId> &; }; struct Arch : BaseArch<ArchRanges> |