Multi trigering with counters example

Did you notice that with the “counters” sample, when counter2 reach “FF” and stay on this value (autocount. unchecked) the sound is always triggered? If I’m right this is due to the HDL code, the trigger is always triggered, in process clk2 one has:

[CODE]process (clk2) begin
if rising_edge(clk2) then

	if (count2 = x"FF") then
		count2eqFF ;
	end if;
end if;

end process;
with singleshot defined as

	signal singleshot : STD_LOGIC;


Yes, this is something we’ve noticed and your change is probably a better way to write the code!