blob: 53e6e704cd7c9ca8b35ce9a9e0432c6e4f031ec0 [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: clkmgr
// Top level dut name (sv module).
dut: clkmgr
// 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:clkmgr_sim:0.1
// Testplan hjson file.
testplan: "{proj_root}/hw/ip/clkmgr/data/clkmgr_testplan.hjson"
// RAL spec - used to generate the RAL model.
ral_spec: "{proj_root}/hw/ip/clkmgr/data/clkmgr.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",
// Disable alert and interrupt tests until RTL adds support.
// "{proj_root}/hw/dv/tools/dvsim/tests/intr_test.hjson",
// "{proj_root}/hw/dv/tools/dvsim/tests/alert_test.hjson",
"{proj_root}/hw/dv/tools/dvsim/tests/tl_access_tests.hjson",
// Disable stress until the tests are created.
// "{proj_root}/hw/dv/tools/dvsim/tests/stress_tests.hjson"
]
// Add additional tops for simulation.
sim_tops: ["clkmgr_bind"]
// Default iterations for all tests - each test entry can override this.
reseed: 50
// Default UVM test and seq class name.
uvm_test: clkmgr_base_test
uvm_test_seq: clkmgr_base_vseq
// Disable clearing interrupts since clkmgr doesn't yet have any.
run_opts: ["+do_clear_all_interrupts=0"]
// List of test specifications.
tests: [
{
name: clkmgr_smoke
uvm_test_seq: clkmgr_smoke_vseq
}
{
name: clkmgr_extclk
uvm_test_seq: clkmgr_extclk_vseq
}
{
name: clkmgr_peri
uvm_test_seq: clkmgr_peri_vseq
}
{
name: clkmgr_trans
uvm_test_seq: clkmgr_trans_vseq
}
// TODO: add more tests here
]
// List of regressions.
regressions: [
{
name: smoke
tests: ["clkmgr_smoke"]
}
]
}