C
crazyrdx
Guest
I read a program which has a counter implemented as shown. Can someone
tell me, what this means? and why cant I increment and reset the
counter with separate if conditions
-- increment and reset the counter synchronously to avoid race
conditions
if incCnt = '1' then
cnt <= cnt + 1;
elsif rstCnt = '1' then
cnt <= (others => '0');
end if;
Thank you
RP
tell me, what this means? and why cant I increment and reset the
counter with separate if conditions
-- increment and reset the counter synchronously to avoid race
conditions
if incCnt = '1' then
cnt <= cnt + 1;
elsif rstCnt = '1' then
cnt <= (others => '0');
end if;
Thank you
RP