|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.base.Nameable
byucc.jhdl.base.Node
byucc.jhdl.base.Cell
byucc.jhdl.base.Structural
byucc.jhdl.Logic.LogicGates
byucc.jhdl.Logic.LogicStatic
byucc.jhdl.Logic.Logic
byucc.jhdl.Xilinx.Virtex2.Rom128x1View
This class is for the simulation of block ram's to work correctly. Do not instance this class directly.
Field Summary | |
static CellInterface[] |
cell_interface
|
static CellInterface[] |
implicit_interface
|
Fields inherited from class byucc.jhdl.Logic.Logic |
ABOVE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_LSB, ALIGN_MSB, ALIGN_RIGHT, ALIGN_TOP, BELOW, DOWN, EAST_OF, LEFT_OF, MAX_PACK, NORTH_OF, ON, ONTOP, ONTOP_OF, RIGHT_OF, SOUTH_OF, TOLEFT, TORIGHT, UNCONSTRAINED, UP, WEST_OF |
Fields inherited from class byucc.jhdl.Logic.LogicGates |
tech_mapper |
Fields inherited from class byucc.jhdl.base.Cell |
BOOLEAN, CELL_NAME_DECLARATION, CellInterfaceDeterminesUniqueNetlistStructure, DETERMINE_FROM_STRING, GENERICS_DECLARATION, IMPLICIT_INTERFACE_DECLARATION, INTEGER, INTERFACE_DECLARATION, LONG, PORT_IOS_DECLARATION, PORT_NAMES_DECLARATION, PORT_NET_NAMES_DECLARATION, PORT_PROPERTIES, PORT_WIDTHS_DECLARATION, SIGN_EXT, STRING, ZERO_PAD |
Constructor Summary | |
Rom128x1View(Node parent,
Wire a,
Wire o,
java.lang.String name,
int[] contents)
|
Method Summary | |
boolean |
cellInterfaceDeterminesUniqueNetlistStructure()
When false, the default behavior of this method, each cell will list itself separately in a netlist, guaranteeing that the netlist will not have invalid data at the expense of a larger file-size. |
void |
clock()
Users define synchronous behavior in this method using standard JHDL constructs. |
boolean |
defaultSimulationModelIsBehavioral()
The default simulation model is structural for Structural cells. |
BV |
getMemoryElement(int a)
Return the given memory position |
BV[] |
getMemoryRange(int sIndex,
int elements)
Return the given memory range |
int |
getMemoryWidth()
Returns the memory width |
long |
getSize()
Returns the memory size |
boolean |
isNetlistLeaf()
A few rare cells are leafCells during netlisting, but not during simulation. |
void |
propagate()
Users defined propagatable behavior using standard JHDL constructs. |
void |
reset()
If you define a behavior, you must also define a reset method for resetting the synchonous part of your model. |
void |
update()
|
Methods inherited from class byucc.jhdl.base.Node |
addObservable, addSimulatorCallback, checkAll, delete, getBuildingFlag, getChildren, getChildrenEnumeration, getInstanceName, getParent, getParentCell, getRelatives, getSystem, getWires, optimize, orphanAllowed, printAllChildren, printTree, removeSimulatorCallback, setDefaultClock |
Methods inherited from class byucc.jhdl.base.Nameable |
caseSensitivity, caseSensitivity, disableNameClashChecking, getFullName, getFullNameNoTestBench, getHierNameNoTestBench, getInstanceNo, getInstanceNumber, getLeafName, getLeafName, getRelativeName, getUserName, getUserName, hasUserSpecifiedName, isDescendantOf, setInstanceNumber |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static CellInterface[] implicit_interface
public static CellInterface[] cell_interface
Constructor Detail |
public Rom128x1View(Node parent, Wire a, Wire o, java.lang.String name, int[] contents)
Method Detail |
public boolean isNetlistLeaf()
Cell
isNetlistLeaf
in class Cell
public boolean cellInterfaceDeterminesUniqueNetlistStructure()
Cell
cellInterfaceDeterminesUniqueNetlistStructure
in class Cell
public boolean defaultSimulationModelIsBehavioral()
Structural
defaultSimulationModelIsBehavioral
in class Structural
public void clock()
Structural
clock
in interface Clockable
clock
in class Structural
public void reset()
Structural
reset
in interface Clockable
reset
in class Structural
public void update()
public final void propagate()
Structural
propagate
in interface byucc.jhdl.base.Propagateable
propagate
in class Structural
public BV[] getMemoryRange(int sIndex, int elements)
MemoryInterface
getMemoryRange
in interface MemoryInterface
sIndex
- the starting indexelements
- how many entries to get
public BV getMemoryElement(int a)
MemoryInterface
getMemoryElement
in interface MemoryInterface
a
- the memory address to get
public long getSize()
MemoryInterface
getSize
in interface MemoryInterface
public int getMemoryWidth()
MemoryInterface
getMemoryWidth
in interface MemoryInterface
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |