From e5bfff6e9fbbbc743c504365ab41e4112aefb6d6 Mon Sep 17 00:00:00 2001 From: gatecat Date: Fri, 4 Feb 2022 20:49:32 +0000 Subject: viaduct: Allow constraining only cascades without fanout Signed-off-by: gatecat --- generic/viaduct_helpers.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'generic/viaduct_helpers.h') diff --git a/generic/viaduct_helpers.h b/generic/viaduct_helpers.h index 8cba8411..cac22304 100644 --- a/generic/viaduct_helpers.h +++ b/generic/viaduct_helpers.h @@ -70,7 +70,8 @@ struct ViaductHelpers // expects a set of top-level port types void remove_nextpnr_iobs(const pool &top_ports); // Constrain cells with certain port connection patterns together with a fixed z-offset - int constrain_cell_pairs(const pool &src_ports, const pool &sink_ports, int delta_z); + int constrain_cell_pairs(const pool &src_ports, const pool &sink_ports, int delta_z, + bool allow_fanout = true); // Replace constants with given driving cells void replace_constants(CellTypePort vcc_driver, CellTypePort gnd_driver, const dict &vcc_params = {}, -- cgit v1.2.3