aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/archdefs.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-19 17:35:29 -0700
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-19 21:36:06 -0700
commit2cd5bacca006fa8f957f1a230811b65a70655860 (patch)
treeddc3ecc5a9e1c96f858356136cca199f2669babf /fpga_interchange/archdefs.h
parentf52b5229642cdb54d61b54f5ab9a7478a119298e (diff)
downloadnextpnr-2cd5bacca006fa8f957f1a230811b65a70655860.tar.gz
nextpnr-2cd5bacca006fa8f957f1a230811b65a70655860.tar.bz2
nextpnr-2cd5bacca006fa8f957f1a230811b65a70655860.zip
Refactor header structures in FPGA interchange Arch.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/archdefs.h')
-rw-r--r--fpga_interchange/archdefs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fpga_interchange/archdefs.h b/fpga_interchange/archdefs.h
index c9c0bc4f..d20c5ea4 100644
--- a/fpga_interchange/archdefs.h
+++ b/fpga_interchange/archdefs.h
@@ -24,6 +24,7 @@
#include <boost/functional/hash.hpp>
#include <cstdint>
+#include "hash_table.h"
#include "luts.h"
#include "nextpnr_namespaces.h"
@@ -108,8 +109,8 @@ struct ArchCellInfo
ArchCellInfo() : cell_mapping(-1) {}
int32_t cell_mapping;
- std::unordered_map<IdString, std::vector<IdString>> cell_bel_pins;
- std::unordered_set<IdString> const_ports;
+ HashTables::HashMap<IdString, std::vector<IdString>> cell_bel_pins;
+ HashTables::HashSet<IdString> const_ports;
LutCell lut_cell;
};