translator.visitor.DEVSlibrary.devsTranslatorVisitor
index
/home/yentl/UA/devs-eindwerk/translator/translator/visitor/DEVSlibrary/devsTranslatorVisitor.py

 
Modules
       
os

 
Classes
       
builtins.object
connectionElement
wireCollection
translator.visitor.verilogVisitor.verilogVisitor.VerilogVisitor(builtins.object)
DEVSTranslatorVisitor

 
class DEVSTranslatorVisitor(translator.visitor.verilogVisitor.verilogVisitor.VerilogVisitor)
    VerilogVisitor is a rather sad name for this, however, it had this name
 
 
Method resolution order:
DEVSTranslatorVisitor
translator.visitor.verilogVisitor.verilogVisitor.VerilogVisitor
builtins.object

Methods defined here:
__init__(self)
Constructor
addConnection(self, name, element, wire, isInput)
Recursive function to add a connection
changeElementName(self, element, wire, name, newName)
Changes the name of an element
makeCollide(self)
CollidingWires in the intermediate trees are merged
merge(self, first, second)
Merge the different wire collections
recurse(self, element, attribute, name)
Recurse through an element and search for all wires
visit(self, element)
The visit function

Data descriptors inherited from translator.visitor.verilogVisitor.verilogVisitor.VerilogVisitor:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class connectionElement(builtins.object)
    A connection element is an element of a connection 
 
It contains the element, the port name and whether it is an input or not
 
  Methods defined here:
__init__(self, name, element, isInput)
The constructor of the connection element

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class wireCollection(builtins.object)
    A wire collection is the connection itself
 
Additionally, it keeps track of all wires that are responsible for this connection
 
  Methods defined here:
__init__(self, leadingWire)
The constructor of the wire collection
add(self, name, element, isInput)
Adds an element, name, input to the wire collection

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
ceil(...)
ceil(x)
 
Return the ceiling of x as an int.
This is the smallest integral value >= x.