aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/archdefs.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-16 09:48:40 +0000
committerGitHub <noreply@github.com>2021-02-16 09:48:40 +0000
commit815b57b9e1f0c0a7176d146a29cef763bebf343f (patch)
treeffadcd3a1026e94937f082ddf4ab59f56099ca39 /fpga_interchange/archdefs.h
parent9fc02041fe7bdcbac99e54f30423b2c39b92bb8a (diff)
parent1be70320b991f0f9d3f834a2aa4378a30509ef79 (diff)
downloadnextpnr-815b57b9e1f0c0a7176d146a29cef763bebf343f.tar.gz
nextpnr-815b57b9e1f0c0a7176d146a29cef763bebf343f.tar.bz2
nextpnr-815b57b9e1f0c0a7176d146a29cef763bebf343f.zip
Merge pull request #583 from litghost/add_fpga_interchange_front_and_backend
Add FPGA interchange front and backend
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