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

Subversion Repositories uart2bus_testbench

[/] [uart2bus_testbench/] [trunk/] [tb/] [uvm_src/] [dpi/] [uvm_dpi.h] - Blame information for rev 16

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 16 HanySalah
//----------------------------------------------------------------------
2
//   Copyright 2010 Synopsys, Inc.
3
//   Copyright 2011 Mentor Graphics Corporation
4
//   Copyright 2013 NVIDIA Corporation
5
//   All Rights Reserved Worldwide
6
//
7
//   Licensed under the Apache License, Version 2.0 (the
8
//   "License"); you may not use this file except in
9
//   compliance with the License.  You may obtain a copy of
10
//   the License at
11
//
12
//       http://www.apache.org/licenses/LICENSE-2.0
13
//
14
//   Unless required by applicable law or agreed to in
15
//   writing, software distributed under the License is
16
//   distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
17
//   CONDITIONS OF ANY KIND, either express or implied.  See
18
//   the License for the specific language governing
19
//   permissions and limitations under the License.
20
//----------------------------------------------------------------------
21
 
22
//
23
// Top level header filke that wraps all requirements which
24
// are common to the various C/C++ files in UVM.
25
//
26
 
27
#ifndef UVM_DPI__H
28
#define UVM_DPI__H
29
 
30
#include <stdlib.h>
31
#include "vpi_user.h"
32
#include "veriuser.h"
33
#include "svdpi.h"
34
#include <malloc.h>
35
#include <string.h>
36
#include <stdio.h>
37
#include <regex.h>
38
#include <limits.h>
39
 
40
// The following consts and method call are for
41
// internal usage by the UVM DPI implementation,
42
// and are not intended for public use.
43
static const int M_UVM_INFO = 0;
44
static const int M_UVM_WARNING = 1;
45
static const int M_UVM_ERROR = 2;
46
static const int M_UVM_FATAL = 3;
47
 
48
static const int M_UVM_NONE = 0;
49
static const int M_UVM_LOW = 100;
50
static const int M_UVM_MEDIUM = 200;
51
static const int M_UVM_HIGH = 300;
52
static const int M_UVM_FULL = 400;
53
static const int M_UVM_DEBUG = 500;
54
 
55
void m_uvm_report_dpi(int severity,
56
                      char* id,
57
                      char* message,
58
                      int verbosity,
59
                      char* file,
60
                      int linenum);
61
 
62
int int_str_max( int );
63
 
64
 
65
#endif

powered by: WebSVN 2.1.0

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