| // Copyright lowRISC contributors. |
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| // SPDX-License-Identifier: Apache-2.0 |
| import dv_base_reg_pkg::*; |
| import clkmgr_ral_pkg::*; |
| import lc_ctrl_pkg::lc_tx_t; |
| `include "uvm_macros.svh" |
| typedef virtual clkmgr_if clkmgr_vif; |
| typedef virtual clk_rst_if clk_rst_vif; |
| localparam int NUM_PERI = 4; |
| localparam int NUM_TRANS = 4; |
| // The enum values for these match the bit order in the CSRs. |
| typedef enum int {PeriDiv4, PeriDiv2, PeriIo, PeriUsb} peri_e; |
| typedef enum int {TransAes, TransHmac, TransKmac, TransOtbn} trans_e; |
| `include "clkmgr_env_cfg.sv" |
| `include "clkmgr_env_cov.sv" |
| `include "clkmgr_virtual_sequencer.sv" |
| `include "clkmgr_scoreboard.sv" |
| `include "clkmgr_vseq_list.sv" |