]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Implementing channel disable
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Tue, 14 Apr 2015 11:56:33 +0000 (13:56 +0200)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 13 Jun 2015 15:37:03 +0000 (17:37 +0200)
ADC/source/adc_processor_cfd.vhd

index 4af1827baec907483393fdd2908e341b86881ebd..76a9eb4f70bf3eea512d673b8db42f4029435625 100644 (file)
@@ -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;