Forum Discussion
Altera_Forum
Honored Contributor
8 years agoI mean just general good practice for VHDL logic, usually presented in any decent tutorial - I think altera provides them via the text editor. But stick to this:
process(clk, async_rst) -- no other signals. No async reset needed if you dont need one
begin
if async_rst = '1' then
-- async reset here
elsif rising_edge(clk) then
-- sync logic here, including enables
end if;
-- NOTHING goes here
end process;