|
|||||||||||
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.GenericProcessingElement
Field Summary | |
protected GenericBoard |
board
|
protected GenericUserCore |
currently_loaded_user_core
|
protected java.lang.String |
currently_loaded_user_core_name
|
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 | |
GenericProcessingElement(Node parent)
Used by the extending class to create a GenericUserCore that has no instance name |
|
GenericProcessingElement(Node parent,
java.lang.String instance)
Used by the extending class to create a GenericUserCore that has an instance name |
|
GenericProcessingElement(Node parent,
java.lang.String instance,
PortAssociation pa)
Used by the extending class to create a GenericUserCore that has an instance name |
Method Summary | |
void |
addConduitWire(java.lang.String name,
Wire wire)
Used to get and create conduit wires for use with GenericInterface cell. |
void |
addPads()
|
void |
aliasPort(java.lang.String aliasname,
java.lang.String portname)
|
GenericUserCore |
currentlyLoadedUserCore()
|
java.lang.String |
currentlyLoadedUserCoreName()
|
Wire |
getConduitWire(java.lang.String name,
int width)
Used to get and create conduit wires for use with GenericInterface cell. |
Wire |
getPortWire(java.lang.String name)
Used to retrieve a wire from the PortAssociation object. |
VirtualPort |
getVirtualPort(java.lang.String portName)
Returns a VirtualPort object which encapsulates the information for any virtual port declared with any of the derivatives of the vport() or avport(). |
Wire |
getWire(java.lang.String name)
Used to retrieve a wire from the wires hashtable. |
Wire |
gw(java.lang.String name)
Used to retrieve a wire from the wires hashtable. |
protected void |
loadDefaultStates()
This will find all VirtualPorts which have a defaultState defined and set unused bits on the output wire to the default. |
PlatformCommandStatus |
loadUserCore(GenericUserCore design)
Generic method to load in user cores to derivatives of the GenericProcessingElement class. |
PlatformCommandStatus |
loadUserCore(java.lang.String design)
Generic method to load in user cores to derivatives of the GenericProcessingElement class. |
void |
loadUserCore(java.lang.String design,
java.lang.Class[] argSignature,
java.lang.Object[] args)
Generic method to load in user cores to derivatives of the GenericProcessingElement class. |
void |
postConstructBuild()
|
void |
preConstructBuild(java.lang.Class cls)
|
protected GenericProcessingElement |
recreate()
|
void |
removeVirtualPort(java.lang.String name)
|
VirtualPort |
vport_in(java.lang.String name,
int width,
java.lang.String in)
This is a convenience method used for declaring ports that are only in ports. |
VirtualPort |
vport_in(java.lang.String name,
int width,
Wire in)
This is a convenience method used for declaring ports that are only in ports. |
VirtualPort |
vport_out(java.lang.String name,
int width,
java.lang.String out)
This is a convenience method used for declaring ports that are only in ports. |
VirtualPort |
vport_out(java.lang.String name,
int width,
Wire out)
This is a convenience method used for declaring ports that are only in ports. |
VirtualPort |
vport(java.lang.String name,
int width,
java.lang.String in,
java.lang.String out)
Used to declare a virtual port. |
VirtualPort |
vport(java.lang.String name,
int width,
Wire in,
Wire out)
Used to declare a virtual port. |
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 GenericUserCore currently_loaded_user_core
protected java.lang.String currently_loaded_user_core_name
protected GenericBoard board
Constructor Detail |
public GenericProcessingElement(Node parent)
parent
- Parent of this cell, typically a top level board model.public GenericProcessingElement(Node parent, java.lang.String instance)
parent
- Parent of this cell, typically a top level board model.instance
- Instance name for the GenericUserCore.public GenericProcessingElement(Node parent, java.lang.String instance, PortAssociation pa)
parent
- Parent of this cell, typically a top level board model.instance
- Instance name for the GenericUserCore.Method Detail |
public VirtualPort vport(java.lang.String name, int width, java.lang.String in, java.lang.String out)
name
- Name of the virtual port.width
- Number of bits in the port.in
- Name of wire to give to the user if this port is asked for and
the port direction is in.out
- Name of wire to give to the user if this port is asked for and
the port direction is out.
public VirtualPort vport_in(java.lang.String name, int width, java.lang.String in)
name
- Name of the virtual port.width
- Number of bits in the port.in
- Name of wire to give to the user if this port is asked for and
the port direction is in.
public VirtualPort vport_out(java.lang.String name, int width, java.lang.String out)
name
- Name of the virtual port.width
- Number of bits in the port.out
- Name of wire to give to the user if this port is asked for and
the port direction is out.
public VirtualPort vport(java.lang.String name, int width, Wire in, Wire out)
name
- Name of the virtual port.width
- Number of bits in the port.in
- Wire to give to the user if this port is asked for and
the port direction is in.out
- Wire to give to the user if this port is asked for and
the port direction is out.
public VirtualPort vport_in(java.lang.String name, int width, Wire in)
name
- Name of the virtual port.width
- Number of bits in the port.in
- Wire to give to the user if this port is asked for and
the port direction is in.
public VirtualPort vport_out(java.lang.String name, int width, Wire out)
name
- Name of the virtual port.width
- Number of bits in the port.out
- Wire to give to the user if this port is asked for and
the port direction is out.
public void aliasPort(java.lang.String aliasname, java.lang.String portname)
public VirtualPort getVirtualPort(java.lang.String portName)
portName
- Name of the port for which you want the information.
public void removeVirtualPort(java.lang.String name)
public Wire getWire(java.lang.String name)
public Wire gw(java.lang.String name)
public Wire getPortWire(java.lang.String name)
protected GenericProcessingElement recreate()
public void loadUserCore(java.lang.String design, java.lang.Class[] argSignature, java.lang.Object[] args) throws java.lang.ClassNotFoundException
design
- Name of the design to be loaded. This is the name of the class file
without the .class extension. Please note that the class file must be somewhere in
the classpath in order for this method to find it.argSignature
- This is an array of class objects which tells the method what
argument signature to look for in the constructor for the class.args
- This is an array of Objects which are to be passed as parameters to the
constructor for the class.
java.lang.ClassNotFoundException
public void addPads()
public void postConstructBuild()
public void preConstructBuild(java.lang.Class cls)
public PlatformCommandStatus loadUserCore(java.lang.String design)
design
- Name of the design to be loaded. This is the name of the class file
without the .class extension. Please note that the class file must be somewhere in
the classpath in order for this method to find it.
public PlatformCommandStatus loadUserCore(GenericUserCore design)
protected void loadDefaultStates()
public Wire getConduitWire(java.lang.String name, int width)
name
- Name of the conduit to get the wire from.
GenericInterfaceCell
public void addConduitWire(java.lang.String name, Wire wire)
name
- Name of the conduit to get the wire from.
GenericInterfaceCell
public GenericUserCore currentlyLoadedUserCore()
public java.lang.String currentlyLoadedUserCoreName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |