aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/archdefs.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-24 11:07:45 -0700
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-25 17:20:13 -0700
commit5dda3a14ffd962407217cff4bb2859bebc503b8b (patch)
treeb68d801ea6bc2c0180687598926e25694388ba19 /fpga_interchange/archdefs.h
parent77bc2f9130204e40023411c3fd13b3a3a3aa8a5b (diff)
downloadnextpnr-5dda3a14ffd962407217cff4bb2859bebc503b8b.tar.gz
nextpnr-5dda3a14ffd962407217cff4bb2859bebc503b8b.tar.bz2
nextpnr-5dda3a14ffd962407217cff4bb2859bebc503b8b.zip
Fixup some of the re-mapping logic.
- Add IDEMPOTENT_CHECK define to perform some expected idempotent operations more than once to verify they work as expected. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/archdefs.h')
-rw-r--r--fpga_interchange/archdefs.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fpga_interchange/archdefs.h b/fpga_interchange/archdefs.h
index 5d1233b2..23bff4f3 100644
--- a/fpga_interchange/archdefs.h
+++ b/fpga_interchange/archdefs.h
@@ -109,9 +109,7 @@ struct ArchNetInfo
struct ArchCellInfo
{
- ArchCellInfo() : cell_mapping(-1) {}
-
- int32_t cell_mapping;
+ int32_t cell_mapping = -1;
HashTables::HashMap<IdString, std::vector<IdString>> cell_bel_pins;
HashTables::HashMap<IdString, std::vector<IdString>> masked_cell_bel_pins;
HashTables::HashSet<IdString> const_ports;