Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

engine
Class TranGateDescription  view TranGateDescription download TranGateDescription.java

java.lang.Object
  extended byengine.StdGateDescription
      extended byengine.TranGateDescription
All Implemented Interfaces:
ModuleFactory, java.io.Serializable

class TranGateDescription
extends StdGateDescription

Transistors: [r]tran, [r]tranif(0|1) There is no associated TranGate class, since a tran is a pair of MContAssignMonitors (to which I have added reduceing strength capabiliies). Since the standard does not specify the exact behaviour of tran gates (no truth tables & stuff), I suppose the most probable one should be as foloows: if the control wire (we're spaking about tranif?) has any value other than 1, the tranif? is off.


Field Summary
static byte and
           
(package private)  int anonymousInstanceNo
          Use this counter to uniquify names for anonymous instances.
static byte buf
           
static byte bufif0
           
static byte bufif1
           
static byte cmos
           
(package private)  Delay3 delay
           
(package private)  int delaySpecs
          how many delays a spcific gate type can have
static byte nand
           
static byte nmos
           
static byte nor
           
static byte not
           
static byte notif0
           
static byte notif1
           
static byte or
           
static byte pmos
           
static byte rcmos
           
static byte rnmos
           
static byte rpmos
           
static byte rtran
           
static byte rtranif0
           
static byte rtranif1
           
static byte tran
           
static byte tranif0
           
static byte tranif1
           
(package private)  byte type
           
static java.lang.String[] typeToString
           
static byte xnor
           
static byte xor
           
 
Constructor Summary
(package private) TranGateDescription(byte type)
           
 
Method Summary
 java.lang.Object createNewModule(NameSpace parent, ModuleInstanceDescription miDesc, byte strength, middle.ScopeNode scope)
           
 java.lang.Object createNewModuleArray(NameSpace parent, ModuleInstanceDescription miDesc, byte strength, middle.ScopeNode scope, int ars, int are, int n, int increment)
           
 java.lang.String createNewName()
          Return a new unique name for an anonymous instance.
 boolean isTop()
           
(package private)  void makeInternalPorts(NameSpace parent, ExpressionDescription portDesc, WireSelection p, WireSelection[] intern, int n)
           
 java.lang.String name()
           
(package private)  void preparePortExpression(ExpressionDescription port)
           
 void setParams(java.util.Vector results, Delay3 delays)
          Sets the parameters for the following instantiations.
 void unsetParams()
          Reverses the parameters to their default values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

and

public static final byte and
See Also:
Constant Field Values

nand

public static final byte nand
See Also:
Constant Field Values

or

public static final byte or
See Also:
Constant Field Values

nor

public static final byte nor
See Also:
Constant Field Values

xor

public static final byte xor
See Also:
Constant Field Values

xnor

public static final byte xnor
See Also:
Constant Field Values

buf

public static final byte buf
See Also:
Constant Field Values

not

public static final byte not
See Also:
Constant Field Values

bufif0

public static final byte bufif0
See Also:
Constant Field Values

bufif1

public static final byte bufif1
See Also:
Constant Field Values

notif0

public static final byte notif0
See Also:
Constant Field Values

notif1

public static final byte notif1
See Also:
Constant Field Values

cmos

public static final byte cmos
See Also:
Constant Field Values

nmos

public static final byte nmos
See Also:
Constant Field Values

pmos

public static final byte pmos
See Also:
Constant Field Values

rcmos

public static final byte rcmos
See Also:
Constant Field Values

rnmos

public static final byte rnmos
See Also:
Constant Field Values

rpmos

public static final byte rpmos
See Also:
Constant Field Values

tran

public static final byte tran
See Also:
Constant Field Values

rtran

public static final byte rtran
See Also:
Constant Field Values

tranif0

public static final byte tranif0
See Also:
Constant Field Values

rtranif0

public static final byte rtranif0
See Also:
Constant Field Values

tranif1

public static final byte tranif1
See Also:
Constant Field Values

rtranif1

public static final byte rtranif1
See Also:
Constant Field Values

typeToString

public static final java.lang.String[] typeToString

delay

Delay3 delay

type

byte type

delaySpecs

int delaySpecs
how many delays a spcific gate type can have


anonymousInstanceNo

int anonymousInstanceNo
Use this counter to uniquify names for anonymous instances.

Constructor Detail

TranGateDescription

TranGateDescription(byte type)
Method Detail

createNewModule

public java.lang.Object createNewModule(NameSpace parent,
                                        ModuleInstanceDescription miDesc,
                                        byte strength,
                                        middle.ScopeNode scope)
                                 throws ParseException

createNewModuleArray

public java.lang.Object createNewModuleArray(NameSpace parent,
                                             ModuleInstanceDescription miDesc,
                                             byte strength,
                                             middle.ScopeNode scope,
                                             int ars,
                                             int are,
                                             int n,
                                             int increment)
                                      throws ParseException

makeInternalPorts

void makeInternalPorts(NameSpace parent,
                       ExpressionDescription portDesc,
                       WireSelection p,
                       WireSelection[] intern,
                       int n)
                 throws ParseException

preparePortExpression

void preparePortExpression(ExpressionDescription port)
                     throws ParseException

createNewName

public java.lang.String createNewName()
Return a new unique name for an anonymous instance. The name is made up from the ty[e's name and a unique number.


name

public java.lang.String name()
Specified by:
name in interface ModuleFactory

setParams

public void setParams(java.util.Vector results,
                      Delay3 delays)
               throws ParseException
Description copied from interface: ModuleFactory
Sets the parameters for the following instantiations.

Specified by:
setParams in interface ModuleFactory

unsetParams

public void unsetParams()
Description copied from interface: ModuleFactory
Reverses the parameters to their default values.

Specified by:
unsetParams in interface ModuleFactory

isTop

public boolean isTop()
Specified by:
isTop in interface ModuleFactory