|
|||||||||||
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.platforms.util.GenericUserCore
Base class to be used for creating wrappers for user designs. This class is used to easily allow users the ability to connect the correct ports to their designs.
Field Summary | |
protected GenericProcessingElement |
parent
A reference to the JHDL parent of this circuit. |
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 interface byucc.jhdl.platforms.util.UtilConstants |
directions, IN, NONE, OUT, TRISTATE, UNASSIGNED |
Constructor Summary | |
GenericUserCore(Node parent)
Used by the extending class to create a GenericUserCore that has no instance name |
|
GenericUserCore(Node parent,
java.lang.String instance)
Used by the extending class to create a GenericUserCore that has an instance name |
Method Summary | |
Wire |
connect(java.lang.String portName,
VPortInfo vport)
New connect call for GenericUserCores. |
Wire |
connect(java.lang.String portName,
VPortInfo vpi,
java.lang.String enable)
New connect call for GenericUserCores. |
Wire |
getEnableWire(java.lang.String enable)
Finds the wire associated with the given enable port. |
VPortInfo |
wa(java.lang.String vport)
This method is used to build the VPortInfo objects which are passed to the specialized connect calls. |
VPortInfo |
wa(java.lang.String vport,
int index)
This method is used to build the VPortInfo objects which are passed to the specialized connect calls. |
VPortInfo |
wa(java.lang.String vport,
int top,
int bottom)
This method is used to build the VPortInfo objects which are passed to the specialized connect calls. |
VPortInfo |
wa(java.lang.String vport,
int top,
int bottom,
java.lang.String attrib)
This method is used to build the VPortInfo objects which are passed to the specialized connect calls. |
VPortInfo |
wa(java.lang.String vport,
int top,
int bottom,
java.lang.String[] attrib)
This method is used to build the VPortInfo objects which are passed to the specialized connect calls. |
VPortInfo |
wa(java.lang.String vport,
int index,
java.lang.String attrib)
This method is used to build the VPortInfo objects which are passed to the specialized connect calls. |
VPortInfo |
wa(java.lang.String vport,
int index,
java.lang.String[] attrib)
This method is used to build the VPortInfo objects which are passed to the specialized connect calls. |
VPortInfo |
wa(java.lang.String vport,
java.lang.String attrib)
This method is used to build the VPortInfo objects which are passed to the specialized connect calls. |
VPortInfo |
wa(java.lang.String vport,
java.lang.String[] attrib)
This method is used to build the VPortInfo objects which are passed to the specialized connect calls. |
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 |
protected GenericProcessingElement parent
Constructor Detail |
public GenericUserCore(Node parent)
parent
- Parent of this cell, typically a derivative of
GenericProcessingElement.public GenericUserCore(Node parent, java.lang.String instance)
parent
- Parent of this cell, typically a derivative of
GenericProcessingElement.instance
- Instance name for the GenericUserCore.Method Detail |
public Wire connect(java.lang.String portName, VPortInfo vport)
portName
- Name of the port to connect to.vport
- VPortInfo object that contains the information needed to
chose the correct wire.
public Wire connect(java.lang.String portName, VPortInfo vpi, java.lang.String enable)
portName
- Name of the port to connect to.enable
- Name of the enable port associated with the output wire
referred to by the VPortInfo object.
public Wire getEnableWire(java.lang.String enable)
enable
- Name of the enable port.
public VPortInfo wa(java.lang.String vport, int top, int bottom)
vport
- Name of the virtual port being accessed.top
- Index of the most significant bit of the wanted range.bottom
- Index of the least significant bit of the wanted range.public VPortInfo wa(java.lang.String vport, int index)
vport
- Name of the virtual port being accessed.index
- Index of the wanted bit.public VPortInfo wa(java.lang.String vport)
vport
- Name of the virtual port being accessed.public VPortInfo wa(java.lang.String vport, int top, int bottom, java.lang.String attrib)
vport
- Name of the virtual port being accessed.top
- Index of the most significant bit of the wanted range.bottom
- Index of the least significant bit of the wanted range.attrib
- Attribute to be set on the port.public VPortInfo wa(java.lang.String vport, int index, java.lang.String attrib)
vport
- Name of the virtual port being accessed.index
- Index of the wanted bit.attrib
- Attribute to be set on the port.public VPortInfo wa(java.lang.String vport, java.lang.String attrib)
vport
- Name of the virtual port being accessed.attrib
- Attribute to be set on the port.public VPortInfo wa(java.lang.String vport, int top, int bottom, java.lang.String[] attrib)
vport
- Name of the virtual port being accessed.top
- Index of the most significant bit of the wanted range.bottom
- Index of the least significant bit of the wanted range.attrib
- Attribute to be set on the port.public VPortInfo wa(java.lang.String vport, int index, java.lang.String[] attrib)
vport
- Name of the virtual port being accessed.index
- Index of the wanted bit.attrib
- Attribute to be set on the port.public VPortInfo wa(java.lang.String vport, java.lang.String[] attrib)
vport
- Name of the virtual port being accessed.attrib
- Attribute to be set on the port.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |