|
|||||||||||
| 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.XilinxCL
byucc.jhdl.Xilinx.Virtex2.buft
BUFT is a 3-state buffer with input I, output O, and active-Low output enable (T). When T is Low, data on the input of the buffer is transferred to the output. When T is High, the output is high impedance (Z state or off). The outputs of the buffers are connected to horizontal longlines in FPGA architectures. The outputs of separate BUFT symbols can be tied together to form a bus or a multiplexer. Make sure that only one T is Low at one time. If none of the T inputs is active (Low), a 'weak-keeper' circuit (FPGAs) prevents the output bus from floating but does not guarantee that the bus remains at the last value driven onto it. Pull-up resistors can be used to establish a High logic level if all BUFT elements are off XC4000. For Virtex and Spartan2, when all BUFTs on a net are disabled, the net is High.
| Field Summary | |
static CellInterface[] |
cell_interface
The port interface for: buft i : in (1) t : in (1) o : out (1) |
static java.lang.String |
cellname
The static cellname (netlist reference name) for buft |
| Fields inherited from class byucc.jhdl.Xilinx.XilinxCL |
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 | |
protected |
buft(Node parent)
Used only by child classes to pass up the parent cell. |
|
buft(Node parent,
ArgBlockList abl)
Constructs a new buft, connecting its ports as given by the String-Wire pairs in the ArgBlockList. |
protected |
buft(Node parent,
java.lang.String name)
Used only by child classes to pass up the parent cell and instance name. |
|
buft(Node parent,
java.lang.String instanceName,
ArgBlockList abl)
Constructs a new buft, connecting its ports as given by the String-Wire pairs in the ArgBlockList. |
|
buft(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
Constructs a new buft, connecting each Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name. |
|
buft(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
Constructs a new buft, connecting each Wire to the port whose name is given by the accompanying String parameter |
|
buft(Node parent,
java.lang.String instanceName,
Wire i,
Wire t,
Wire o)
Constructs a new buft. |
|
buft(Node parent,
Wire i,
Wire t,
Wire o)
Constructs a new buft. |
| 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. |
boolean |
isDrivingOutput()
Must be implemented to state whether the cell is driving the tri-state output, based on the enable input. |
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.XilinxCL |
connectImplicitPorts |
| 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 buft(Node parent)
parent - Parent cell
protected buft(Node parent,
java.lang.String name)
parent - Parent cellname - Instance name of the cell
public buft(Node parent,
Wire i,
Wire t,
Wire o)
parent - The parent Cell to the bufti - The Wire to be connected to input port it - The Wire to be connected to input port to - The Wire to be connected to output port o
public buft(Node parent,
java.lang.String instanceName,
Wire i,
Wire t,
Wire o)
String parameter specifies the instance name.
parent - The parent Cell to the buftinstanceName - The instance name of the bufti - The Wire to be connected to input port it - The Wire to be connected to input port to - The Wire to be connected to output port o
public buft(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
Wire to the port whose name is given by the accompanying String parameter
parent - The parent Cell to the bufts0 - 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 s2
public buft(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
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 buftinstanceName - The instance name of the bufts0 - 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 s2
public buft(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 buftabl - The list of String-Wire pairs for port assignments, and String-String pairs for generic assignments.
public buft(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 buftinstanceName - The instance name of the buftabl - 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 Cellpublic final boolean cellInterfaceDeterminesUniqueNetlistStructure()
Cell
cellInterfaceDeterminesUniqueNetlistStructure in class Cellpublic final void propagate()
Structural
propagate in interface byucc.jhdl.base.Propagateablepropagate in class Structuralpublic int type()
PreDefinedSchematic
type in interface PreDefinedSchematicpublic boolean isDrivingOutput()
TriStateDriver
isDrivingOutput in interface TriStateDriverpublic 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 | ||||||||||