The spiroc2b module¶
Module for Omega’s SPIROC 2B front-end readout chips.
CalXML parameter | Function |
---|---|
spiroc2b_gtrigger | set_gtrigger_spiroc2b |
spiroc2b_allow_trig_chans | allow_trig_chans_spiroc2b |
spiroc2b_disallow_trig_chans | disallow_trig_chans_spiroc2b |
spiroc2b_enable_preamp_chans | enable_preamp_chans_spiroc2b |
spiroc2b_disable_preamp_chans | disable_preamp_chans_spiroc2b |
spiroc2b_enable_input_dac_chans | enable_input_dac_chans_spiroc2b |
spiroc2b_disable_input_dac_chans | disable_input_dac_chans_spiroc2b |
spiroc2b_bak_sca | set_bak_sca_spiroc2b |
spiroc2b_rst_column_delay | set_rst_column_delay_spiroc2b |
spiroc2b_tdc_ext | set_tdc_ext_spiroc2b |
spiroc2b_trigger_delay | set_trigger_delay_spiroc2b |
spiroc2b_valid_hold_delay | set_valid_hold_delay_spiroc2b |
API¶
-
cmd_spiroc2b.
set_gtrigger_spiroc2b
(spiroc2b_id, gtrigger)[source]¶ set the trigger threshold of a spiroc2b. value is 10-bit integer
-
cmd_spiroc2b.
set_chipid
(spiroc2b_id, spiroc2b)[source]¶ set the chipid of a spiroc2b chip on its bitstream
-
cmd_spiroc2b.
set_chipid_param_spiroc2b
(spiroc2b_id, chipid)[source]¶ set the chipid of a spiroc2b chip on the pool
-
cmd_spiroc2b.
allow_trig_chans_spiroc2b
(spiroc2b_id, chans)[source]¶ allow trigger on channels. chans is a list of channels
-
cmd_spiroc2b.
disallow_trig_chans_spiroc2b
(spiroc2b_id, chans)[source]¶ disallow trigger on channels. chans is a list of channels
-
cmd_spiroc2b.
set_tdc_ext_spiroc2b
(spiroc2b_id, value)[source]¶ Activate (ON or 1) or desactivate (OFF or 0) tdc_ext signal
-
cmd_spiroc2b.
set_input_dac_chans_spiroc2b
(spiroc2b_id, chans, value)[source]¶ set input 8-bit DAC of channels. value is a 8-bit integer. chans is a list of channels
-
cmd_spiroc2b.
enable_input_dac_chans_spiroc2b
(spiroc2b_id, chans)[source]¶ enable input DAC of channels. chans is a list of channels
-
cmd_spiroc2b.
disable_input_dac_chans_spiroc2b
(spiroc2b_id, chans)[source]¶ disable input DAC of channels. chans is a list of channels
-
cmd_spiroc2b.
enable_preamp_chans_spiroc2b
(spiroc2b_id, chans)[source]¶ enable preamp of channels. chans is a list of channels
-
cmd_spiroc2b.
disable_preamp_chans_spiroc2b
(spiroc2b_id, chans)[source]¶ disable preamp of channels. chans is a list of channels
-
cmd_spiroc2b.
set_bak_sca_spiroc2b
(spiroc2b_id, value)[source]¶ Activate (ON or 1) or desactivate (OFF or 0) backup SCA
-
cmd_spiroc2b.
set_trigger_delay_spiroc2b
(spiroc2b_id, value)[source]¶ set the delay for the trigger signals. value is a 6-bit integer
-
cmd_spiroc2b.
set_discri_dac_chans_spiroc2b
(spiroc2b_id, chans, value)[source]¶ set discriminator DAC threshold of channels. value is a 4-bit integer. chans is a list of channels
-
cmd_spiroc2b.
set_valid_hold_delay_spiroc2b
(spiroc2b_id, value)[source]¶ set the delay for the valid_hold signals. value is a 6-bit integer
-
cmd_spiroc2b.
set_rst_column_delay_spiroc2b
(spiroc2b_id, value)[source]¶ set the delay for the rst_column signals. value is a 6-bit integer
-
cmd_spiroc2b.
dump_sc_spiroc2b
(spiroc2b_id)[source]¶ Returns bitstream of spiroc2b_id in binary format
-
cmd_spiroc2b.
config_spiroc2b
(spiroc2b_id, file, bitstream, gtrigger, allow_trig_chans, disallow_trig_chans, enable_preamp_chans, disable_preamp_chans, enable_input_dac_chans, disable_input_dac_chans, bak_sca, rst_column_delay, tdc_ext, trigger_delay, valid_hold_delay)[source]¶ prepare the bitstream for configuring a chip