From f0478579f60274aad8ad5bf26d40660d33ff0927 Mon Sep 17 00:00:00 2001 From: Tom Clarke Date: Sun, 6 Aug 2023 13:10:03 +0100 Subject: [PATCH] add fixed segment separation to routing --- src/Renderer/DrawBlock/BusWireSeparate.fs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Renderer/DrawBlock/BusWireSeparate.fs b/src/Renderer/DrawBlock/BusWireSeparate.fs index 739374ccd..0470fe64b 100644 --- a/src/Renderer/DrawBlock/BusWireSeparate.fs +++ b/src/Renderer/DrawBlock/BusWireSeparate.fs @@ -924,11 +924,11 @@ let separateAndOrderModelSegments (wiresToRoute: ConnectionId list) (model: Mode // after normal separation there may be "fixed" segments which should be separated because they overlap // one run for Vert and then Horiz segments is enough for this // TODO - include a comprehensive check for any remaining overlapping wires after this - and fix them - //|> separateFixedSegments wiresToRoute Horizontal - //|> separateFixedSegments wiresToRoute Vertical + |> separateFixedSegments wiresToRoute Horizontal + |> separateFixedSegments wiresToRoute Vertical // after the previous two phases there may be artifacts where wires have an unnecessary number of corners. - // this code attempts to remove sucg corners if it can be done while keeping routing ok + // this code attempts to remove such corners if it can be done while keeping routing ok |> removeModelCorners wiresToRoute // code to clean up some non-optimal routing