blob: 68c6f1e3f30d655adea7220278d3d7875c323d0b (
plain)
1
2
3
4
5
6
7
8
|
import pcipywrap
def read_from_register():
return pcipywrap.get_property('/registers/fpga/reg1') / 3
def write_to_register(value):
pcipywrap.set_property('/registers/fpga/reg1', value*3)
|