blob: 770b13ed2b2ead9e3b122b139ea21b70f4674e9e [file] [log] [blame]
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
{
// Name of the sim cfg - typically same as the name of the DUT.
name: pwrmgr
// Top level dut name (sv module).
dut: pwrmgr
// Top level testbench name (sv module).
tb: tb
// Simulator used to sign off this block
tool: vcs
// Fusesoc core file used for building the file list.
fusesoc_core: lowrisc:dv:pwrmgr_sim:0.1
// Testplan hjson file.
testplan: "{proj_root}/hw/ip/pwrmgr/data/pwrmgr_testplan.hjson"
// RAL spec - used to generate the RAL model.
ral_spec: "{proj_root}/hw/top_earlgrey/ip/pwrmgr/data/autogen/pwrmgr.hjson"
// Import additional common sim cfg files.
// TODO: remove imported cfgs that do not apply.
import_cfgs: [// Project wide common sim cfg file
"{proj_root}/hw/dv/tools/dvsim/common_sim_cfg.hjson",
// Common CIP test lists
"{proj_root}/hw/dv/tools/dvsim/tests/csr_tests.hjson",
"{proj_root}/hw/dv/tools/dvsim/tests/intr_test.hjson",
"{proj_root}/hw/dv/tools/dvsim/tests/mem_tests.hjson",
"{proj_root}/hw/dv/tools/dvsim/tests/stress_tests.hjson",
"{proj_root}/hw/dv/tools/dvsim/tests/tl_access_tests.hjson"]
// Overrides
overrides: [
{
name: design_level
value: "top"
}
]
// Add additional tops for simulation.
sim_tops: ["pwrmgr_bind"]
// Default iterations for all tests - each test entry can override this.
reseed: 50
// Default UVM test and seq class name.
uvm_test: pwrmgr_base_test
uvm_test_seq: pwrmgr_base_vseq
// List of test specifications.
tests: [
{
name: pwrmgr_smoke
uvm_test_seq: pwrmgr_smoke_vseq
run_opts: ["+test_timeout_ns=1000000"]
}
{
name: pwrmgr_reset
uvm_test_seq: pwrmgr_reset_vseq
run_opts: ["+test_timeout_ns=1000000"]
}
{
name: pwrmgr_lowpower_wakeup_race
uvm_test_seq: pwrmgr_lowpower_wakeup_race_vseq
run_opts: ["+test_timeout_ns=1000000"]
}
{
name: pwrmgr_wakeup
uvm_test_seq: pwrmgr_wakeup_vseq
run_opts: ["+test_timeout_ns=1000000"]
}
{
name: pwrmgr_wakeup_reset
uvm_test_seq: pwrmgr_wakeup_reset_vseq
run_opts: ["+test_timeout_ns=1000000"]
}
{
name: pwrmgr_aborted_low_power
uvm_test_seq: pwrmgr_aborted_low_power_vseq
}
// TODO: add more tests here
]
// List of regressions.
regressions: [
{
name: smoke
tests: ["pwrmgr_smoke"]
}
]
}