From ecc19c2c083f7e3ed7da95557731ded803d2cb1d Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 2 Jun 2021 10:01:36 +0100 Subject: Using hashlib in arches Signed-off-by: gatecat --- nexus/arch.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'nexus/arch.h') diff --git a/nexus/arch.h b/nexus/arch.h index b3558413..a669be0d 100644 --- a/nexus/arch.h +++ b/nexus/arch.h @@ -916,7 +916,7 @@ struct Arch : BaseArch // fast access to X and Y IdStrings for building object names std::vector x_ids, y_ids; // inverse of the above for name->object mapping - std::unordered_map id_to_x, id_to_y; + dict id_to_x, id_to_y; // ------------------------------------------------- @@ -1181,7 +1181,7 @@ struct Arch : BaseArch // for better DSP bounding boxes void pre_routing(); - std::unordered_set dsp_wires, lram_wires; + pool dsp_wires, lram_wires; // ------------------------------------------------- @@ -1271,9 +1271,9 @@ struct Arch : BaseArch // ------------------------------------------------- - typedef std::unordered_map CellPinsData; + typedef dict CellPinsData; - std::unordered_map cell_pins_db; + dict cell_pins_db; CellPinStyle get_cell_pin_style(const CellInfo *cell, IdString port) const; void init_cell_pin_data(); @@ -1361,7 +1361,7 @@ struct Arch : BaseArch // ------------------------------------------------- // Data about different IO standard, mostly used by bitgen - static const std::unordered_map io_types; + static const dict io_types; int get_io_type_vcc(const std::string &io_type) const; bool is_io_type_diff(const std::string &io_type) const; bool is_io_type_ref(const std::string &io_type) const; @@ -1388,7 +1388,7 @@ struct Arch : BaseArch // ------------------------------------------------- // List of IO constraints, used by PDC parser - std::unordered_map> io_attr; + dict> io_attr; void read_pdc(std::istream &in); -- cgit v1.2.3