translator.intermediateBuilder.annotated.annotatedOutputPlexer
index
/home/yentl/UA/devs-eindwerk/translator/translator/intermediateBuilder/annotated/annotatedOutputPlexer.py

 
Classes
       
translator.intermediateBuilder.annotated.annotatedPlexer.AnnotatedPlexer(translator.intermediateBuilder.annotated.annotatedNode.AnnotatedNode)
AnnotatedOutputPlexer

 
class AnnotatedOutputPlexer(translator.intermediateBuilder.annotated.annotatedPlexer.AnnotatedPlexer)
    AnnotatedOutputPlexer is the annotated version of a demultiplexer or decoder
 
 
Method resolution order:
AnnotatedOutputPlexer
translator.intermediateBuilder.annotated.annotatedPlexer.AnnotatedPlexer
translator.intermediateBuilder.annotated.annotatedNode.AnnotatedNode
translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement
builtins.object

Methods defined here:
__init__(self, plexer, coordinates, facing, hasInput, enable, direction)
Constructor
bindCompWithComp(self, coordinate, inputComp, annotatedConnectionList, inputsFound, connectedInputs=[(180, 380), (180, 380), (360, 230), (180, 380)], extraInfo=None)
Overwrites the parent function (but has the same meaning)
bindOutput(self, annotatedConnectionList, annotatedComponentList, inputList, wiresToDelete, wiresToInsert, collide, faultList, circuitName='')
Overwrites the parent function (but has the same meaning)
bindPlexerWithComp(self, annotatedComponentList, annotatedConnectionList, inputsFound, connectedInputs)
Binds the output plexer with other nodes that lie immediately next to the output plexer
bindPlexerWithInputWires(self, annotatedConnectionList, inputsFound, connectedInputs)
Binds the output plexer with its connected input wires
bindWithInputWiresOrComp(self, annotatedComponentList, annotatedConnectionList)
Overwrites the parent function (but has the same meaning)
calculateMiddlePoint(self)
Calculates the middle point of the decoder (the point that is the same for multiplexer or demultiplexer, the point we use to calculate the connectingCoordinates)
findExtraCoordinates(self)
Overwrites the parent function (but has the same meaning)
getInputCoordinates(self, list)
Overwrites the parent function (but has the same meaning)
getOutputCoordinates(self, list)
Overwrites the parent function (but has the same meaning)
setInputRight(self, coordinate, annotatedConnection, inputsFound, extraInfo)
Overwrites the parent function (but has the same meaning)

Methods inherited from translator.intermediateBuilder.annotated.annotatedPlexer.AnnotatedPlexer:
calculateControlCoordinate(self, varyingList, stableCoordinateNumber)
Calculates the coordinate for the control line of a plexer
calculateInputOrOutputCoordinates(self, middlePoint)
Calculate the input or output coordinates of the plexer (the coordinates that can change in number as the width of the select bit changes)

Methods inherited from translator.intermediateBuilder.annotated.annotatedNode.AnnotatedNode:
bindOutputWtihExtraInfoOfCoordinate(self, coordinates, annotatedConnectionList, annotatedComponentList, compOutputList, inputList, wiresToDelete, wiresToInsert, extraInfo, collide, faultList, circuitName='')
Binds the specified coordinate with the output it matches with (and sets the right extraInfo)
bindWithComp(self, coordinate, annotatedComp, annotatedConnectionList, inputsFound, coordinatesToCheck, connectedInputs=[], extraInfo=None)
If the coordinate equals the component coordinates, we can bind the component with the other component
bindWithInputWires(self, coordinate, annotatedConnection, annotatedConnectionList, inputsFound, connectedInputs=[(450, 510), (310, 140), (120, 170), (230, 310), (260, 170), (200, 340), (200, 310), (560, 250), (310, 300), (150, 270), (170, 200), (170, 230), (270, 300), (270, 390), (410, 410), (420, 520), (400, 640), (70, 160), (230, 190), (110, 180), ...], extraInfo=None)
Binds a component with its input wires)
invertFacing(self)
Inverts the facing of the node

Methods inherited from translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement:
bindDirectlyConnectedOutputWires(self, coordinates, tmpAnnotatedConnectionList, annotatedConnectionList, collide)
Bind all wires that have their starting point or ending point directly connected to the output pin (equals coordinates)
bindIndirectlyConnectedOutputWires(self, tmpAnnotatedConnectionList, annotatedConnectionList, inputList, collide)
Bind all wires that have their starting point or ending point indirectly connected to the output pin
Wires whose starting points aren't directly connected to a component, but who are still connected to a component by means of another wire or multiple wires, 
also need to be bound
bindOutputOfCoordinate(self, coordinates, annotatedConnectionList, annotatedComponentList, compOutputList, inputList, wiresToDelete, wiresToInsert, collide, faultList, circuitName, component=None)
Binds the specified coordinate with the output it matches with
testOtherCompOutputs(self, coordinatesTo, annotatedComponentList, faultList, circuitName='')
Test whether one input pin, gets two or more input signals

Data descriptors inherited from translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)