qick.rfboard
Classes
|
|
|
Class to describe the ADC-DC channel chain. |
|
|
|
|
|
|
|
|
|
This class provides SPI access to the PE43705 step attenuator. |
|
|
|
|
|
|
|
|
|
|
|
Bias DAC chip AD5781. |
|
Bias DAC chip DAC11001. |
|
This class is used to enable one daughter card on the RF Board for the ZCU216, V1. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ADMV8818 filter chip. |
|
|
|
Variable gain amp LMH6401. |
|
GPIO chip MCP23S08. |
|
LO Synthesis chip ADF4372 |
|
|
|
Overrides the __init__ method of QickSoc in order to add the drivers for the preproduction (V1) version of the RF board. |
|
|
|
|
|
|
alias of |
|
|
|
|
Exceptions
- class qick.rfboard.spi(*args: Any, **kwargs: Any)[source]
Bases:
SocIP- 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.BiasDAC11001(spi_ip, ch_en, cs_t='')[source]
Bases:
objectBias DAC chip DAC11001.
- class qick.rfboard.AttenuatorPE43705(spi_ip, ch=0, nch=3, le=[0], en_l='high', cs_t='pulse')[source]
Bases:
objectThis class provides SPI access to the PE43705 step attenuator. Range is 0-31.75 dB. Parts are used in serial mode. This device’s SPI interface is write-only, no readback. See schematics for Address/LE correspondance.
- class qick.rfboard.GpioMCP23S08(spi_ip, ch_en, dev_addr, iodir=0, cs_t='')[source]
Bases:
objectGPIO chip MCP23S08.
- class qick.rfboard.LoSynthADF4372(spi_ip, nch=2, le=[0], en_l='low', cs_t='')[source]
Bases:
objectLO Synthesis chip ADF4372
- class qick.rfboard.GainLMH6401(spi_ip, ch_en, cs_t='')[source]
Bases:
objectVariable gain amp LMH6401.
- class qick.rfboard.AdcRfChain111(ch, switches, attn_spi)[source]
Bases:
AbsAdcRfChain
- class qick.rfboard.AdcDcChain111(ch, switches, gain_spi)[source]
Bases:
AbsAdcDcChainClass to describe the ADC-DC channel chain.
- class qick.rfboard.DacChain111(ch, switches, attn_spi)[source]
Bases:
AbsDacRfChain,AbsDacDcChain
- class qick.rfboard.DacRfChain216(soc, card, global_ch, card_num, card_ch)[source]
Bases:
AbsDacRfChain,FilterChain
- class qick.rfboard.AdcRfChain216(soc, card, global_ch, card_num, card_ch)[source]
Bases:
AbsAdcRfChain,FilterChain
- class qick.rfboard.DacDcChain216(soc, card, global_ch, card_num, card_ch)[source]
Bases:
AbsDacDcChain,Chain216
- class qick.rfboard.AdcDcChain216(soc, card, global_ch, card_num, card_ch)[source]
Bases:
AbsAdcDcChain,Chain216
- class qick.rfboard.DacRfCard216(card_num, soc, gpio)[source]
Bases:
DaughterCard216- CHAIN_CLASS
alias of
DacRfChain216
- class qick.rfboard.DacDcCard216(card_num, soc, gpio)[source]
Bases:
DaughterCard216- CHAIN_CLASS
alias of
DacDcChain216
- class qick.rfboard.AdcRfCard216(card_num, soc, gpio)[source]
Bases:
DaughterCard216- CHAIN_CLASS
alias of
AdcRfChain216
- class qick.rfboard.AdcDcCard216(card_num, soc, gpio)[source]
Bases:
DaughterCard216- CHAIN_CLASS
alias of
AdcDcChain216
- class qick.rfboard.BoardSelection(gpio_ip)[source]
Bases:
objectThis 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:
QickSocOverrides 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_gen_rf(gen_ch, att1, att2)[source]
Enable and configure an RF-board output channel for RF output.
- Parameters:
- Returns:
float – actual (rounded) att1 value that was set
float – actual (rounded) att2 value that was set
- 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_dac_rf(dac_port, att1, att2)[source]
Enable and configure a QICK box or RF board DAC port for RF output.
- Parameters:
- Returns:
float – actual (rounded) att1 value that was set
float – actual (rounded) att2 value that was set
- rfb_set_dac_dc(dac_port)[source]
Enable and configure a QICK box or RF board DAC port for DC output.
- Parameters:
dac_port (int) – QICK box or RF board DAC port number (0-15 for ZCU216, 0-7 for ZCU111)
- 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_adc_rf(adc_port, att)[source]
Enable and configure an RF-board RF input channel. Will fail if this is not an RF input.
- rfb_set_adc_dc(adc_port, gain)[source]
Enable and configure an RF-board DC input channel. Will fail if this is not a DC input.
- class qick.rfboard.RFQickSoc111V2(*args: Any, **kwargs: Any)[source]
Bases:
RFQickSoc111V1
- qick.rfboard.RFQickSocV2
alias of
RFQickSoc111V2
- class qick.rfboard.RFQickSoc216V1(*args: Any, **kwargs: Any)[source]
Bases:
RFQickSoc- rfb_enable_bias()[source]
Enable all eight main-board bias outputs (by turning on DAC_BIAS_SWEN).
This is normally run during board initialization, so you should not need to run it yourself.
- rfb_disable_bias()[source]
Disable all eight main-board bias outputs (by turning off DAC_BIAS_SWEN).
- rfb_set_gen_filter(gen_ch, fc, bw=1, ftype='bandpass')[source]
Set the programmable analog filter of the QICK box DAC port connected to a specified generator.
- rfb_set_ro_filter(ro_ch, fc, bw=1, ftype='bandpass')[source]
Set the programmable analog filter of the QICK box ADC port connected to a specified readout channel.
- rfb_set_dac_filter(dac_port, fc, bw=1, ftype='bandpass')[source]
Set the programmable analog filter of the specified QICK box ADC port.
- rfb_set_adc_filter(adc_port, fc, bw=1, ftype='bandpass')[source]
Set the programmable analog filter of the specified QICK box DAC port.
- rfb_set_rfadc_attenuator(adc_port, att)[source]
Set the programmable attenuator of the RFSoC RF-ADC connected to the specified QICK box ADC port.
- clear_interrupts(max_attempts=5, error_on_interrupt=False, error_on_persist=True)[source]
Check all ADCs for interrupts, and attempt to clear them.
https://docs.amd.com/r/en-US/pg269-rf-data-converter/XRFdc_IntrEnable https://docs.amd.com/r/en-US/pg269-rf-data-converter/Interrupt-Handling https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/rfdc/src/xrfdc_hw.h
- Parameters:
- Returns:
True if all interrupts were successfully cleared
- Return type: