Pythonic Virtual Machine
GreaterOrEqual Class Reference

Detailed Description

GreaterOrEqual.png
schema

Takes two signals in and if signal 1 is greater than or equal to signal 2 then output a 1

Initialisation parameters:

  • pushed True|False

Input channels:

  • in1 = incoming signal 1
  • in2 = incoming signal 2

Output channels:

  • out = if in1 is $ \geq $ in2 then output 1

Examples:

1 machine.AddCircuit(type='GreaterOrEqual', name='geq', pushed=True)

Inherits Circuit.

Additional Inherited Members

- Public Attributes inherited from Circuit
 name
 Name of the circuit. More...
 
 enabled
 if it is working... More...
 
 machine
 Reference to the virtual machine to which this circuit belongs. More...
 
 pushed
 Push output buffer at the end of Update. More...
 
 I
 Dictionary of input channels.
 
 O
 Dictionary of output channels.
 
 cCoreID
 index of circuit in cCore
 

Documentation for pyVAFM
Generated on Wed Feb 8 2017 10:13:49 for pyVAFM by doxygen 1.8.9.1