Pythonic Virtual Machine
Equal Class Reference

Detailed Description

Equal.png
schema

Takes two signals in and if signal 1 is 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 $ = $ in2 then output 1

Examples:

1 machine.AddCircuit(type='Equal', name='eq', 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