Forum Discussion
Altera_Forum
Honored Contributor
19 years agoMultiple Distinct Clocks Error
Hello everyone, I am trying to write some code to use the debounced keys on the Altera DE2 board. I have spent days on the same error: "Error (10820): Netlist error at lab1.vhd(49): can't infe...
Altera_Forum
Honored Contributor
18 years agoI received the same error about the multiple clocks. My design had the following format:
process (rst, clk) begin
if rising_edge(rst) then
-- asynchronous reset stuff
elsif rising_edge(clk) then
-- synchronous stuff
end if;
end process; The fix for me was to change my reset from rising edge triggered to level sensitive: process (rst, clk) begin
if (rst = '1') then
-- asynchronous reset stuff
elsif rising_edge(clk) then
-- synchronous stuff
end if;
end process; Hope this helps.