Skip to content
Snippets Groups Projects

Add slack time scheduling, redid earliest deadline, added max-fan-out and hybrid scheduler, also added example

Closed Simon Bjurek requested to merge add-slack-time-sched into master
2 files
+ 6
20
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 6
18
@@ -1677,6 +1677,7 @@ class DontCare(AbstractOperation):
output_count=1,
name=name,
latency_offsets={"out0": 0},
execution_time=0,
)
@classmethod
@@ -1753,6 +1754,7 @@ class Sink(AbstractOperation):
output_count=0,
name=name,
latency_offsets={"in0": 0},
execution_time=0,
)
@classmethod
@@ -1777,28 +1779,14 @@ class Sink(AbstractOperation):
) -> tuple[tuple[tuple[float, float], ...], tuple[tuple[float, float], ...]]:
# Doc-string inherited
return (
(
(-0.5, 0),
(-0.5, 1),
(-0.25, 1),
(0, 0.5),
(-0.25, 0),
(-0.5, 0),
),
(
(-0.5, 0),
(-0.5, 1),
(-0.25, 1),
(0, 0.5),
(-0.25, 0),
(-0.5, 0),
),
((0, 0), (0, 1), (0.25, 1), (0.5, 0.5), (0.25, 0), (0, 0)),
((0, 0), (0, 1), (0.25, 1), (0.5, 0.5), (0.25, 0), (0, 0)),
)
def get_input_coordinates(self) -> tuple[tuple[float, float], ...]:
# doc-string inherited
return tuple()
return ((0, 0.5),)
def get_output_coordinates(self) -> tuple[tuple[float, float], ...]:
# doc-string inherited
return ((0, 0.5),)
return tuple()
Loading