blob: 9e4495b588ecc4c9253b9f46e8123590261bd867 [file] [log] [blame]
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
class csrng_base_test extends cip_base_test #(
.CFG_T(csrng_env_cfg),
.ENV_T(csrng_env)
);
`uvm_component_utils(csrng_base_test)
`uvm_component_new
virtual function void build_phase(uvm_phase phase);
super.build_phase(phase);
configure_env();
endfunction
// the base class dv_base_test creates the following instances:
// csrng_env_cfg: cfg
// csrng_env: env
// the base class also looks up UVM_TEST_SEQ plusarg to create and run that seq in
// the run_phase; as such, nothing more needs to be done
virtual function void configure_env();
cfg.efuse_sw_app_enable_pct = 100;
endfunction
endclass : csrng_base_test