From e6ed3e908d49005a608f8f8d01ba03ae4e51eb16 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson <oscar.gustafsson@gmail.com> Date: Sat, 15 Mar 2025 11:22:53 +0100 Subject: [PATCH] Draw schedule lines using a single spline --- .gitlab-ci.yml | 3 +++ b_asic/_preferences.py | 2 +- b_asic/schedule.py | 5 +---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a822db9..5704acb6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,6 +29,9 @@ before_script: # - lcov --list coverage.info # - find . -name '*.gc*' -delete artifacts: + paths: + - result_images/ + when: always reports: coverage_report: coverage_format: cobertura diff --git a/b_asic/_preferences.py b/b_asic/_preferences.py index 83ac3f43..c20d23db 100644 --- a/b_asic/_preferences.py +++ b/b_asic/_preferences.py @@ -9,7 +9,7 @@ OPERATION_GAP: float = 0.5 SCHEDULE_OFFSET: float = 0.2 -SPLINE_OFFSET: float = 0.2 +SPLINE_OFFSET: float = 0.5 # Colors for architecture Digraph PE_COLOR = (0, 185, 231) # LiuBlue diff --git a/b_asic/schedule.py b/b_asic/schedule.py index 67ec8f9b..013925cd 100644 --- a/b_asic/schedule.py +++ b/b_asic/schedule.py @@ -1120,13 +1120,10 @@ class Schedule: [ start, [start[0] + SPLINE_OFFSET, start[1]], - [start[0] + SPLINE_OFFSET, (start[1] + end[1]) / 2], - [start[0], (start[1] + end[1]) / 2], - [start[0] - SPLINE_OFFSET, (start[1] + end[1]) / 2], [start[0] - SPLINE_OFFSET, end[1]], end, ], - [Path.MOVETO] + [Path.CURVE4] * 6, + [Path.MOVETO] + [Path.CURVE4] * 3, ) else: path = Path( -- GitLab