public static class CompileVerilogStruct.VInstance
extends java.lang.Object
Constructor and Description |
---|
CompileVerilogStruct.VInstance(CompileVerilogStruct.VModule module,
java.lang.String instanceName)
Constructor for a cell instance.
|
CompileVerilogStruct.VInstance(PrimitiveNode.Function fun,
java.lang.String instanceName)
Constructor for a transistor.
|
Modifier and Type | Method and Description |
---|---|
void |
addConnection(CompileVerilogStruct.VPort lp,
java.lang.String[] signalNames)
Method to add a new port on this VInstance.
|
PrimitiveNode.Function |
getFunction()
Method to return the transistor function that defines this instance.
|
CompileVerilogStruct.VModule |
getModule()
Method to return the sub-module that defines this instance.
|
public CompileVerilogStruct.VInstance(CompileVerilogStruct.VModule module, java.lang.String instanceName)
module
- the parent module.instanceName
- the name of the cell instance.public CompileVerilogStruct.VInstance(PrimitiveNode.Function fun, java.lang.String instanceName)
fun
- the transistor type.instanceName
- the name of the transistor instance.public void addConnection(CompileVerilogStruct.VPort lp, java.lang.String[] signalNames)
lp
- the local port ("actual port") found on the instance.signalNames
- a list of signal names for that port.public CompileVerilogStruct.VModule getModule()
public PrimitiveNode.Function getFunction()