All Packages Class Hierarchy This Package Previous Next Index
Class byucc.jhdl.Xilinx.Virtex.srl16
java.lang.Object
|
+----byucc.jhdl.base.Nameable
|
+----byucc.jhdl.base.Node
|
+----byucc.jhdl.base.Cell
|
+----byucc.jhdl.base.Structural
|
+----byucc.jhdl.Logic.Logic
|
+----byucc.jhdl.Xilinx.Virtex.Memory
|
+----byucc.jhdl.Xilinx.Virtex.srl16
- public final class srl16
- extends Memory
- implements PreDefinedSchematic
SRL16 is a shift register look up table (LUT). The inputs A3, A2,
A1, and A0 select the output length of the shift register. The
shift register may be of a fixed, static length or dynamically
adjusted. The shift register LUT contents are initialized by
assigning a four-digit hexadecimal number to an INIT
attribute. The first, or the left-most, hexadecimal digit is the
most significant bit. If an INIT value is not specified, it
defaults to a value of four zeros (0000) so that the shift
register LUT is cleared during configuration. The data (D) is
loaded into the first bit of the shift register during the
Low-to-High clock (CLK) transition and appears on the Q
output. During subsequent Low-to-High clock transitions data is
shifted to the next highest bit position as new data is loaded
into Q.
Static Length Mode
To get a fixed length shift register, drive the A3 through A0
inputs with static values. The length of the shift register can
vary from 1 bit to 16 bits as determined from the following
formula: Length = (8*A3) +(4*A2) + (2*A1) + A0 +1 If A3, A2, A1,
and A0 are all zeros (0000), the shift register is one bit
long. If they are all ones (1111), it is 16 bits long.
Dynamic Length Mode
The length of the shift register can be changed dynamically by
changing the values driving the A3 through A0 inputs. For example,
if A2, A1, and A0 are all ones (111) and A3 toggles between a one
(1) and a zero (0), the length of the shift register changes from
16 bits to 8 bits.
Internally, the length of the shift register is always 16 bits and
the input lines A3 through A0 select which of the 16 bits reach
the output.
(Source: XACT Libraries Guide, Xilinx Corporation, 1991-1998.)
-
cell_interface
- The port interface for srl16:
d: in (1)
a: in (4)
q: out (1)
-
cellname
- The static cellname (netlist reference name) for srl16
-
srl16(Node)
- Used only by child classes to pass up the parent cell.
-
srl16(Node, ArgBlockList)
- Constructs a new srl16, connecting its ports as given by the
String-Wire pairs in the ArgBlockList.
-
srl16(Node, String)
- Used only by child classes to pass up the parent cell and instance name.
-
srl16(Node, String, ArgBlockList)
- Constructs a new srl16, connecting its ports as given by the
String-Wire pairs in the ArgBlockList, with the initial String parameter as the instance name.
-
srl16(Node, String, String, Wire, String, Wire, String, Wire)
- Constructs a new srl16, connecting each
Wire to the port whose name is given by the accompanying String parameter, with the initial String parameter as the instance name.
-
srl16(Node, String, String, Wire, String, Wire, String, Wire, String)
- Constructs a new srl16, connecting each
Wire to the port whose name is given by the accompanying String parameter, with the initial String parameter as the instance name.
-
srl16(Node, String, Wire, String, Wire, String, Wire)
- Constructs a new srl16, connecting each
Wire to the port whose name is given by the accompanying String parameter.
-
srl16(Node, String, Wire, String, Wire, String, Wire, String)
- Constructs a new srl16, connecting each
Wire to the port whose name is given by the accompanying String parameter.
-
srl16(Node, String, Wire, Wire, Wire)
- Constructs a new srl16, with the initial
String parameter as the instance name.
-
srl16(Node, String, Wire, Wire, Wire, String)
- Constructs a new srl16, with the initial
String parameter as the instance name.
-
srl16(Node, Wire, Wire, Wire)
- Constructs a new srl16.
-
srl16(Node, Wire, Wire, Wire, String)
- Constructs a new srl16.
-
cellInterfaceDeterminesUniqueNetlistStructure()
-
-
clock()
- Performs the synchronous behavior of srl16.
-
main(String[])
-
-
reset()
- Performs the reset behavior of srl16.
-
test()
-
-
type()
-
cellname
public static final String cellname
- The static cellname (netlist reference name) for srl16
cell_interface
public static CellInterface cell_interface[]
- The port interface for srl16:
d: in (1)
a: in (4)
q: out (1)
srl16
protected srl16(Node parent)
- Used only by child classes to pass up the parent cell.
- Parameters:
- parent - Parent cell
srl16
protected srl16(Node parent,
String name)
- Used only by child classes to pass up the parent cell and instance name.
- Parameters:
- parent - Parent cell
- name - Instance name of the cell
srl16
public srl16(Node parent,
Wire d,
Wire a,
Wire q)
- Constructs a new srl16.
- Parameters:
- parent - The parent
Cell to the srl16
- d - The
Wire to be connected to input port d
- a - The
Wire to be connected to input port a
- q - The
Wire to be connected to output port q
srl16
public srl16(Node parent,
String instanceName,
Wire d,
Wire a,
Wire q)
- Constructs a new srl16, with the initial
String parameter as the instance name.
- Parameters:
- parent - The parent
Cell to the srl16
- instanceName - The instance name of the srl16
- d - The
Wire to be connected to input port d
- a - The
Wire to be connected to input port a
- q - The
Wire to be connected to output port q
srl16
public srl16(Node parent,
String s0,
Wire w0,
String s1,
Wire w1,
String s2,
Wire w2)
- Constructs a new srl16, connecting each
Wire to the port whose name is given by the accompanying String parameter.
- Parameters:
- parent - The parent
Cell to the srl16
- s0 - The name of the port to which w0 will be connected
- w0 - The
Wire to be connected to the port specified by s0
- s1 - The name of the port to which w1 will be connected
- w1 - The
Wire to be connected to the port specified by s1
- s2 - The name of the port to which w2 will be connected
- w2 - The
Wire to be connected to the port specified by s2
srl16
public srl16(Node parent,
String instanceName,
String s0,
Wire w0,
String s1,
Wire w1,
String s2,
Wire w2)
- Constructs a new srl16, connecting each
Wire to the port whose name is given by the accompanying String parameter, with the initial String parameter as the instance name.
- Parameters:
- parent - The parent
Cell to the srl16
- instanceName - The instance name of the srl16
- s0 - The name of the port to which w0 will be connected
- w0 - The
Wire to be connected to the port specified by s0
- s1 - The name of the port to which w1 will be connected
- w1 - The
Wire to be connected to the port specified by s1
- s2 - The name of the port to which w2 will be connected
- w2 - The
Wire to be connected to the port specified by s2
srl16
public srl16(Node parent,
Wire d,
Wire a,
Wire q,
String INIT)
- Constructs a new srl16. The final
String parameters set `the generics INIT.
- Parameters:
- parent - The parent
Cell to the srl16
- d - The
Wire to be connected to input port d
- a - The
Wire to be connected to input port a
- q - The
Wire to be connected to output port q
- INIT - The
String assignment for generic INIT
srl16
public srl16(Node parent,
String instanceName,
Wire d,
Wire a,
Wire q,
String INIT)
- Constructs a new srl16, with the initial
String parameter as the instance name. The final String parameters set `the generics INIT.
- Parameters:
- parent - The parent
Cell to the srl16
- instanceName - The instance name of the srl16
- d - The
Wire to be connected to input port d
- a - The
Wire to be connected to input port a
- q - The
Wire to be connected to output port q
- INIT - The
String assignment for generic INIT
srl16
public srl16(Node parent,
String s0,
Wire w0,
String s1,
Wire w1,
String s2,
Wire w2,
String INIT)
- Constructs a new srl16, connecting each
Wire to the port whose name is given by the accompanying String parameter. The final String parameters set `the generics INIT.
- Parameters:
- parent - The parent
Cell to the srl16
- s0 - The name of the port to which w0 will be connected
- w0 - The
Wire to be connected to the port specified by s0
- s1 - The name of the port to which w1 will be connected
- w1 - The
Wire to be connected to the port specified by s1
- s2 - The name of the port to which w2 will be connected
- w2 - The
Wire to be connected to the port specified by s2
- INIT - The
String assignment for generic INIT
srl16
public srl16(Node parent,
String instanceName,
String s0,
Wire w0,
String s1,
Wire w1,
String s2,
Wire w2,
String INIT)
- Constructs a new srl16, connecting each
Wire to the port whose name is given by the accompanying String parameter, with the initial String parameter as the instance name. The final String parameters set `the generics INIT.
- Parameters:
- parent - The parent
Cell to the srl16
- instanceName - The instance name of the srl16
- s0 - The name of the port to which w0 will be connected
- w0 - The
Wire to be connected to the port specified by s0
- s1 - The name of the port to which w1 will be connected
- w1 - The
Wire to be connected to the port specified by s1
- s2 - The name of the port to which w2 will be connected
- w2 - The
Wire to be connected to the port specified by s2
- INIT - The
String assignment for generic INIT
srl16
public srl16(Node parent,
ArgBlockList abl)
- Constructs a new srl16, connecting its ports as given by the
String-Wire pairs in the ArgBlockList. Any generic assignments are made through String-String pairs in the ArgBlockList.
- Parameters:
- parent - The parent
Cell to the srl16
- abl - The list of
String-Wire pairs for port assignments, and String-String pairs for generic assignments.
srl16
public srl16(Node parent,
String instanceName,
ArgBlockList abl)
- Constructs a new srl16, connecting its ports as given by the
String-Wire pairs in the ArgBlockList, with the initial String parameter as the instance name. Any generic assignments are made through String-String pairs in the ArgBlockList.
- Parameters:
- parent - The parent
Cell to the srl16
- instanceName - The instance name of the srl16
- abl - The list of
String-Wire pairs for port assignments, and String-String pairs for generic assignments.
cellInterfaceDeterminesUniqueNetlistStructure
public final boolean cellInterfaceDeterminesUniqueNetlistStructure()
- Overrides:
- cellInterfaceDeterminesUniqueNetlistStructure in class Cell
clock
public final void clock()
- Performs the synchronous behavior of srl16.
- Overrides:
- clock in class Structural
reset
public void reset()
- Performs the reset behavior of srl16. Reset state is defined as:
- Overrides:
- reset in class Memory
type
public int type()
main
public static void main(String argv[])
test
public static void test()
All Packages Class Hierarchy This Package Previous Next Index