Gotcha.
OK, another question leading on from this then if I may:
As you can see, the above process is processed upon a change to usg_counter
Now say I combined the activity of slv into the clocked process that deals with updating the counter, i.e. something like this:
proc_Counters : PROCESS(IN_CLK, IN_RESETn)
BEGIN
IF IN_RESETn = '0' THEN
usg_Counter <= (OTHERS => '0');
slv <= '0';
ELSIF RISING_EDGE(IN_CLK) THEN
IF usg_Counter = b"0010_1111" THEN
usg_Counter <= (OTHERS => '0');
ELSE
usg_Counter <= usg_Counter + 1;
END IF;
--Put it here instead...
IF usg_Counter = b"0010_0110" THEN
slv <= '1';
ELSE
slv <= '0';
END IF;
END IF;
END PROCESS proc_Counters;
Would that do the same thing?
Andy