1 package era.mi.logic.components;
\r
3 import java.util.List;
\r
5 import era.mi.logic.wires.Wire.ReadEnd;
\r
6 import era.mi.logic.wires.Wire.ReadWriteEnd;
\r
8 public interface Component
\r
12 * Returns immutable list of all inputs to the {@link Component} (including e.g. the select bits to a MUX). Intended for visualization
\r
15 public List<ReadEnd> getAllInputs();
\r
18 * Returns immutable list of all outputs to the {@link Component}. Intended for visualization in the UI.
\r
20 public List<ReadWriteEnd> getAllOutputs();
\r