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

Subversion Repositories uart2bus_testbench

[/] [uart2bus_testbench/] [trunk/] [tb/] [uvm_src/] [comps/] [uvm_scoreboard.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_scoreboard
26
//
27
// The uvm_scoreboard virtual class should be used as the base class for
28
// user-defined scoreboards.
29
//
30
// Deriving from uvm_scoreboard will allow you to distinguish scoreboards from
31
// other component types inheriting directly from uvm_component. Such
32
// scoreboards will automatically inherit and benefit from features that may be
33
// added to uvm_scoreboard in the future.
34
//------------------------------------------------------------------------------
35
 
36
virtual class uvm_scoreboard extends uvm_component;
37
 
38
  // Function: new
39
  //
40
  // Creates and initializes an instance of this class using the normal
41
  // constructor arguments for : ~name~ is the name of the
42
  // instance, and ~parent~ is the handle to the hierarchical parent, if any.
43
 
44
  function new (string name, uvm_component parent);
45
    super.new(name, parent);
46
  endfunction
47
 
48
  const static string type_name = "uvm_scoreboard";
49
 
50
  virtual function string get_type_name ();
51
    return type_name;
52
  endfunction
53
 
54
endclass
55
 

powered by: WebSVN 2.1.0

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