engine
Class TranGateDescription

java.lang.Object
engine.StdGateDescription
engine.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.
|
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 |
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.
TranGateDescription
TranGateDescription(byte type)
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