byucc.jhdl.Logic.Modules
Class OTHERS

java.lang.Object
  extended bybyucc.jhdl.base.Nameable
      extended bybyucc.jhdl.base.Node
          extended bybyucc.jhdl.base.Cell
              extended bybyucc.jhdl.base.Structural
                  extended bybyucc.jhdl.Logic.LogicGates
                      extended bybyucc.jhdl.Logic.LogicStatic
                          extended bybyucc.jhdl.Logic.Logic
                              extended bybyucc.jhdl.Logic.Modules.OTHERS
All Implemented Interfaces:
BooleanFlags, Clockable, byucc.jhdl.base.Propagateable, TreeListable

public class OTHERS
extends Logic

General Description

The OTHERS class contains static methods to construct various modules. The methods are wrappers for Logic.Modules.accum , Logic.Modules.delay , Logic.Modules.toggle, and Logic.Modules.rounder. See the links for all the details. The wrappers save the user from dealing with all constructor parameters. They only need to provide the parameters they care about.

 

Usage Examples:

To use any of these routines you must first import this class:
  import byucc.jhdl.Logic.Modules.OTHERS;

Alternatively, you could import the entire Logic.Modules package:
  import byucc.jhdl.Logic.Modules.*;

The first three parameters after the input in accum are clr, adsub, and en. Therefore, the methods are named with that order. If there is only a clr and an adsub to provide, the method name is ClrAddsub_Accum, with parameter order this, in, clr, adsub, out, name. If a signed accum is desired, the method name will have Signed in front of anything else. See the examples below.

To instance an accum that is clearable, enabled, and signed, the following method would be used:
  OTHERS.SignedClrEn_Accum(this, in, clr, en, out, "accum_sce");

To instance an unsigned accum with an adsub command, the method would be:
  OTHERS.Addsub_Accum(this, in, adsub, out, "accum_addsub");

To instance a delay, the method would be:
  OTHERS.Delay(this, length, data, out, "Mr_delay");

To instance an enabled delay, the method would be:
  OTHERS.En_Delay(this, length, data, en, out, "delay_en");

To instance a signed rounder, the method would be:
  OTHERS.Signed_Rounder(this, a, q, "rounder_signed");

To instance a toggle, the method woule be:
  OTHERS.Toggle(this, en, out);

For all available methods, see Method Summary or Method Detail.

Version:
$Revision: 1.10 $
Author:
Dan Baker

Field Summary
 
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, 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
 
Fields inherited from interface byucc.jhdl.base.BooleanFlags
ANTECEDANT_IS_BEHAVIORALLY_MODELED, ASYNC_PORT, ASYNCHRONOUS_RESOLVED, ATOMICALLY_PLACEABLE, ATOMICALLY_UNMAPPABLE, BEHAVIORALLY_MODELED_BRANCH, CLK_PORT, CLOCK_METHOD_IMPLEMENTED_BY_USER, CLOCK_METHOD_IS_DISABLED, CLOCKABLE_IS_SCHEDULED, DANGLING_IS_OK, DELETE_MARK, FATAL_BUILD_ERROR_OCCURED, HAS_BEEN_TRACED, HAS_USER_SPECIFIED_NAME, HWUPDATE, IMPLICIT_PORT, IN_CLK_PORT, IN_PORT, INOUT_PORT, IO_TYPE_FLAGS, IS_BEHAVIORALLY_MODELED, IS_ON_BUILD_STACK, IS_ON_PROP_LIST, IS_PLACED, METHODS_IMPLEMENTED_BY_USER, NETLISTABLE, ORIG_WIRE_IS_ATOMIC, OUT_PORT, PLACEMENT_IS_LOCKED, PROPAGATE_METHOD_IMPLEMENTED_BY_USER, PROPAGATE_METHOD_IS_DISABLED, RECURSION_FLAG, RESET_METHOD_IMPLEMENTED_BY_USER, SIMULATEABLE, SOURCELESS_IS_OK, SYNC_PORT, VISIBLE
 
Constructor Summary
OTHERS(Node parent)
           
 
Method Summary
static void Accum(Node parent, Wire a, Wire q)
           
static void Accum(Node parent, Wire a, Wire q, java.lang.String instanceName)
           
static void Addsub_Accum(Node parent, Wire in, Wire adsub, Wire out)
           
static void Addsub_Accum(Node parent, Wire in, Wire adsub, Wire out, java.lang.String instanceName)
           
static void AddsubEn_Accum(Node parent, Wire in, Wire adsub, Wire en, Wire out)
           
static void AddsubEn_Accum(Node parent, Wire in, Wire adsub, Wire en, Wire out, java.lang.String instanceName)
           
static void Clr_Accum(Node parent, Wire a, Wire clr, Wire q)
           
static void Clr_Accum(Node parent, Wire a, Wire clr, Wire q, java.lang.String instanceName)
           
static void ClrAddsub_Accum(Node parent, Wire a, Wire clr, Wire adsub, Wire q)
           
static void ClrAddsub_Accum(Node parent, Wire a, Wire clr, Wire adsub, Wire q, java.lang.String instanceName)
           
static void ClrAddsubEn_Accum(Node parent, Wire a, Wire clr, Wire adsub, Wire en, Wire q)
           
static void ClrAddsubEn_Accum(Node parent, Wire a, Wire clr, Wire adsub, Wire en, Wire q, java.lang.String instanceName)
           
static void ClrEn_Accum(Node parent, Wire a, Wire clr, Wire en, Wire q)
           
static void ClrEn_Accum(Node parent, Wire a, Wire clr, Wire en, Wire q, java.lang.String instanceName)
           
static void Delay(Node parent, int len, Wire d, Wire q)
           
static void Delay(Node parent, int len, Wire d, Wire q, java.lang.String instanceName)
           
static void En_Accum(Node parent, Wire in, Wire en, Wire out)
           
static void En_Accum(Node parent, Wire in, Wire en, Wire out, java.lang.String instanceName)
           
static void En_Delay(Node parent, int len, Wire d, Wire en, Wire q)
           
static void En_Delay(Node parent, int len, Wire d, Wire en, Wire q, java.lang.String instanceName)
           
static void Rounder(Node parent, Wire a, Wire q)
           
static void Rounder(Node parent, Wire a, Wire q, java.lang.String instanceName)
           
static void Signed_Accum(Node parent, Wire a, Wire q)
           
static void Signed_Accum(Node parent, Wire a, Wire q, java.lang.String instanceName)
           
static void Signed_Rounder(Node parent, Wire a, Wire q)
           
static void Signed_Rounder(Node parent, Wire a, Wire q, java.lang.String instanceName)
           
static void SignedAddsub_Accum(Node parent, Wire a, Wire adsub, Wire q)
           
static void SignedAddsub_Accum(Node parent, Wire a, Wire adsub, Wire q, java.lang.String instanceName)
           
static void SignedAddsubEn_Accum(Node parent, Wire a, Wire adsub, Wire en, Wire q)
           
static void SignedAddsubEn_Accum(Node parent, Wire a, Wire adsub, Wire en, Wire q, java.lang.String instanceName)
           
static void SignedClr_Accum(Node parent, Wire a, Wire clr, Wire q)
           
static void SignedClr_Accum(Node parent, Wire a, Wire clr, Wire q, java.lang.String instanceName)
           
static void SignedClrAddsub_Accum(Node parent, Wire a, Wire clr, Wire adsub, Wire q)
           
static void SignedClrAddsub_Accum(Node parent, Wire a, Wire clr, Wire adsub, Wire q, java.lang.String instanceName)
           
static void SignedClrAddsubEn_Accum(Node parent, Wire a, Wire clr, Wire adsub, Wire en, Wire q)
           
static void SignedClrAddsubEn_Accum(Node parent, Wire a, Wire clr, Wire adsub, Wire en, Wire q, java.lang.String instanceName)
           
static void SignedClrEn_Accum(Node parent, Wire a, Wire clr, Wire en, Wire q)
           
static void SignedClrEn_Accum(Node parent, Wire a, Wire clr, Wire en, Wire q, java.lang.String instanceName)
           
static void SignedEn_Accum(Node parent, Wire a, Wire en, Wire q)
           
static void SignedEn_Accum(Node parent, Wire a, Wire en, Wire q, java.lang.String instanceName)
           
static void Toggle(Node parent, Wire enable, Wire toggle_out)
           
static void Toggle(Node parent, Wire enable, Wire toggle_out, java.lang.String instanceName)
           
 
Methods inherited from class byucc.jhdl.Logic.Logic
clockDriver, clockDriver, connect_implicit_ports, connectImplicitPorts, constructSubCell, constructSubCellNoImplicitPorts, enableNewPlacement, enableNewPlacement, extend, extend, getDefaultClock, getDefaultTechMapper, getGlobalClock, getSinkCell, getSourceCell, getSourceCell, getSourceLeaf, getSourcePlaceable, getSourcePlaceableLeaf, getSubCellClass, getTechMapHint, getTechMapHint, getTechMapper, growAndShiftl, lockChildPlacement, lsb, lsb, map, map, map, map, map, map, map, map, map, map, map, map, map, map, map, map, map, map, map, msb, msb, msbIndx, netlist, netlist, netlist, netlist, netlist, netlist, netlist, netlist, padClock_o, padClock_o, padClock_o, padClock, padClock, padClock, padIn_o, padIn_o, padIn_o, padIn, padIn, padIn, padInout_o, padInout_o, padInout_o, padInout, padInout, padInout, padOut_o, padOut_o, padOut_o, padOut, padOut, padOut, padOutT_o, padOutT_o, padOutT_o, padOutT, padOutT, padOutT, place, place, place, place, place, place, place, place, place, place, place, place, place, place, place, place, place, printTechMapHints, range, rotate, rotate, scale, scale, setBBox, setDefaultTechMapper, setFloorPlannerIsMaster, setTechMappingEnabled, setWandH, signExtend_o, signExtend, signExtend, sink, source, takeBot_o, takeBot, takeBot, takeBotSigned_o, takeBotSigned, takeTop_o, takeTop, takeTop, techmap, techMappingEnabled, translate, translate, zeroExtend_o, zeroExtend, zeroExtend, zeroExtendRight_o, zeroExtendRight
 
Methods inherited from class byucc.jhdl.Logic.LogicStatic
add_o, add_o, and_o, and_o, and, and, buf_o, buf_o, buf, buf, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, constant_o, constant_o, constant_o, constant_o, constant_o, constant_o, constant_o, constant_o, constant, constant, constant, constant, constant, constant, constant, constant, constant, constant, gnd_o, gnd_o, gnd, gnd, gnd, gnd, mux_o, mux, nc, nc, nc, nc, nc, nc, not_o, not_o, not, not, or_o, or_o, or, or, reg_o, reg, vcc_o, vcc_o, vcc, vcc, vcc, vcc, wire, wire, wire, wire, xnor_o, xnor_o, xnor, xor_o, xor
 
Methods inherited from class byucc.jhdl.Logic.LogicGates
add_o, add_o, add_o, add_o, add_o, add_o, add, add, add, add, addsub_o, addsub_o, addsub_o, addsub_o, addsub_o, addsub_o, addsub, addsub, addsub, addsub, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and_o, and, and, and, and, and, and, and, and, and, and, and, and, and, and, and, and, and, and, ashiftr_o, ashiftr, ashiftr, buf_o, buf_o, buf, buf, checkValueRepresentableInWidth, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat_o, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat,