Skip to content
Snippets Groups Projects
Commit 317389b7 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Limit dump_start_page and dump_nof_pages to fit nof_pages_in_buffer.

parent 7d521f8c
No related branches found
No related tags found
1 merge request!444Resolve L2SDP-1087 "B"
......@@ -337,9 +337,15 @@ begin
v.dump_start_rsn := reg_dump_start_rsn_rw;
v.dump_start_page := reg_dump_start_page_rw;
if v.dump_start_page >= c_nof_pages_in_buffer then
-- Force to recovery value within buffer range, this will lead to read RSN errors due to mismatch with
-- dump_start_rsn.
v.dump_start_page := 0;
end if;
v.dump_nof_pages := reg_dump_nof_pages_rw;
if v.dump_nof_pages >= c_nof_pages_in_buffer then
-- Limit to buffer size
v.dump_nof_pages := c_nof_pages_in_buffer;
end if;
if dump_en = '1' then
v.latency_cnt := c_start_latency;
v.fsm := s_dump_start;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment