|
|||||||||||
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.Annotation
byucc.jhdl.Xilinx.XilinxAnn
byucc.jhdl.Xilinx.XC4000.hmap
The HMAP symbol is used to control logic partitioning into XC4000 family 3-input H funciton generators. It is usually used with FMAP, which partitions logic into F and G function generators. The FMAP sits 'around' a set of existing gates, indicating the boundary of partitioning for a given function. (Source: XACT Libraries Guide, pg. 3-304, Xilinx Corporation, 1994.)
Field Summary | |
static CellInterface[] |
cell_interface
The port interface for: hmap i1 : in (1) i2 : in (1) i3 : in (1) o : out (1) |
static java.lang.String |
cellname
The static cellname (netlist reference name) for hmap |
Constructor Summary | |
protected |
hmap(Node parent)
Used only by child classes to pass up the parent cell. |
|
hmap(Node parent,
ArgBlockList abl)
Constructs a new hmap, connecting its ports as given by the String-Wire pairs in the ArgBlockList . |
protected |
hmap(Node parent,
java.lang.String name)
Used only by child classes to pass up the parent cell and instance name. |
|
hmap(Node parent,
java.lang.String instanceName,
ArgBlockList abl)
Constructs a new hmap, connecting its ports as given by the String-Wire pairs in the ArgBlockList . |
|
hmap(Node parent,
java.lang.String name,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
|
|
hmap(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3)
Constructs a new hmap, connecting each Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name. |
|
hmap(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
|
|
hmap(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3)
Constructs a new hmap, connecting each Wire to the port whose name is given by the accompanying String parameter |
|
hmap(Node parent,
java.lang.String instanceName,
Wire i1,
Wire i2,
Wire i3,
Wire o)
Constructs a new hmap. |
|
hmap(Node parent,
Wire i1,
Wire i2,
Wire i3,
Wire o)
Constructs a new hmap. |
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. |
java.lang.String |
getCellName()
Access the cell name associated with a derived class. |
static void |
main(java.lang.String[] argv)
|
boolean |
portMayBeUndriven(java.lang.String portname)
This method will be called when JHDL detects an undriven input port. |
static void |
test()
|
int |
type()
This method returns one of the predefined schematic constants to identify the type of this cell. |
Methods inherited from class byucc.jhdl.base.Annotation |
hasBehaviorInClockMethod, hasBehaviorInPropagateMethod, needsToBeAsynchronouslyScheduled |
Methods inherited from class byucc.jhdl.base.Node |
addObservable, addSimulatorCallback, checkAll, delete, getBuildingFlag, getChildren, getChildrenEnumeration, getDefaultClock, 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 final java.lang.String cellname
public static CellInterface[] cell_interface
Constructor Detail |
public hmap(Node parent, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1, java.lang.String s2, Wire w2)
public hmap(Node parent, java.lang.String name, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1, java.lang.String s2, Wire w2)
protected hmap(Node parent)
parent
- Parent cellprotected hmap(Node parent, java.lang.String name)
parent
- Parent cellname
- Instance name of the cellpublic hmap(Node parent, Wire i1, Wire i2, Wire i3, Wire o)
parent
- The parent Cell
to the hmapi1
- The Wire
to be connected to input port i1i2
- The Wire
to be connected to input port i2i3
- The Wire
to be connected to input port i3o
- The Wire
to be connected to output port opublic hmap(Node parent, java.lang.String instanceName, Wire i1, Wire i2, Wire i3, Wire o)
String
parameter specifies the instance name.
parent
- The parent Cell
to the hmapinstanceName
- The instance name of the hmapi1
- The Wire
to be connected to input port i1i2
- The Wire
to be connected to input port i2i3
- The Wire
to be connected to input port i3o
- The Wire
to be connected to output port opublic hmap(Node parent, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1, java.lang.String s2, Wire w2, java.lang.String s3, Wire w3)
Wire
to the port whose name is given by the accompanying String
parameter
parent
- The parent Cell
to the hmaps0
- The name of the port to which w0 will be connectedw0
- The Wire
to be connected to the port specified by s0s1
- The name of the port to which w1 will be connectedw1
- The Wire
to be connected to the port specified by s1s2
- The name of the port to which w2 will be connectedw2
- The Wire
to be connected to the port specified by s2s3
- The name of the port to which w3 will be connectedw3
- The Wire
to be connected to the port specified by s3public hmap(Node parent, java.lang.String instanceName, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1, java.lang.String s2, Wire w2, java.lang.String s3, Wire w3)
Wire
to the port whose name is given by the accompanying String
parameter
The initial String
parameter specifies the instance name.
parent
- The parent Cell
to the hmapinstanceName
- The instance name of the hmaps0
- The name of the port to which w0 will be connectedw0
- The Wire
to be connected to the port specified by s0s1
- The name of the port to which w1 will be connectedw1
- The Wire
to be connected to the port specified by s1s2
- The name of the port to which w2 will be connectedw2
- The Wire
to be connected to the port specified by s2s3
- The name of the port to which w3 will be connectedw3
- The Wire
to be connected to the port specified by s3public hmap(Node parent, ArgBlockList abl)
String-Wire
pairs in the ArgBlockList
. Any generic assignments are made through String-String
pairs in the ArgBlockList
.
parent
- The parent Cell
to the hmapabl
- The list of String-Wire
pairs for port assignments, and String-String
pairs for generic assignments.public hmap(Node parent, java.lang.String instanceName, ArgBlockList abl)
String-Wire
pairs in the ArgBlockList
. Any generic assignments are made through String-String
pairs in the ArgBlockList
.
The initial String
parameter is the instance name.
parent
- The parent Cell
to the hmapinstanceName
- The instance name of the hmapabl
- The list of String-Wire
pairs for port assignments, and String-String
pairs for generic assignments.Method Detail |
public java.lang.String getCellName()
Cell
getCellName
in class Cell
public boolean portMayBeUndriven(java.lang.String portname)
UndrivenInputsAllowable
portMayBeUndriven
in interface UndrivenInputsAllowable
portname
- the name of the port, from the cell_interface
public final boolean cellInterfaceDeterminesUniqueNetlistStructure()
Cell
cellInterfaceDeterminesUniqueNetlistStructure
in class Cell
public int type()
PreDefinedSchematic
type
in interface PreDefinedSchematic
public static void main(java.lang.String[] argv)
public static void test()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |