Hi Wang,

This is strange and concerning (the ROACH2 branch of mlib_devel should be
the reliable one!) but glad you found a fix (and thanks for posting a link
to the repo that worked for you)

Cheers
Jack

On Wed, 7 Jun 2023 at 10:32, Wang <[email protected]> wrote:

> Hi everyone,
>
> I solved this problem by using an older version of mlib_devel.
> Files · edbc38236f2a756e169b74a7bad0d76263c0f91a · ALPACA / CASPER /
> mlib_devel · GitLab (byu.edu)
> <https://gitlab.ras.byu.edu/alpaca/casper/mlib_devel/-/tree/edbc38236f2a756e169b74a7bad0d76263c0f91a>
>
> [observer@cylctrl bin]$ ruby adc16_status.rb roach8
> roach8: Design built for ROACH2 rev2 with 8 ADCs (ZDOK rev2)
> roach8: Gateware supports demux modes (currently using demux by 1)
> roach8: ZDOK0 clock OK, ZDOK1 clock OK
> roach8: AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHH
> roach8: 12341234123412341234123412341234
> roach8: ................................ deskew
> roach8: ................................ sync
> [image: 微信图片_20230607173048.png]
> Wang
>
> 在2023年6月6日星期二 UTC+8 20:03:16<Wang> 写道:
>
>> Hi everyone,
>>
>> When I validated my design on ROACH2, I found that there were some issues
>> with the synchronization of the adc chip.
>>
>> The environment I used was ubuntu14 ise14.7 matlab2013b
>> mlib_devel-roach2.
>>
>> The parameter of my XSG_core_config module is set to ROACH2:sx475t
>> adc0_clk 200MHz.
>>
>> I used david's adc16 script for initialization, and there were no errors.
>>
>> Use adc16_status.rb to view the adc channel and find that synchronization
>> was not successful.
>>
>>
>>
>> adc16_init.rb:
>>
>> Connecting to roach7...
>>
>> Programming roach7 with adcsync.bof...
>>
>> Design built for ROACH2 rev2 with 8 ADCs (ZDOK rev2)
>>
>> Gateware supports demux modes (using demux by 1)
>>
>> Resetting ADC, power cycling ADC, and reprogramming FPGA...
>>
>> ZDOK0 clock OK, ZDOK1 clock OK
>>
>> Calibrating SERDES blocks...ABCDEFGH
>>
>> SERDES calibration successful.
>>
>> Selecting analog inputs...
>>
>> Using default digital gain of 1...
>>
>> Done!
>>
>>
>>
>> adc16_status.rb :
>>
>> [observer@cylctrl bin]$ ruby adc16_status.rb roach7
>>
>> roach7: Design built for ROACH2 rev2 with 8 ADCs (ZDOK rev2)
>>
>> roach7: Gateware supports demux modes (currently using demux by 1)
>>
>> roach7: ZDOK0 clock OK, ZDOK1 clock OK
>>
>> roach7: AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHH
>>
>> roach7: 12341234123412341234123412341234
>>
>> roach7: ................................ deskew
>>
>> roach7: ....XXXXXXXX........XXXX....XXXX sync
>>
>>
>>
>> May I ask which step do you think I did not set correctly, resulting in
>> the failure of adc synchronization?
>>
>> Has anyone synced successfully on ROACH2 using the adc16x250-8 module?
>>
>> Could you please send me a copy of your mlib_devel? I suspect it is
>> caused by the version of mlib_devel.
>>
>>
>>
>> BW!
>>
>> Wang
>>
> --
> You received this message because you are subscribed to the Google Groups "
> [email protected]" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/41d19d40-639f-4c4b-934e-7c4fac5dc533n%40lists.berkeley.edu
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/41d19d40-639f-4c4b-934e-7c4fac5dc533n%40lists.berkeley.edu?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSm4RB%2BVBBHO3rchsX9yKP4ePbnxAf8fnpOMU-AW5ZJt%2BQ%40mail.gmail.com.

Reply via email to