Re: [casper] ROACH2 ADC5g MMCM Dual Channel Mode

2016-12-01 Thread Primiani, Rurik
Hi Amit,

Unfortunately the way the routine is written it requires two snapshot
blocks when the board is configured for dual channel mode, one for each
snapshot. The names of the snapshots are then passed in a list to the
function, as an example:

>>> adc5g.calibrate_mmcm_phase(roach2, zdok_n, ['snap_a', 'snap_b'])

This is why it takes a list for snapshot names in the first place. Note: I
don't think this has been tested in a while (I certainly haven't tried it)
but it *should* work.

I imagine this may require a recompile of your bitcode, sorry.
Alternatively, if you prefer to stick with only one snapshot, you can edit
the Python code to extract the data for both channels from it.

Best,
Rurik

On Dec 1, 2016 3:46 AM, "Amit Bansod"  wrote:

> Hello,
>
> I am running the ADC5g in dual channel mode (2 Gsps). The MMCM routine
> fails to find a glitch free zone. The routine works when I use them in
> single channel mode. Do I need to modify the routine for the same ?
>
> Thanks,
> Amit
>
>


[casper] ROACH2 ADC5g MMCM Dual Channel Mode

2016-12-01 Thread Amit Bansod
Hello,

I am running the ADC5g in dual channel mode (2 Gsps). The MMCM routine
fails to find a glitch free zone. The routine works when I use them in
single channel mode. Do I need to modify the routine for the same ?

Thanks,
Amit