Commit 982db9c3 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.
Browse files

test: Avoid issuing soft reset in MODE[RST] test unintentionally!

parent 3c9bbe42
......@@ -201,6 +201,12 @@ package body mode_rst_feature is
rand_logic_vect_v(rand_ctr, rand_data, 0.5);
mask_reg_val(Control_registers_list(i), rand_data);
-- Don't issue Soft reset under our own hands! Keep test mode!
if (Control_registers_list(i).address = MODE_ADR) then
rand_data(RST_IND) := '0';
rand_data(TSTM_IND) := '1';
end if;
-- Keep what was written in models reset value attribute!
reg_model(i).reset_val := rand_data;
Markdown is supported
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