19b5d3e9b1193192356feec875ab6616d637fa5d
[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         /**
11          * Returns immutable list of all inputs to the {@link Component} (including e.g. the select bits to a MUX). Intended for visualization
12          * in the UI.
13          */
14         public List<WireArray> getAllInputs();
15
16         /**
17          * Returns immutable list of all outputs to the {@link Component}. Intended for visualization in the UI.
18          */
19         public List<WireArray> getAllOutputs();
20 }