Interface | Description |
---|---|
Logic |
interface Logic represents something that can accept
inputs, performs some transformation, and yields some
outputs.
|
Class | Description |
---|---|
Circuit |
Circuit class implements Logic since each circuti will follow the Logics by combining together
the logic of the gates.
|
Contact |
Contact class construct contact objects that have two wire one in and one out
and inbound boolean value.
|
Gate |
abstract class Gate implemetns the Logic since each gate
has their on Logic.
|
GateAnd |
GateAnd its a gate that has a name AND and all the inputs signals are HI.
|
GateNand |
GateNand its a gate that has a name NAND and all the inputs signals are LO.
|
GateNor |
GateNor its a gate that has a name NOR and all the inputs signals are HI.
|
GateNot | |
GateOr |
GateOr its a gate that has a name OR and one of the inputs signals is HI.
|
GateSim |
GateSim is simulater that given 2 arguments will give us the output value of this circuit
|
GateXor |
GateXor its a gate that has a name Xor and only one of the inputs signals is HI.
|
P5Tests | |
Wire |
Wire are connectors between different gates and circuits.
|
Enum | Description |
---|---|
Signal |
The enum Signal represent the values that a wire may have
like HI, LO or X.
|
Exception | Description |
---|---|
ExceptionLogicMalformedSignal |
ExceptionLogicMalformedSignal creates an objcet that is an exception
|
ExceptionLogicParameters |
ExceptionLogicParameters creates an objcet that is an exception
|