OpenCores
URL https://opencores.org/ocsvn/lpffir/lpffir/trunk

Subversion Repositories lpffir

[/] [lpffir/] [trunk/] [uvm/] [lpffir_uvm/] [generated_tb/] [tb/] [top/] [sv/] [top_config.sv] - Blame information for rev 11

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 11 vladimirar
// You can insert code here by setting file_header_inc in file common.tpl
2
 
3
//=============================================================================
4
// Project  : generated_tb
5
//
6
// File Name: top_config.sv
7
//
8
//
9
// Version:   1.0
10
//
11
// Code created by Easier UVM Code Generator version 2016-04-18-EP on Sat Apr 27 13:59:59 2019
12
//=============================================================================
13
// Description: Configuration for top
14
//=============================================================================
15
 
16
`ifndef TOP_CONFIG_SV
17
`define TOP_CONFIG_SV
18
 
19
// You can insert code here by setting top_env_config_inc_before_class in file common.tpl
20
 
21
class top_config extends uvm_object;
22
 
23
  // Do not register config class with the factory
24
 
25
  rand data_input_config   m_data_input_config;
26
  rand data_output_config  m_data_output_config;
27
 
28
  // You can insert variables here by setting config_var in file common.tpl
29
 
30
  // You can remove new by setting top_env_config_generate_methods_inside_class = no in file common.tpl
31
 
32
  extern function new(string name = "");
33
 
34
  // You can insert code here by setting top_env_config_inc_inside_class in file common.tpl
35
 
36
endclass : top_config
37
 
38
 
39
// You can remove new by setting top_env_config_generate_methods_after_class = no in file common.tpl
40
 
41
function top_config::new(string name = "");
42
  super.new(name);
43
 
44
  m_data_input_config                  = new("m_data_input_config");
45
  m_data_input_config.is_active        = UVM_ACTIVE;
46
  m_data_input_config.checks_enable    = 1;
47
  m_data_input_config.coverage_enable  = 1;
48
 
49
  m_data_output_config                 = new("m_data_output_config");
50
  m_data_output_config.is_active       = UVM_ACTIVE;
51
  m_data_output_config.checks_enable   = 1;
52
  m_data_output_config.coverage_enable = 0;
53
 
54
  // You can insert code here by setting top_env_config_append_to_new in file common.tpl
55
 
56
endfunction : new
57
 
58
 
59
// You can insert code here by setting top_env_config_inc_after_class in file common.tpl
60
 
61
`endif // TOP_CONFIG_SV
62
 

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.