1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-01-23 10:48:09 +00:00

Merge pull request #106 from paulusmack/master

wishbone_debug_master: Improve timing
This commit is contained in:
Anton Blanchard 2019-10-15 21:05:10 +11:00 committed by GitHub
commit 640af89e72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,9 +90,8 @@ begin
elsif dmi_addr = DBG_WB_CTRL then
reg_ctrl <= dmi_din(10 downto 0);
end if;
end if;
-- Address register auto-increment
if state = WB_CYCLE and (wb_in.ack and reg_ctrl(8))= '1' then
elsif state = WB_CYCLE and (wb_in.ack and reg_ctrl(8))= '1' then
-- Address register auto-increment
reg_addr <= std_ulogic_vector(unsigned(reg_addr) +
decode_autoinc(reg_ctrl(10 downto 9)));
end if;