Commit 9a361e9a authored by Michael Munch's avatar Michael Munch
Browse files

Latch err code on data strobe

parent 412f22b1
Pipeline #26376 failed with stage
in 31 seconds
......@@ -157,13 +157,6 @@ begin
cnt <= cnt + 1;
if (vc_busy = '0') then
-- Latch error code when busy pulled
if (active_1) then
p1_int_err_code_latched <= vc_int_err_code;
end if;
if (active_2) then
p2_int_err_code_latched <= vc_int_err_code;
end if;
active_1 <= false;
active_2 <= false;
end if;
......@@ -183,9 +176,11 @@ begin
-- vc_int_data_strobe will not come on the first cycle.
if (active_1 and vc_int_data_strobe = '1') then
p1_int_data_read_latched <= vc_int_data_read;
p1_int_err_code_latched <= vc_int_err_code;
end if;
if (active_2 and vc_int_data_strobe = '1') then
p2_int_data_read_latched <= vc_int_data_read;
p2_int_err_code_latched <= vc_int_err_code;
end if;
end if;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment