byucc.jhdl.Logic
Class LogicGates

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
All Implemented Interfaces:
BooleanFlags, Clockable, byucc.jhdl.base.Propagateable, TreeListable
Direct Known Subclasses:
LogicStatic

public class LogicGates
extends Structural

This class only exists to split Logic into two files so that it's easier to deal with it. This class just contains all of the Logic gate instaniations that Logic used to do. See the documentation on Logic for a general description of what Logic does.


Field Summary
protected static TechMapper 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
LogicGates(Node parent, java.lang.String name)
           
 
Method Summary
 Wire add_o(Wire a, Wire b, Wire s)
          Constructs a new adder with no carry-out.
 Wire add_o(Wire a, Wire b, Wire s, java.lang.String name)
          Constructs a new adder with no carry-out.
 Wire add_o(Wire a, Wire b, Wire ci, Wire s)
          Constructs a new adder with no carry-out.
 Wire add_o(Wire a, Wire b, Wire ci, Wire s, java.lang.String name)
          Constructs a new adder with no carry-out.
 Wire add_o(Wire a, Wire b, Wire ci, Wire s, Wire co)
          Constructs a new adder.
 Wire add_o(Wire a, Wire b, Wire ci, Wire s, Wire co, java.lang.String name)
          Constructs a new adder.
 Wire add(Wire a, Wire b)
          Constructs a new adder with no carry-in or carry-out, and with a new wire connected to the sum output.
 Wire add(Wire a, Wire b, java.lang.String name)
          Constructs a new adder with no carry-in or carry-out, and with a new wire connected to the sum output.
 Wire add(Wire a, Wire b, Wire ci)
          Constructs a new adder with no carry-out, and with a new wire connected to the sum output.
 Wire add(Wire a, Wire b, Wire ci, java.lang.String name)
          Constructs a new adder with no carry-out, and with a new wire connected to the sum output.
 Wire addsub_o(Wire a, Wire b, Wire add, Wire s)
          Constructs a new adder-subtractor with no carry-out.
 Wire addsub_o(Wire a, Wire b, Wire add, Wire s, java.lang.String name)
          Constructs a new adder-subtractor with no carry-out.
 Wire addsub_o(Wire a, Wire b, Wire ci, Wire add, Wire s)
          Constructs a new adder-subtractor with no carry-out.
 Wire addsub_o(Wire a, Wire b, Wire ci, Wire add, Wire s, java.lang.String name)
          Constructs a new adder-subtractor with no carry-out.
 Wire addsub_o(Wire a, Wire b, Wire ci, Wire add, Wire s, Wire co)
          Constructs a new adder-subtractor.
 Wire addsub_o(Wire a, Wire b, Wire ci, Wire add, Wire s, Wire co, java.lang.String name)
          Constructs a new adder-subtractor.
 Wire addsub(Wire a, Wire b, Wire add)
          Constructs a new adder-subtractor with no carry-in or carry-out, and with a new wire connected to its sum output.
 Wire addsub(Wire a, Wire b, Wire add, java.lang.String name)
          Constructs a new adder-subtractor with no carry-in or carry-out, and with a new wire connected to its sum output.
 Wire addsub(Wire a, Wire b, Wire ci, Wire add)
          Constructs a new adder-subtractor with no carry-out, and with a new wire connected to its sum output.
 Wire addsub(Wire a, Wire b, Wire ci, Wire add, java.lang.String name)
          Constructs a new adder-subtractor with no carry-out, and with a new wire connected to its sum output.
 Wire and_o(Wire[] in, Wire out, java.lang.String name)
          Constructs a new Any-input and gate.
 Wire and_o(Wire in, Wire out)
          Constructs a new named arbitrary-number-input and gate.
 Wire and_o(Wire in, Wire out, java.lang.String name)
          Constructs a new arbitrary-number-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire out)
          Constructs a new 2-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire out, java.lang.String name)
          Constructs a new 2-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire out)
          Constructs a new 3-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire out, java.lang.String name)
          Constructs a new 3-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire out)
          Constructs a new 4-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire out, java.lang.String name)
          Constructs a new 4-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire out)
          Constructs a new 5-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire out, java.lang.String name)
          Constructs a new 5-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire out)
          Constructs a new 6-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire out, java.lang.String name)
          Constructs a new 6-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7, Wire out)
          Constructs a new 7-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7, Wire out, java.lang.String name)
          Constructs a new 7-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7, Wire in8, Wire out)
          Constructs a new 8-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7, Wire in8, Wire out, java.lang.String name)
          Constructs a new 8-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7, Wire in8, Wire in9, Wire out)
          Constructs a new 9-input and gate.
 Wire and_o(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7, Wire in8, Wire in9, Wire out, java.lang.String name)
          Constructs a new 9-input and gate.
 Wire and(Wire in)
          Constructs a new named arbitrary-number-input and gate, with a new wire as its output.
 Wire and(Wire in, java.lang.String name)
          Constructs a new arbitrary-number-input and gate, with a new wire as its output.
 Wire and(Wire in1, Wire in2)
          Constructs a new 2-input and gate, with a new wire as its output.
 Wire and(Wire in1, Wire in2, java.lang.String name)
          Constructs a new 2-input and gate, with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3)
          Constructs a new 3-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, java.lang.String name)
          Constructs a new 3-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4)
          Constructs a new 4-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4, java.lang.String name)
          Constructs a new 4-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5)
          Constructs a new 5-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, java.lang.String name)
          Constructs a new 5-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6)
          Constructs a new 6-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, java.lang.String name)
          Constructs a new 6-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7)
          Constructs a new 7-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7, java.lang.String name)
          Constructs a new 7-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7, Wire in8)
          Constructs a new 8-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7, Wire in8, java.lang.String name)
          Constructs a new 8-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7, Wire in8, Wire in9)
          Constructs a new 9-input and gate with a new wire as its output.
 Wire and(Wire in1, Wire in2, Wire in3, Wire in4, Wire in5, Wire in6, Wire in7, Wire in8, Wire in9, java.lang.String name)
          Constructs a new 9-input and gate with a new wire as its output.
 Wire ashiftr_o(Wire in, int shift, Wire out)
          Returns an arithmetically-right-shifted version of the input wire parameter.
 Wire ashiftr(Wire in, int shift)
          Returns an arithmetically-right-shifted version of the input wire parameter, with a new wire as its output.
 Wire ashiftr(Wire in, int shift, java.lang.String name)
          Returns an arithmetically-right-shifted version of the input wire parameter, with a new named wire as its output.
 Wire buf_o(Wire in, Wire out)
          Constructs a new buffer, with user-supplied wire as its output.
 Wire buf_o(Wire in, Wire out, java.lang.String name)
          Constructs a new buffer, with user-supplied wire as its output.
 Wire buf(Wire in)
          Constructs a new buffer, with a new wire as its output.
 Wire buf(Wire in, java.lang.String name)
          Constructs a new buffer, with a new wire as its output.
