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.)


Variable Index

 o cell_interface
The port interface for srl16: d: in (1) a: in (4) q: out (1)
 o cellname
The static cellname (netlist reference name) for srl16

Constructor Index

 o srl16(Node)
Used only by child classes to pass up the parent cell.
 o srl16(Node, ArgBlockList)
Constructs a new srl16, connecting its ports as given by the String-Wire pairs in the ArgBlockList.
 o srl16(Node, String)
Used only by child classes to pass up the parent cell and instance name.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o srl16(Node, String, Wire, Wire, Wire)
Constructs a new srl16, with the initial String parameter as the instance name.
 o srl16(Node, String, Wire, Wire, Wire, String)
Constructs a new srl16, with the initial String parameter as the instance name.
 o srl16(Node, Wire, Wire, Wire)
Constructs a new srl16.
 o srl16(Node, Wire, Wire, Wire, String)
Constructs a new srl16.

Method Index

 o cellInterfaceDeterminesUniqueNetlistStructure()
 o clock()
Performs the synchronous behavior of srl16.
 o main(String[])
 o reset()
Performs the reset behavior of srl16.
 o test()
 o type()

Variables

 o cellname
 public static final String cellname
The static cellname (netlist reference name) for srl16

 o cell_interface
 public static CellInterface cell_interface[]
The port interface for srl16: d: in (1) a: in (4) q: out (1)

Constructors

 o srl16
 protected srl16(Node parent)
Used only by child classes to pass up the parent cell.

Parameters:
parent - Parent cell
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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.
 o 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.

Methods

 o cellInterfaceDeterminesUniqueNetlistStructure
 public final boolean cellInterfaceDeterminesUniqueNetlistStructure()
Overrides:
cellInterfaceDeterminesUniqueNetlistStructure in class Cell
 o clock
 public final void clock()
Performs the synchronous behavior of srl16.

Overrides:
clock in class Structural
 o reset
 public void reset()
Performs the reset behavior of srl16. Reset state is defined as:

Overrides:
reset in class Memory
 o type
 public int type()
 o main
 public static void main(String argv[])
 o test
 public static void test()

All Packages  Class Hierarchy  This Package  Previous  Next  Index