From a281a42c2072dfd8c175d97c92bcbc0947fd8c55 Mon Sep 17 00:00:00 2001 From: Andreas Neiser Date: Tue, 14 Apr 2015 13:56:33 +0200 Subject: [PATCH] Implementing channel disable --- ADC/source/adc_processor_cfd.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ADC/source/adc_processor_cfd.vhd b/ADC/source/adc_processor_cfd.vhd index 4af1827..76a9eb4 100644 --- a/ADC/source/adc_processor_cfd.vhd +++ b/ADC/source/adc_processor_cfd.vhd @@ -196,7 +196,7 @@ begin busy_in_sys <= '1'; ram_counter(channelselect) <= ram_counter(channelselect) + 1; RDO_data_main <= x"cc" & std_logic_vector(epoch_counter_save(channelselect)); - RDO_write_main <= '1'; + RDO_write_main <= not CONF_sys.ChannelDisable(DEVICE * CHANNELS + channelselect); state <= READOUT; @@ -215,7 +215,7 @@ begin end if; else RDO_data_main <= ram_data_sys(channelselect); - RDO_write_main <= '1'; + RDO_write_main <= not CONF_sys.ChannelDisable(DEVICE * CHANNELS + channelselect); ram_counter(channelselect) <= ram_counter(channelselect) + 1; end if; -- 2.43.0