From 2ef645bbaf98c96a13873a82e33492608f1a039c Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Tue, 22 Oct 2024 14:54:39 +0200 Subject: [PATCH] fix(cli,tests): set routed_band_width to 100.0 where I forgot This was making the CLI build and tests fail because my second previous commit was botched. For future reference, I fixed the *.cmd files by running the following in Fish shell: ``` for f in tests/**.cmd jq ".done?.[].Autoroute[1].router_options.routed_band_width |= 100.0" $f | sponge $f end ``` --- src/bin/topola/main.rs | 1 + tests/single_layer/0603_breakout/autoroute_all.cmd | 6 ++++-- .../autoroute_signals.cmd | 12 ++++++++---- .../tht_3pin_xlr_to_tht_3pin_xlr/autoroute_all.cmd | 3 ++- .../tht_diode_bridge_rectifier/autoroute_all.cmd | 6 ++++-- 5 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/bin/topola/main.rs b/src/bin/topola/main.rs index 60220a2..a781b76 100644 --- a/src/bin/topola/main.rs +++ b/src/bin/topola/main.rs @@ -34,6 +34,7 @@ fn main() -> Result<(), std::io::Error> { router_options: RouterOptions { wrap_around_bands: true, squeeze_through_under_bands: false, + routed_band_width: 100.0, }, }, )); diff --git a/tests/single_layer/0603_breakout/autoroute_all.cmd b/tests/single_layer/0603_breakout/autoroute_all.cmd index d122116..bf906ab 100644 --- a/tests/single_layer/0603_breakout/autoroute_all.cmd +++ b/tests/single_layer/0603_breakout/autoroute_all.cmd @@ -18,7 +18,8 @@ "presort_by_pairwise_detours": false, "router_options": { "wrap_around_bands": true, - "squeeze_through_under_bands": true + "squeeze_through_under_bands": true, + "routed_band_width": 100.0 } } ] @@ -41,7 +42,8 @@ "presort_by_pairwise_detours": false, "router_options": { "wrap_around_bands": true, - "squeeze_through_under_bands": true + "squeeze_through_under_bands": true, + "routed_band_width": 100.0 } } ] diff --git a/tests/single_layer/4x_3rd_order_smd_lc_filters/autoroute_signals.cmd b/tests/single_layer/4x_3rd_order_smd_lc_filters/autoroute_signals.cmd index 6f1fbd6..608ef73 100644 --- a/tests/single_layer/4x_3rd_order_smd_lc_filters/autoroute_signals.cmd +++ b/tests/single_layer/4x_3rd_order_smd_lc_filters/autoroute_signals.cmd @@ -54,7 +54,8 @@ "presort_by_pairwise_detours": false, "router_options": { "wrap_around_bands": true, - "squeeze_through_under_bands": true + "squeeze_through_under_bands": true, + "routed_band_width": 100.0 } } ] @@ -113,7 +114,8 @@ "presort_by_pairwise_detours": false, "router_options": { "wrap_around_bands": true, - "squeeze_through_under_bands": true + "squeeze_through_under_bands": true, + "routed_band_width": 100.0 } } ] @@ -172,7 +174,8 @@ "presort_by_pairwise_detours": false, "router_options": { "wrap_around_bands": true, - "squeeze_through_under_bands": true + "squeeze_through_under_bands": true, + "routed_band_width": 100.0 } } ] @@ -231,7 +234,8 @@ "presort_by_pairwise_detours": false, "router_options": { "wrap_around_bands": true, - "squeeze_through_under_bands": true + "squeeze_through_under_bands": true, + "routed_band_width": 100.0 } } ] diff --git a/tests/single_layer/tht_3pin_xlr_to_tht_3pin_xlr/autoroute_all.cmd b/tests/single_layer/tht_3pin_xlr_to_tht_3pin_xlr/autoroute_all.cmd index cf6d218..40e9331 100644 --- a/tests/single_layer/tht_3pin_xlr_to_tht_3pin_xlr/autoroute_all.cmd +++ b/tests/single_layer/tht_3pin_xlr_to_tht_3pin_xlr/autoroute_all.cmd @@ -34,7 +34,8 @@ "presort_by_pairwise_detours": false, "router_options": { "wrap_around_bands": true, - "squeeze_through_under_bands": true + "squeeze_through_under_bands": true, + "routed_band_width": 100.0 } } ] diff --git a/tests/single_layer/tht_diode_bridge_rectifier/autoroute_all.cmd b/tests/single_layer/tht_diode_bridge_rectifier/autoroute_all.cmd index 8319bd2..1a0b1c8 100644 --- a/tests/single_layer/tht_diode_bridge_rectifier/autoroute_all.cmd +++ b/tests/single_layer/tht_diode_bridge_rectifier/autoroute_all.cmd @@ -54,7 +54,8 @@ "presort_by_pairwise_detours": false, "router_options": { "wrap_around_bands": true, - "squeeze_through_under_bands": true + "squeeze_through_under_bands": true, + "routed_band_width": 100.0 } } ] @@ -77,7 +78,8 @@ "presort_by_pairwise_detours": false, "router_options": { "wrap_around_bands": true, - "squeeze_through_under_bands": true + "squeeze_through_under_bands": true, + "routed_band_width": 100.0 } } ]