jaga.pj.circuits.fpgaft
Class SimulatorFaultyDelayLE

java.lang.Object
  |
  +--jaga.pj.circuits.SimulatorLogicElement
        |
        +--jaga.pj.circuits.SimulatorDelayLE
              |
              +--jaga.pj.circuits.fpgaft.SimulatorFaultyDelayLE
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
SimulatorEdgeDLatch, SimulatorLUT

public class SimulatorFaultyDelayLE
extends SimulatorDelayLE

Extend this class to make Logic Elements with efficient fault modelling. For now only models SSA faults, should do connects as well soon.

See Also:
Serialized Form

Field Summary
 boolean SSA
          Defines if this element has a Single Stuck At Fault.
 boolean SSAV
          If it has a SSA fault, what it's stuck at.
 
Fields inherited from class jaga.pj.circuits.SimulatorDelayLE
delay, delayLeft, nextOutput
 
Fields inherited from class jaga.pj.circuits.SimulatorLogicElement
currentOutput
 
Constructor Summary
SimulatorFaultyDelayLE(int delay)
          Creates new SimulatorFaultyDelayLE
 
Method Summary
 boolean getNow()
           
 void setFault(int faultID)
           
 
Methods inherited from class jaga.pj.circuits.SimulatorDelayLE
connect, getInput, getInputs, randomReset, refreshOutput, reset, sampleInputs, setNow, toString
 
Methods inherited from class jaga.pj.circuits.SimulatorLogicElement
getClone, setRandomSeed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SSA

public boolean SSA
Defines if this element has a Single Stuck At Fault.

SSAV

public boolean SSAV
If it has a SSA fault, what it's stuck at.
Constructor Detail

SimulatorFaultyDelayLE

public SimulatorFaultyDelayLE(int delay)
Creates new SimulatorFaultyDelayLE
Method Detail

setFault

public void setFault(int faultID)

getNow

public final boolean getNow()
Overrides:
getNow in class SimulatorDelayLE