qick.rfboard
Classes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This class is used to enable one daughter card on the RF Board for the ZCU216, V1. |
|
|
|
|
|
|
|
|
|
Overrides the __init__ method of QickSoc in order to add the drivers for the preproduction (V1) version of the RF board. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- class qick.rfboard.spi(*args: Any, **kwargs: Any)[source]
Bases:
DefaultIP
- en_level(nch=4, chlist=[0], en_l='high')[source]
chlist: list of bits to enable en_l: enable level “high”: ignore nch, enabled bits are set high “low”: nch is total length, enabled bits are set low
- send_m(data, ch_en, cs_t='pulse')[source]
The data must be formatted in bytes, regardless of the data width of the SPI IP. For data width 16 or 32, the bytes will be packed in little-endian order.
- class qick.rfboard.BoardSelection(gpio_ip)[source]
Bases:
object
This class is used to enable one daughter card on the RF Board for the ZCU216, V1.
- class qick.rfboard.RFQickSoc(*args: Any, **kwargs: Any)[source]
Bases:
QickSoc
Overrides the __init__ method of QickSoc in order to add the drivers for the preproduction (V1) version of the RF board. Otherwise supports all the QickSoc functionality.
- rfb_set_lo(f)[source]
Set both of the RF-board local oscillators to the same frequency.
Tile 0 DACs and all RF ADCs are connected to LO[0], tile 1 DACs are connected to LO[1].
- Parameters:
f (float) – Frequency (4000-8000 MHz)
- rfb_set_gen_rf(gen_ch, att1, att2)[source]
Enable and configure an RF-board output channel for RF output.
- rfb_set_gen_dc(gen_ch)[source]
Enable and configure an RF-board output channel for DC output.
- Parameters:
gen_ch (int) – DAC channel (index in ‘gens’ list)
- rfb_set_ro_rf(ro_ch, att)[source]
Enable and configure an RF-board RF input channel. Will fail if this is not an RF input.
- rfb_set_ro_dc(ro_ch, gain)[source]
Enable and configure an RF-board DC input channel. Will fail if this is not a DC input.
- rfb_set_gen_filter(gen_ch, fc, bw=1, ftype='bandpass')[source]
Set the programmable Analog Filter of the chain.