blob: 8670e4c04c613301bacc992cf704d75cee5e20d0 [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 i2c_base_test extends cip_base_test #(.ENV_T(i2c_env),
.CFG_T(i2c_env_cfg));
`uvm_component_utils(i2c_base_test)
`uvm_component_new
// the base class dv_base_test creates the following instances:
// i2c_env_cfg: cfg
// i2c_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 build_phase(uvm_phase phase);
max_quit_count = 50;
test_timeout_ns = 600_000_000; // 600ms
super.build_phase(phase);
endfunction : build_phase
endclass : i2c_base_test