summaryrefslogtreecommitdiffstats
path: root/xml/test_pywrap/test_prop3.py
blob: 9d33b6371e4cecce6fab39742a7c8da8ffd092d6 (plain)
1
2
3
4
5
6
7
import pcipywrap

def read_from_register(value):
   return pcipywrap.get_property('/registers/fpga/reg1')
    
def write_to_register(value):
    pcipywrap.set_property(value, '/registers/fpga/reg1')