|
|||||||||||
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.BasicMemory
byucc.jhdl.Xilinx.XilinxBasicMemoryCL
byucc.jhdl.Xilinx.Virtex.lut1
LUT1, LUT2, LUT3, and LUT4 are, respectively, 1-, 2-, 3-, and 4-bit look-up-tables (LUTs) with general output (O). A mandatory INIT attribute, with an appropriate number of hexadecimal digits for the number of inputs, must be attached to the LUT to specify its function. LUT1 provides a look-up-table version of a buffer or inverter. LUTs are the basic Virtex and Spartan2 building blocks. Two LUTs are available in each CLB slice; four LUTs are available in each CLB. The variants, \"LUT1_D, LUT2_D, LUT3_D, LUT4_D\" and \"LUT1_L, LUT2_L, LUT3_L, LUT4_L,\" provide additional types of outputs that can be used by different timing models for more accurate pre-layout timing estimation. (Source: XACT Libraries Guide, Chapter 7 LUT1, 2, 3, 4, Xilinx Corporation, 1999.)
Field Summary | |
static CellInterface[] |
cell_interface
The port interface for: lut1 i0 : in (1) o : out (1) |
static java.lang.String |
cellname
The static cellname (netlist reference name) for lut1 |
Fields inherited from class byucc.jhdl.Xilinx.XilinxBasicMemoryCL |
implicit_interface |
Fields inherited from class byucc.jhdl.Xilinx.BasicMemory |
bitmasksl, contents |
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 | |
protected |
lut1(Node parent)
Used only by child classes to pass up the parent cell. |
|
lut1(Node parent,
ArgBlockList abl)
Constructs a new lut1, connecting its ports as given by the String-Wire pairs in the ArgBlockList . |
protected |
lut1(Node parent,
java.lang.String name)
Used only by child classes to pass up the parent cell and instance name. |
|
lut1(Node parent,
java.lang.String instanceName,
ArgBlockList abl)
Constructs a new lut1, connecting its ports as given by the String-Wire pairs in the ArgBlockList . |
|
lut1(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1)
Constructs a new lut1, connecting each Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name. |
|
lut1(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String INIT)
Constructs a new lut1, connecting each Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name. |
|
lut1(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1)
Constructs a new lut1, connecting each Wire to the port whose name is given by the accompanying String parameter |
|
lut1(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String INIT)
Constructs a new lut1, connecting each Wire to the port whose name is given by the accompanying String parameter
The final String parameters set the generics , INIT |
|
lut1(Node parent,
java.lang.String instanceName,
Wire i0,
Wire o)
Constructs a new lut1. |
|
lut1(Node parent,
java.lang.String instanceName,
Wire i0,
Wire o,
java.lang.String INIT)
Constructs a new lut1. |
|
lut1(Node parent,
Wire i0,
Wire o)
Constructs a new lut1. |
|
lut1(Node parent,
Wire i0,
Wire o,
java.lang.String INIT)
Constructs a new lut1. |
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)
|
void |
propagate()
Users defined propagatable behavior using standard JHDL constructs. |
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.Xilinx.XilinxBasicMemoryCL |
connectImplicitPorts |
Methods inherited from class byucc.jhdl.Xilinx.BasicMemory |
defaultSimulationModelIsBehavioral, getBits, getMemoryElement, getMemoryRange, getMemoryWidth, getSize, hexStr2Long, hexString2bin, init, initialize, padBits, read, readl, reset, reverseBits, shiftl, splitBits, write |
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 final java.lang.String cellname
public static CellInterface[] cell_interface
Constructor Detail |
protected lut1(Node parent)
parent
- Parent cellprotected lut1(Node parent, java.lang.String name)
parent
- Parent cellname
- Instance name of the cellpublic lut1(Node parent, Wire i0, Wire o)
parent
- The parent Cell
to the lut1i0
- The Wire
to be connected to input port i0o
- The Wire
to be connected to output port opublic lut1(Node parent, java.lang.String instanceName, Wire i0, Wire o)
String
parameter specifies the instance name.
parent
- The parent Cell
to the lut1instanceName
- The instance name of the lut1i0
- The Wire
to be connected to input port i0o
- The Wire
to be connected to output port opublic lut1(Node parent, Wire i0, Wire o, java.lang.String INIT)
String
parameters set the generics , INIT
parent
- The parent Cell
to the lut1i0
- The Wire
to be connected to input port i0o
- The Wire
to be connected to output port oINIT
- The String
assignment for generic INITpublic lut1(Node parent, java.lang.String instanceName, Wire i0, Wire o, java.lang.String INIT)
String
parameter specifies the instance name.
The final String
parameters set the generics , INIT
parent
- The parent Cell
to the lut1instanceName
- The instance name of the lut1i0
- The Wire
to be connected to input port i0o
- The Wire
to be connected to output port oINIT
- The String
assignment for generic INITpublic lut1(Node parent, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1)
Wire
to the port whose name is given by the accompanying String
parameter
parent
- The parent Cell
to the lut1s0
- 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 s1public lut1(Node parent, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1, java.lang.String INIT)
Wire
to the port whose name is given by the accompanying String
parameter
The final String
parameters set the generics , INIT
parent
- The parent Cell
to the lut1s0
- 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 s1INIT
- The String
assignment for generic INITpublic lut1(Node parent, java.lang.String instanceName, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1)
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 lut1instanceName
- The instance name of the lut1s0
- 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 s1public lut1(Node parent, java.lang.String instanceName, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1, java.lang.String INIT)
Wire
to the port whose name is given by the accompanying String
parameter
The initial String
parameter specifies the instance name.
The final String
parameters set the generics , INIT
parent
- The parent Cell
to the lut1instanceName
- The instance name of the lut1s0
- 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 s1INIT
- The String
assignment for generic INITpublic lut1(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 lut1abl
- The list of String-Wire
pairs for port assignments, and String-String
pairs for generic assignments.public lut1(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 lut1instanceName
- The instance name of the lut1abl
- 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 final boolean cellInterfaceDeterminesUniqueNetlistStructure()
Cell
cellInterfaceDeterminesUniqueNetlistStructure
in class Cell
public final void propagate()
Structural
propagate
in interface byucc.jhdl.base.Propagateable
propagate
in class Structural
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 |