|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.simulator.SimObject
hades.models.rtlib.memory.GenericMemory
hades.models.rtlib.memory.ROM
hades.models.rtlib.memory.ROMoe
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.
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.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 |
protected PortStdLogic1164 port_nCS
protected PortStdLogic1164 port_nOE
Constructor Detail |
public ROMoe()
Method Detail |
protected void constructPorts()
constructPorts
in class ROM
public void elaborate(java.lang.Object arg)
elaborate
in interface Simulatable
elaborate
in class ROM
public void evaluate(java.lang.Object arg)
evaluate
in interface Simulatable
evaluate
in class ROM
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |