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