Pythonic Virtual Machine
JKFlipFlop Class Reference

Detailed Description

JKFlipFlop.png

Truth Table JK Flip FLop

J K Q QBar Action
0 0 Q Qbar Hold State
0 1 0 1 Reset
1 0 1 0 Set
1 1 QBar Q Toggle

Initialisation parameters:

  • pushed = True|False push the output buffer immediately if True

Input channels:

  • J = set signal
  • K = reset signal
  • clock = digital clock signal

Output channels:

  • Q = stored bit (0|1)
  • Qbar = opposite of the stored bit

Examples:

1 machine.AddCircuit(type='JKFlipFlop', name='jk')

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