aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/archdefs.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-12 16:12:16 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-15 09:54:58 -0800
commit664407089b51e1c66d91ff1ee4aa4d4148bb8f1b (patch)
tree052acc1abc92bd87748b616e29ba7c396d38cae9 /fpga_interchange/archdefs.h
parent5e11e29ba2e5927047b2dbf7d3b613dc33a9cc98 (diff)
downloadnextpnr-664407089b51e1c66d91ff1ee4aa4d4148bb8f1b.tar.gz
nextpnr-664407089b51e1c66d91ff1ee4aa4d4148bb8f1b.tar.bz2
nextpnr-664407089b51e1c66d91ff1ee4aa4d4148bb8f1b.zip
Add FPGA interchange frontend and backend.
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, 4 insertions, 0 deletions
diff --git a/fpga_interchange/archdefs.h b/fpga_interchange/archdefs.h
index d6d0a3c7..e280de55 100644
--- a/fpga_interchange/archdefs.h
+++ b/fpga_interchange/archdefs.h
@@ -123,6 +123,10 @@ struct NetInfo;
struct ArchCellInfo
{
+ ArchCellInfo() : cell_mapping(-1) {}
+
+ int32_t cell_mapping;
+ std::unordered_map<IdString, std::vector<IdString>> cell_bel_pins;
};
NEXTPNR_NAMESPACE_END