dat_reg(63 downto 61) <= hal_in(1 to 3); --halovy sondy
dat_reg(60 downto 36) <= (others => '1'); --let the rest fill with ones
dat_reg(35 downto 0) <= adc_channels(35 downto 0); --current mesurments
dat_reg(63 downto 61) <= hal_in(1 to 3); --halovy sondy
dat_reg(60 downto 36) <= (others => '1'); --let the rest fill with ones
dat_reg(35 downto 0) <= adc_channels(35 downto 0); --current mesurments