-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathenv_config.svh
35 lines (23 loc) · 894 Bytes
/
env_config.svh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**********************************************************
Start Date: 11 Sept 2015
Finish Date: 11 Sept 2015
Author: Mayur Kubavat
Module: AHB Environment Configuration
Filename: env_config.sv
**********************************************************/
class env_config extends uvm_object;
`uvm_object_utils(env_config)
ahb_magent_config magt_cfg;
ahb_sagent_config sagt_cfg;
uvm_active_passive_enum m_is_active;
uvm_active_passive_enum s_is_active;
virtual ahb_intf vif;
//-------------------------------------------------
// Methods
//-------------------------------------------------
extern function new(string name = "env_config");
endclass: env_config
//Constructor
function env_config::new(string name = "env_config");
super.new(name);
endfunction