jaga.pj.circuits.fpgaft
Class SimulatorFaultyCircuitAsynchronous

java.lang.Object
  |
  +--jaga.pj.circuits.fpgaft.SimulatorFaultyCircuit
        |
        +--jaga.pj.circuits.fpgaft.SimulatorFaultyCircuitAsynchronous
All Implemented Interfaces:
FaultyCircuit, java.io.Serializable, SimulatorCircuit, StateManipulableSimulatorCircuit

public class SimulatorFaultyCircuitAsynchronous
extends SimulatorFaultyCircuit

Elements are not refreshed synchronously. So each is refreshed individually on its own. This means chains of elements refreshed forwards will have a gate delay less than if they were refreshed backwards. To make this more fair, elements could be refreshed in a random order. Refreshing elements on their own has the benefit of avoiding unrealistic behaviour for loops of elements with the same delay.

See Also:
Serialized Form

Fields inherited from class jaga.pj.circuits.fpgaft.SimulatorFaultyCircuit
FAULTS_AS_INPUTS, NORMAL
 
Fields inherited from interface jaga.pj.circuits.SimulatorCircuit
ELEMENTS, INPUTS, OUTPUTS
 
Constructor Summary
SimulatorFaultyCircuitAsynchronous(CircuitMapping mapping)
          Creates a new instance of SimulatorFaultyCircuitAsynchronous
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class jaga.pj.circuits.fpgaft.SimulatorFaultyCircuit
getElements, getInOutEls, getState, randomReset, reconfigure, removeFault, removeFault, reset, resetDelays, run, run, setFault, setFault, setPersistentFaults, setPersistentFaults, setRunMode, setState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimulatorFaultyCircuitAsynchronous

public SimulatorFaultyCircuitAsynchronous(CircuitMapping mapping)
Creates a new instance of SimulatorFaultyCircuitAsynchronous
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class SimulatorFaultyCircuit