liboscimp_fpga.py 300 Bytes
import ctypes
lib = ctypes.CDLL('/usr/lib/liboscimp_fpga.so')

def add_const_set_offset(device, offset):
    lib.add_const_set_offset(device, offset)

def nco_counter_send_conf(device, freq_ref, freq_dds, acc_size, offset):
    lib.nco_counter_send_conf(device, freq_ref, freq_dds, acc_size, offset)