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

Subversion Repositories uart2bus_testbench

[/] [uart2bus_testbench/] [trunk/] [tb/] [uvm_src/] [comps/] [uvm_env.svh] - Blame information for rev 16

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 16 HanySalah
//
2
//------------------------------------------------------------------------------
3
//   Copyright 2007-2011 Mentor Graphics Corporation
4
//   Copyright 2007-2010 Cadence Design Systems, Inc.
5
//   Copyright 2010 Synopsys, Inc.
6
//   All Rights Reserved Worldwide
7
//
8
//   Licensed under the Apache License, Version 2.0 (the
9
//   "License"); you may not use this file except in
10
//   compliance with the License.  You may obtain a copy of
11
//   the License at
12
//
13
//       http://www.apache.org/licenses/LICENSE-2.0
14
//
15
//   Unless required by applicable law or agreed to in
16
//   writing, software distributed under the License is
17
//   distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
18
//   CONDITIONS OF ANY KIND, either express or implied.  See
19
//   the License for the specific language governing
20
//   permissions and limitations under the License.
21
//------------------------------------------------------------------------------
22
 
23
//------------------------------------------------------------------------------
24
//
25
// CLASS: uvm_env
26
//
27
// The base class for hierarchical containers of other components that
28
// together comprise a complete environment. The environment may
29
// initially consist of the entire testbench. Later, it can be reused as
30
// a sub-environment in even larger system-level environments.
31
//------------------------------------------------------------------------------
32
 
33
virtual class uvm_env extends uvm_component;
34
 
35
  // Function: new
36
  //
37
  // Creates and initializes an instance of this class using the normal
38
  // constructor arguments for : ~name~ is the name of the
39
  // instance, and ~parent~ is the handle to the hierarchical parent, if any.
40
 
41
  function new (string name="env", uvm_component parent=null);
42
    super.new(name,parent);
43
  endfunction
44
 
45
  const static string type_name = "uvm_env";
46
 
47
  virtual function string get_type_name ();
48
    return type_name;
49
  endfunction
50
 
51
endclass
52
 
53
 

powered by: WebSVN 2.1.0

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