engine
Class UserModuleDescription

java.lang.Object
  |
  +--engine.DefaultNameSpaceDescription
        |
        +--engine.UserModuleDescription
Direct Known Subclasses:
ModuleDescription, UDPDescription

abstract class UserModuleDescription
extends DefaultNameSpaceDescription
implements ModuleFactory

A 'user module' is a module whose inner structure is accessible by the user (UDPs and modules). By contrast, standard primitives do not have an 'internal structure', and the links between ports are not made using intermediary DataHolders.

See Also:
Serialized Form

Fields inherited from class engine.DefaultNameSpaceDescription
always, connectionHash, connectionList, events, functions, initial, monitors, name, ports, regs, regsVector, subScopes
 
Constructor Summary
(package private) UserModuleDescription(java.lang.String name)
           
 
Method Summary
(package private)  void linkModule(Module m, NameSpace parent, byte strength, ModuleInstanceDescription miDesc)
          Creates the links between ports and their corresponding expressions
(package private)  void linkModuleArray(Module[] modules, NameSpace parent, ModuleInstanceDescription miDesc, byte strength, int ars, int are, int n, int increment)
           
 
Methods inherited from class engine.DefaultNameSpaceDescription
addAlways, addConnection, addConnection, addEvent, addFunction, addInitial, addInteger, addModuleArray, addParameter, addPort, addPort, addReal, addRealTime, addRegister, addScope, addSubModule, addTime, addWire, breakLinks, checkPorts, checkSymbolUnique, checkSymbolUnique, checkup, defParam, getFileName, instantiateAll, isPort, isTop, name, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

UserModuleDescription

UserModuleDescription(java.lang.String name)
Method Detail

linkModule

void linkModule(Module m,
                NameSpace parent,
                byte strength,
                ModuleInstanceDescription miDesc)
          throws ParseException
Creates the links between ports and their corresponding expressions

linkModuleArray

void linkModuleArray(Module[] modules,
                     NameSpace parent,
                     ModuleInstanceDescription miDesc,
                     byte strength,
                     int ars,
                     int are,
                     int n,
                     int increment)
               throws ParseException