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