|
|||||||||||
| 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.contrib.modgen.upcnt

Upcnt is a loadable, holdable up counter.
All state changes occur on the rising
edge.
See the tables below for a better understanding on how this module
works.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Upcnt implements a registered incrementer with a mux that selects between the incremented value, or the data on the load_data signal.
CLB count:
CLB placement:
Slice count:
Slice placement:
| Field Summary | |
static CellInterface[] |
cell_interface
|
static java.lang.String |
cellname
The output is a generic width |
static CellInterface[] |
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 | |
upcnt(Node parent,
Wire clk_en,
Wire load,
Wire load_data,
Wire out)
|
|
upcnt(Node parent,
Wire clk_en,
Wire load,
Wire load_data,
Wire out,
BV resetState)
|
|
upcnt(Node parent,
Wire clk_en,
Wire load,
Wire load_data,
Wire out,
BV resetState,
java.lang.String name)
|
|
upcnt(Node parent,
Wire clk_en,
Wire load,
Wire load_data,
Wire out,
long resetState)
|
|
upcnt(Node parent,
Wire clk_en,
Wire load,
Wire load_data,
Wire out,
long resetState,
java.lang.String name)
|
|
upcnt(Node parent,
Wire clk_en,
Wire load,
Wire load_data,
Wire out,
java.lang.String name)
|
|
upcnt(Node parent,
Wire clk,
Wire clk_en,
Wire load,
Wire load_data,
Wire out)
|
|
upcnt(Node parent,
Wire clk,
Wire clk_en,
Wire load,
Wire load_data,
Wire out,
BV resetState)
|
|
upcnt(Node parent,
Wire clk,
Wire clk_en,
Wire load,
Wire load_data,
Wire out,
BV resetState,
java.lang.String name)
|
|
upcnt(Node parent,
Wire clk,
Wire clk_en,
Wire load,
Wire load_data,
Wire out,
long resetState)
|
|
upcnt(Node parent,
Wire clk,
Wire clk_en,
Wire load,
Wire load_data,
Wire out,
long resetState,
java.lang.String name)
|
|
upcnt(Node parent,
Wire clk,
Wire clk_en,
Wire load,
Wire load_data,
Wire out,
java.lang.String name)
|
|
| 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. |
void |
clock()
Clock is used in the behavioral model and is called once per clock cycle |
static long |
compute(int load,
long load_data,
long out,
int width)
Used in behavioral model to compute the output. |
static BV |
computeBV(int load,
BV load_data,
BV out,
int width)
Used in behavioral model to compute the output. |
void |
connectImplicitPorts()
Connects the implicit ports. |
protected boolean |
defaultSimulationModelIsBehavioral()
Default simulation model is behavioral |
java.lang.String |
getCellName()
Access the cell name associated with a derived class. |
void |
propagate()
Propagate isn't used in this class |
void |
reset()
Resets the output to the user-provided reset state. |