hades.models.rtlib.memory
Class ROMoe

java.lang.Object
  extended byhades.simulator.SimObject
      extended byhades.models.rtlib.memory.GenericMemory
          extended byhades.models.rtlib.memory.ROM
              extended byhades.models.rtlib.memory.ROMoe
All Implemented Interfaces:
java.lang.Cloneable, ContextToolTip, Memory, java.io.Serializable, Simulatable

public class ROMoe
extends ROM

ROMoe - a generic ROMoe with n words by m bits with chip select and output enable inputs.

This class models a standard LSI ROMoe with active low chip select and active low output enable. The data output is tristated unless nCS=0 and nOE=0.

See Also:
Serialized Form

Field Summary
protected  PortStdLogic1164 port_nCS
           
protected  PortStdLogic1164 port_nOE
           
 
Fields inherited from class hades.models.rtlib.memory.ROM
port_A, port_D, t_access, t_tristate, t_undefined
 
Fields inherited from class hades.models.rtlib.memory.GenericMemory
bit_mask, data, enableAnimationFlag, last_read_addr, last_read_data, last_write_addr, last_write_data, MEF, n_bits, n_words, resourcename, TRISTATED, UNDEFINED, vector_000, vector_111, vector_UUU, vector_XXX, vector_ZZZ
 
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
 
Constructor Summary
ROMoe()
          ROMoe constructor
 
Method Summary
protected  void constructPorts()
           
 void elaborate(java.lang.Object arg)
          elaborate(): On elaboration, the inputs of the ROMoe will be undefined.
 void evaluate(java.lang.Object arg)
          evaluate(): Return the data at address after t_access
 
Methods inherited from class hades.models.rtlib.memory.ROM
canChangeSize, resize, setBitsPerWord, setSize
 
Methods inherited from class hades.models.rtlib.memory.GenericMemory
addMemoryListener, addMemoryListenerOld, checkInvalidateMemory, configure, constructStandardValues, createMemory, dataAtAddressIsUndefined, dbg, getAddressBusWidth, getAddrOffset, getBitsPerWord, getConfigDialog, getDataArray, getDataAt, getEnableAnimationFlag, getExternalResources, getHexDigitsPerWord, getHexString, getInstructionDecoder, getPropertySheet, getResourcename, getSize, getToolTip, initialize, initializeWithDefaultValues, initializeWithRandomValues, initializeWithX, initializeWithZeroes, isConnected, main, merge, needsExternalResources, notifyReadListeners, notifyReadListenersOld, notifyWriteListeners, notifyWriteListenersOld, parse, parseLabelLine, parseRAM, removeMemoryListener, removeMemoryListenerOld, save, setDataArray, setDataAt, setEnableAnimationFlag, setEnableAnimationFlag, setInstructionDecoder, setResourcename, toString, warning, write
 
Methods inherited from class hades.simulator.SimObject
constructDynamicSymbol, copy, getBindkey, getClassLoader, getDebug, getEditor, getFullName, getName, getParent, getPort, getPorts, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getVersionId, isVisible, keyPressed, message, mousePressed, needsDynamicSymbol, setClassLoader, setConsole, setDebug, setEditor, setName, setParent, setPorts, setSimulator, setSymbol, setVersionId, setVisible, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

port_nCS

protected PortStdLogic1164 port_nCS

port_nOE

protected PortStdLogic1164 port_nOE
Constructor Detail

ROMoe

public ROMoe()
ROMoe constructor

Method Detail

constructPorts

protected void constructPorts()
Overrides:
constructPorts in class ROM

elaborate

public void elaborate(java.lang.Object arg)
elaborate(): On elaboration, the inputs of the ROMoe will be undefined. Correspondingly, the outputs are, too.

Specified by:
elaborate in interface Simulatable
Overrides:
elaborate in class ROM

evaluate

public void evaluate(java.lang.Object arg)
evaluate(): Return the data at address after t_access

Specified by:
evaluate in interface Simulatable
Overrides:
evaluate in class ROM