diff options
author | gatecat <gatecat@ds0.me> | 2022-02-06 14:19:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 14:19:26 +0000 |
commit | 74c99f9195eeb47d106ca74b7abb894cfd47cc03 (patch) | |
tree | d59b272fc25da002868ae676f337a05a62312205 /generic/viaduct_helpers.h | |
parent | dad0ef4ab7f5b65bc19cb70e8bff83cc085bfae3 (diff) | |
parent | e5bfff6e9fbbbc743c504365ab41e4112aefb6d6 (diff) | |
download | nextpnr-74c99f9195eeb47d106ca74b7abb894cfd47cc03.tar.gz nextpnr-74c99f9195eeb47d106ca74b7abb894cfd47cc03.tar.bz2 nextpnr-74c99f9195eeb47d106ca74b7abb894cfd47cc03.zip |
Merge pull request #908 from YosysHQ/gatecat/generic-fanout-block
viaduct: Allow constraining only cascades without fanout
Diffstat (limited to 'generic/viaduct_helpers.h')
-rw-r--r-- | generic/viaduct_helpers.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<CellTypePort> &top_ports); // Constrain cells with certain port connection patterns together with a fixed z-offset - int constrain_cell_pairs(const pool<CellTypePort> &src_ports, const pool<CellTypePort> &sink_ports, int delta_z); + int constrain_cell_pairs(const pool<CellTypePort> &src_ports, const pool<CellTypePort> &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<IdString, Property> &vcc_params = {}, |