1 package era.mi.logic.components;
5 import era.mi.logic.timeline.Timeline;
6 import era.mi.logic.wires.Wire.ReadEnd;
7 import era.mi.logic.wires.Wire.ReadWriteEnd;
9 public abstract class Component
11 protected Timeline timeline;
13 public Component(Timeline timeline)
15 this.timeline = timeline;
19 * Returns immutable list of all inputs to the {@link Component} (including e.g. the select bits to a MUX). Intended for visualization
22 public abstract List<ReadEnd> getAllInputs();
25 * Returns immutable list of all outputs to the {@link Component}. Intended for visualization in the UI.
27 public abstract List<ReadWriteEnd> getAllOutputs();