Commit 9f21d588 authored by Tristan Gingold's avatar Tristan Gingold Committed by Dimitris Lampridis

adc core: minor simplification.

parent cc9eb1c5
...@@ -897,12 +897,10 @@ begin ...@@ -897,12 +897,10 @@ begin
int_trig_d(I) <= '0'; int_trig_d(I) <= '0';
else else
if int_trig_delay(I) = X"00000000" then if int_trig_delay(I) = X"00000000" then
if int_trig(I) = '1' then -- No delay: direct assignment.
int_trig_d(I) <= '1'; int_trig_d(I) <= int_trig(I);
else
int_trig_d(I) <= '0';
end if;
else else
-- Delay set by the counter.
if int_trig_delay_cnt(I) = X"00000001" then if int_trig_delay_cnt(I) = X"00000001" then
int_trig_d(I) <= '1'; int_trig_d(I) <= '1';
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment