- Gate - Class in <Unnamed>
-
abstract class Gate implemetns the Logic since each gate
has their on Logic.
- Gate(String, List<Wire>, Wire) - Constructor for class Gate
-
Gate constructor, construct the disign of our gates child
throws ExceptionLogicParameters if are input list is empty
- gate_equals() - Method in class P5Tests
-
- gate_feed1() - Method in class P5Tests
-
- gate_feed2() - Method in class P5Tests
-
- gate_feed3() - Method in class P5Tests
-
- gate_feed4() - Method in class P5Tests
-
- gate_feed5() - Method in class P5Tests
-
- gate_getInputs() - Method in class P5Tests
-
- gate_getOutput() - Method in class P5Tests
-
- gate_name1() - Method in class P5Tests
-
- gate_name2() - Method in class P5Tests
-
- gate_read1() - Method in class P5Tests
-
- gate_read2() - Method in class P5Tests
-
- gate_setInputs() - Method in class P5Tests
-
- gate_setOutput() - Method in class P5Tests
-
- gate_toString1() - Method in class P5Tests
-
- gate_toString2() - Method in class P5Tests
-
- GateAnd - Class in <Unnamed>
-
GateAnd its a gate that has a name AND and all the inputs signals are HI.
- GateAnd(List<Wire>, Wire) - Constructor for class GateAnd
-
GateAnd constructor, construct the disign of our gate and
- gateand1() - Method in class P5Tests
-
- gateand_00() - Method in class P5Tests
-
- gateand_01() - Method in class P5Tests
-
- gateand_10() - Method in class P5Tests
-
- gateand_11() - Method in class P5Tests
-
- gateand_1101() - Method in class P5Tests
-
- gateand_111() - Method in class P5Tests
-
- gateand_1X() - Method in class P5Tests
-
- gateand_propagate_results() - Method in class P5Tests
-
- gateand_X0() - Method in class P5Tests
-
- gateand_XX() - Method in class P5Tests
-
- GateNand - Class in <Unnamed>
-
GateNand its a gate that has a name NAND and all the inputs signals are LO.
- GateNand(List<Wire>, Wire) - Constructor for class GateNand
-
GateNand constructor, construct the disign of our gate and
- gatenand_00() - Method in class P5Tests
-
- gatenand_0010() - Method in class P5Tests
-
- gatenand_01() - Method in class P5Tests
-
- gatenand_011() - Method in class P5Tests
-
- gatenand_1() - Method in class P5Tests
-
- gatenand_10() - Method in class P5Tests
-
- gatenand_11() - Method in class P5Tests
-
- gatenand_1X() - Method in class P5Tests
-
- gatenand_propagate_results() - Method in class P5Tests
-
- gatenand_X0() - Method in class P5Tests
-
- gatenand_XX() - Method in class P5Tests
-
- GateNor - Class in <Unnamed>
-
GateNor its a gate that has a name NOR and all the inputs signals are HI.
- GateNor(List<Wire>, Wire) - Constructor for class GateNor
-
GateNor constructor, construct the disign of our gate and
- gatenor_00() - Method in class P5Tests
-
- gatenor_0010() - Method in class P5Tests
-
- gatenor_01() - Method in class P5Tests
-
- gatenor_011() - Method in class P5Tests
-
- gatenor_1() - Method in class P5Tests
-
- gatenor_10() - Method in class P5Tests
-
- gatenor_11() - Method in class P5Tests
-
- gatenor_1X() - Method in class P5Tests
-
- gatenor_propagate_results() - Method in class P5Tests
-
- gatenor_X0() - Method in class P5Tests
-
- gatenor_XX() - Method in class P5Tests
-
- GateNot - Class in <Unnamed>
-
- GateNot(Wire, Wire) - Constructor for class GateNot
-
- gatenot_0() - Method in class P5Tests
-
- gatenot_1() - Method in class P5Tests
-
- gatenot_propagate_results() - Method in class P5Tests
-
- gatenot_X() - Method in class P5Tests
-
- GateOr - Class in <Unnamed>
-
GateOr its a gate that has a name OR and one of the inputs signals is HI.
- GateOr(List<Wire>, Wire) - Constructor for class GateOr
-
GateOr constructor, construct the disign of our gate and
- gateor1() - Method in class P5Tests
-
- gateor_00() - Method in class P5Tests
-
- gateor_0010() - Method in class P5Tests
-
- gateor_01() - Method in class P5Tests
-
- gateor_10() - Method in class P5Tests
-
- gateor_11() - Method in class P5Tests
-
- gateor_111() - Method in class P5Tests
-
- gateor_1X() - Method in class P5Tests
-
- gateor_propagate_results() - Method in class P5Tests
-
- gateor_X0() - Method in class P5Tests
-
- gateor_XX() - Method in class P5Tests
-
- GateSim - Class in <Unnamed>
-
GateSim is simulater that given 2 arguments will give us the output value of this circuit
- GateSim() - Constructor for class GateSim
-
- GateThing(List<Wire>, Wire) - Constructor for class P5Tests.GateThing
-
- GateXor - Class in <Unnamed>
-
GateXor its a gate that has a name Xor and only one of the inputs signals is HI.
- GateXor(List<Wire>, Wire) - Constructor for class GateXor
-
GateXor constructor, construct the disign of our gate and
- gatexor1() - Method in class P5Tests
-
- gatexor_00() - Method in class P5Tests
-
- gatexor_0010() - Method in class P5Tests
-
- gatexor_01() - Method in class P5Tests
-
- gatexor_011() - Method in class P5Tests
-
- gatexor_1() - Method in class P5Tests
-
- gatexor_10() - Method in class P5Tests
-
- gatexor_11() - Method in class P5Tests
-
- gatexor_1X() - Method in class P5Tests
-
- gatexor_propagate_results() - Method in class P5Tests
-
- gatexor_X0() - Method in class P5Tests
-
- gatexor_XX() - Method in class P5Tests
-
- getAndy() - Static method in class P5Tests
-
- getBad() - Method in exception ExceptionLogicMalformedSignal
-
Returns the bad char
- getCircuitScanner(String) - Method in class Circuit
-
getCircuitScanner will create a scanner that will read file of format .txr on samples folder.
- getComponents() - Method in class Circuit
-
getComponents
- getExpected() - Method in exception ExceptionLogicParameters
-
Returns the expected value of this exception
- getFound() - Method in exception ExceptionLogicParameters
-
Returns the found value of this exception
- getImportables() - Method in class Circuit
-
getImportables
- getIn() - Method in class Contact
-
getIn
- getInbound() - Method in class Contact
-
getInbound
- getInnerWires() - Method in class Circuit
-
getInnerWires
- getInputs() - Method in class Circuit
-
getInputs
- getInputs() - Method in class Gate
-
getInputs
- getInputsRelated() - Method in exception ExceptionLogicParameters
-
Returns the inputsRelated value of this exception
- getMsg() - Method in exception ExceptionLogicMalformedSignal
-
Returns the string of this message
- getName() - Method in class Circuit
-
getName
- getName() - Method in class Gate
-
getName
- getName() - Method in class Wire
-
getName
- getOut() - Method in class Contact
-
getOut
- getOutput() - Method in class Gate
-
getOutput
- getOutputs() - Method in class Circuit
-
getOutputs
- getSignal() - Method in class Wire
-
getSignal
- P5Tests - Class in <Unnamed>
-
- P5Tests() - Constructor for class P5Tests
-
- P5Tests.GateThing - Class in <Unnamed>
-
- parseComponentLine(String) - Method in class Circuit
-
parseComponentLine reads the line and check if it has sub-circuit in it if not has a gate.
- parseContactsLine(String) - Method in class Circuit
-
parseContactsLine reads each line of string and creates new wires and store them at innerWires
list and for each one, create a Contact and appropriately add it to either inputs or outputs.
- parseImportLine(String) - Method in class Circuit
-
parseImportLine reads a line of string that have Import word on it and stores each of other
tokens in list importables but not the import word.
- prepareCircuits() - Method in class P5Tests
-
- propagate() - Method in class Circuit
-
propagate fully update all outputs of all components in this circuit so that all
signal values are stable.
- propagate() - Method in class Gate
-
This abstract method should be implement by each child class of gate
- propagate() - Method in class GateAnd
-
propagate() methods return a boolean false if all the signal are HI
and set the value for output that depends on what the list of Wire
has on inputs.
- propagate() - Method in class GateNand
-
propagate() methods return a boolean false if all the signal are LO
and set the value for output that depends on what the list of Wire
has on inputs.
- propagate() - Method in class GateNor
-
propagate() methods return a boolean false if all the signal are LO
and set the value for output that depends on what the list of Wire
has on inputs.
- propagate() - Method in class GateNot
-
propagate() method will invert the single input value of signal.
- propagate() - Method in class GateOr
-
propagate() methods return a boolean false if any the signal is HI
and set the value for output that depends on what the list of Wire
has on inputs.
- propagate() - Method in class GateXor
-
propagate() methods return a boolean false if any the signal is different than
exactly one HI and set the value for output that depends on what the list of Wire
has on inputs.
- propagate() - Method in interface Logic
-
propagate() stabilize the outputs, return true if any action
was made in order to stabilze the circuit/gate
- propagate() - Method in class P5Tests.GateThing
-
- setBad(char) - Method in exception ExceptionLogicMalformedSignal
-
set the char bad to this bad value
- setComponents(List<Logic>) - Method in class Circuit
-
setComponents sets the components to parameter value
- setExpected(int) - Method in exception ExceptionLogicParameters
-
set the expected to this expected value
- setFound(int) - Method in exception ExceptionLogicParameters
-
set the found to this expected found
- setImportables(List<String>) - Method in class Circuit
-
setImportables sets the importables to parameter value
- setIn(Wire) - Method in class Contact
-
setIn sets the wire in of this contact to parameter value in
- setInbound(boolean) - Method in class Contact
-
setInbound sets the inbound of this contact in to parameter value inbound
- setInnerWires(List<Wire>) - Method in class Circuit
-
setInnerWires sets the innerWires to parameter value
- setInputs(List<Contact>) - Method in class Circuit
-
setInputs sets the inputs to parameter value
- setInputs(List<Wire>) - Method in class Gate
-
setInputs sets the inputs to parameter value list
- setInputsRelated(boolean) - Method in exception ExceptionLogicParameters
-
set the inputsRelated to this inputsRelated value
- setMsg(String) - Method in exception ExceptionLogicMalformedSignal
-
set the the msg to this msg value
- setName(String) - Method in class Circuit
-
setName sets the name to parameter value
- setName(String) - Method in class Gate
-
setName sets the name to parameter value
- setName(String) - Method in class Wire
-
setName sets the name to parameter value
- setOut(Wire) - Method in class Contact
-
setOut sets the wire out of this contact to parameter value out
- setOutput(Wire) - Method in class Gate
-
setOutput sets the output to parameter value
- setOutputs(List<Contact>) - Method in class Circuit
-
setOutputs sets the outputs to parameter value
- setSignal(Signal) - Method in class Wire
-
setSignal set the signal with the new parameter
- setup() - Method in class P5Tests
-
- Signal - Enum in <Unnamed>
-
The enum Signal represent the values that a wire may have
like HI, LO or X.
- signal1() - Method in class P5Tests
-
- signal10() - Method in class P5Tests
-
- signal11() - Method in class P5Tests
-
- signal12() - Method in class P5Tests
-
- signal13() - Method in class P5Tests
-
- signal14() - Method in class P5Tests
-
- signal15() - Method in class P5Tests
-
- signal16() - Method in class P5Tests
-
- signal2() - Method in class P5Tests
-
- signal3() - Method in class P5Tests
-
- signal4() - Method in class P5Tests
-
- signal5() - Method in class P5Tests
-
- signal6() - Method in class P5Tests
-
- signal7() - Method in class P5Tests
-
- signal8() - Method in class P5Tests
-
- signal9() - Method in class P5Tests
-
- sigs0 - Variable in class P5Tests
-
- sigs00 - Variable in class P5Tests
-
- sigs01 - Variable in class P5Tests
-
- sigs0X - Variable in class P5Tests
-
- sigs1 - Variable in class P5Tests
-
- sigs10 - Variable in class P5Tests
-
- sigs11 - Variable in class P5Tests
-
- sigs1X - Variable in class P5Tests
-
- sigsX - Variable in class P5Tests
-
- sigsX0 - Variable in class P5Tests
-
- sigsX1 - Variable in class P5Tests
-
- sigsXX - Variable in class P5Tests
-
- simpleCircuit - Variable in class P5Tests
-
- simpleCircuit2 - Variable in class P5Tests
-