In [1]:
from pynq.overlays.logictools import LogicToolsOverlay
logictools_olay = LogicToolsOverlay('logictools.bit')
In [2]:
function = ['LD2 = PB3 ^ PB0']
In [3]:
boolean_generator = logictools_olay.boolean_generator
boolean_generator.setup(function)
Find the On-board pushbuttons and LEDs
In [4]:
boolean_generator.run()
In [5]:
boolean_generator.stop()
In [6]:
from pynq.overlays.logictools import LogicToolsOverlay
logictools_olay = LogicToolsOverlay('logictools.bit')
boolean_generator = logictools_olay.boolean_generator
function = {'XOR_gate': 'LD2 = PB3 ^ PB0'}
boolean_generator.setup(function)
boolean_generator.run()
Stop the boolean generator
In [7]:
boolean_generator.stop()