From: Andreas Neiser Date: Tue, 14 Apr 2015 11:56:33 +0000 (+0200) Subject: Implementing channel disable X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=a281a42c2072dfd8c175d97c92bcbc0947fd8c55;p=trb3.git Implementing channel disable --- 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;