From 77bc2f9130204e40023411c3fd13b3a3a3aa8a5b Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Tue, 23 Mar 2021 16:53:42 -0700 Subject: Add initial handling of local site inverters and constant signals. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- fpga_interchange/archdefs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fpga_interchange/archdefs.h') diff --git a/fpga_interchange/archdefs.h b/fpga_interchange/archdefs.h index 8364520d..5d1233b2 100644 --- a/fpga_interchange/archdefs.h +++ b/fpga_interchange/archdefs.h @@ -113,6 +113,7 @@ struct ArchCellInfo int32_t cell_mapping; HashTables::HashMap> cell_bel_pins; + HashTables::HashMap> masked_cell_bel_pins; HashTables::HashSet const_ports; LutCell lut_cell; }; -- cgit v1.2.3 From 5dda3a14ffd962407217cff4bb2859bebc503b8b Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Wed, 24 Mar 2021 11:07:45 -0700 Subject: 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> --- fpga_interchange/archdefs.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'fpga_interchange/archdefs.h') 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> cell_bel_pins; HashTables::HashMap> masked_cell_bel_pins; HashTables::HashSet const_ports; -- cgit v1.2.3