com.sun.electric.tool.simulation.als
Class ALS

java.lang.Object
  extended by com.sun.electric.tool.simulation.Engine
      extended by com.sun.electric.tool.simulation.als.ALS

public class ALS
extends Engine

Class to control the ALS Simulator.


Method Summary
 void refresh()
          Method to reload the circuit data.
 void removeAllStimuli()
          Method to remove all stimuli from the simulation.
 void removeSelectedStimuli()
          Method to remove the selected stimuli.
 void removeStimuliFromSignal()
          Method to remove all stimuli from the currently-selected signals.
static void restartSimulation(Cell netlistCell, Cell cell, ALS prevALS)
          Method to restart a simulation and reload the circuit.
 void restoreStimuli()
          Method to restore the current stimuli information from disk.
 void saveStimuli()
          Method to save the current stimuli information to disk.
 void setClock(double period)
          Method to set the currently-selected signal to have a clock with a given period.
 void setSignalHigh()
          Method to set the currently-selected signal high at the current time.
 void setSignalLow()
          Method to set the currently-selected signal low at the current time.
 void setSignalX()
          Method to set the currently-selected signal undefined at the current time.
 void showSignalInfo()
          Method to show information about the currently-selected signal.
static void simulateNetlist(Cell netlistCell, Cell cell)
          Method to simulate the a Cell, given its context and the Cell with the real netlist.
 void update()
          Method to update the simulation (because some stimuli have changed).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

simulateNetlist

public static void simulateNetlist(Cell netlistCell,
                                   Cell cell)
Method to simulate the a Cell, given its context and the Cell with the real netlist.

Parameters:
netlistCell - the Cell with the real ALS netlist.
cell - the original Cell being simulated.

restartSimulation

public static void restartSimulation(Cell netlistCell,
                                     Cell cell,
                                     ALS prevALS)
Method to restart a simulation and reload the circuit.

Parameters:
netlistCell - the cell with the netlist.
cell - the cell being simulated.
prevALS - the simulation that is being reloaded.

refresh

public void refresh()
Method to reload the circuit data.

Overrides:
refresh in class Engine

update

public void update()
Method to update the simulation (because some stimuli have changed).

Overrides:
update in class Engine

setSignalHigh

public void setSignalHigh()
Method to set the currently-selected signal high at the current time.

Overrides:
setSignalHigh in class Engine

setSignalLow

public void setSignalLow()
Method to set the currently-selected signal low at the current time.

Overrides:
setSignalLow in class Engine

setClock

public void setClock(double period)
Method to set the currently-selected signal to have a clock with a given period.

Overrides:
setClock in class Engine

setSignalX

public void setSignalX()
Method to set the currently-selected signal undefined at the current time.

Overrides:
setSignalX in class Engine

showSignalInfo

public void showSignalInfo()
Method to show information about the currently-selected signal.

Overrides:
showSignalInfo in class Engine

removeStimuliFromSignal

public void removeStimuliFromSignal()
Method to remove all stimuli from the currently-selected signals.

Overrides:
removeStimuliFromSignal in class Engine

removeSelectedStimuli

public void removeSelectedStimuli()
Method to remove the selected stimuli.

Overrides:
removeSelectedStimuli in class Engine

removeAllStimuli

public void removeAllStimuli()
Method to remove all stimuli from the simulation.

Overrides:
removeAllStimuli in class Engine

saveStimuli

public void saveStimuli()
Method to save the current stimuli information to disk.

Overrides:
saveStimuli in class Engine

restoreStimuli

public void restoreStimuli()
Method to restore the current stimuli information from disk.

Overrides:
restoreStimuli in class Engine