All: synchronise cpu reset generated by AVR

Change-Id: I05f78a48dda721b882c3dd20755763c94e60b194
This commit is contained in:
David Banks 2019-11-04 11:37:22 +00:00
parent 8e77183c17
commit 86b8e219eb

View File

@ -613,8 +613,8 @@ begin
if reset_counter(reset_counter'high) = '0' then
reset_counter <= reset_counter + 1;
end if;
nrst3 <= nrst2;
cpu_reset_n <= nrst3 and reset_counter(reset_counter'high) and (not reset);
nrst3 <= nrst2 and reset_counter(reset_counter'high) and (not reset);
cpu_reset_n <= nrst3;
end if;
end if;
end process;