protected static void checkValueRepresentableInWidth(BV value, int width)
           
 Wire concat_o(Wire[] wa, Wire o)
          Returns a new wire that is the concatenation of the wires in the Wire[] parameter.
 Wire concat_o(Wire[] wa, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wires in the Wire[] parameter.
 Wire concat_o(WireList wl, Wire o)
          Returns a new wire that is the concatenation of the wires in the WireList parameter.
 Wire concat_o(WireList wl, Wire o, java.lang.String name)
          Returns a new named wire that is the concatenation of the wires in the WireList parameter.
 Wire concat_o(Wire w1, Wire w2, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire w11, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire w11, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire w11, Wire w12, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire w11, Wire w12, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire w11, Wire w12, Wire w13, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire w11, Wire w12, Wire w13, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire w11, Wire w12, Wire w13, Wire w14, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire w11, Wire w12, Wire w13, Wire w14, Wire o, java.lang.String name)
          Returns a new wire that is the concatenation of the wire parameter, with name given by the String parameter.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire w11, Wire w12, Wire w13, Wire w14, Wire w15, Wire o)
          Returns a new wire that is the concatenation of the input parameter wires.
 Wire concat_o(Wire w1, Wire w2, Wire w3, Wire w4, Wire w5, Wire w6, Wire w7, Wire w8, Wire w9, Wire w10, Wire w11, Wire w12, Wire w13, Wire w14, Wire w15,