aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-04 14:07:28 +0100
committergatecat <gatecat@ds0.me>2021-05-07 10:28:56 +0100
commit9b3fb00908739ebd8a6684e68110a35e888b62ef (patch)
tree7e5771921729eec474f4aaad1a7943aa9fa4bf18 /fpga_interchange/arch.h
parentb8c8200683e9560f8878d91b93b858eca74d9e15 (diff)
downloadnextpnr-9b3fb00908739ebd8a6684e68110a35e888b62ef.tar.gz
nextpnr-9b3fb00908739ebd8a6684e68110a35e888b62ef.tar.bz2
nextpnr-9b3fb00908739ebd8a6684e68110a35e888b62ef.zip
interchange: Initial global routing implementation
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'fpga_interchange/arch.h')
-rw-r--r--fpga_interchange/arch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fpga_interchange/arch.h b/fpga_interchange/arch.h
index c7d2544f..4dc64b05 100644
--- a/fpga_interchange/arch.h
+++ b/fpga_interchange/arch.h
@@ -533,6 +533,8 @@ struct Arch : ArchAPI<ArchRanges>
return range;
}
+ WireCategory get_wire_category(WireId wire) const;
+
// -------------------------------------------------
PipId getPipByName(IdStringList name) const final;
@@ -686,6 +688,10 @@ struct Arch : ArchAPI<ArchRanges>
std::unordered_set<CellInfo *> *placed_cells);
void pack_ports();
void decode_lut_cells();
+
+ const GlobalCellPOD *global_cell_info(IdString cell_type) const;
+ void route_globals();
+
bool pack() final;
bool place() final;
bool route() final;