Koheron / koheron-sdk

SDK for FPGA / Linux Instruments
https://www.koheron.com/software-development-kit/
Other
101 stars 41 forks source link

Add option for 100 MHz frequency #547

Closed jeanminet closed 1 year ago

juhong2161 commented 1 year ago

I need the 100MHz sampling rate for using bram example. so i change the clcok generator.hpp file like that. what more to do? Can you tell me what code to add to the test file?

tvanderbruggen commented 1 year ago

Hi @juhong2161,

I update the commit to set the proper MMCM phase-shift (cf. issue #518).

You will need to set the required sampling frequency by calling:

driver.set_sampling_frequency(2) # Here '2' is the index of the 100 MHz sampling clock

I hope this answers your question.