Unverified Commit 3f584ade authored by udinator's avatar udinator Committed by GitHub
Browse files

Merge pull request #510 from udinator/pmp

update ebreak generation for ML test
parents 6344e951 18c3a345
......@@ -48,13 +48,12 @@ class riscv_ml_test extends riscv_instr_base_test;
virtual function void randomize_cfg();
cfg.no_fence = 0;
cfg.no_ebreak = 0;
cfg.init_privileged_mode = MACHINE_MODE;
cfg.init_privileged_mode.rand_mode(0);
cfg.enable_unaligned_load_store = 1'b1;
cfg.addr_translaction_rnd_order_c.constraint_mode(0);
`DV_CHECK_RANDOMIZE_FATAL(cfg)
cfg.addr_translaction_rnd_order_c.constraint_mode(1);
cfg.addr_translaction_rnd_order_c.constraint_mode(1);
`uvm_info(`gfn, $sformatf("riscv_instr_gen_config is randomized:\n%0s",
cfg.sprint()), UVM_LOW)
endfunction
......
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