c5186d04dd3460aaf9165b0eb0a4fb9492514468
[Mograsim.git] / era.mi / src / era / mi / logic / components / Component.java
1 package era.mi.logic.components;
2
3 import java.util.List;
4
5 import era.mi.logic.wires.WireArray;
6
7 public interface Component {
8
9         /**
10          * Returns immutable list of all inputs to the {@link Component} (including e.g. the select bits to a MUX). Intended for visualization
11          * in the UI.
12          */
13         public List<WireArray> getAllInputs();
14
15         /**
16          * Returns immutable list of all outputs to the {@link Component}. Intended for visualization in the UI.
17          */
18         public List<WireArray> getAllOutputs();
19 }