1 |
4 |
vladimirar |
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
|
2 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
4 |
|
|
<head>
|
5 |
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
6 |
|
|
<title>SyoSil ApS UVM Scoreboard: cl_syoscb_report_catcher.svh Source File</title>
|
7 |
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
8 |
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
9 |
|
|
<script type="text/javaScript" src="search/search.js"></script>
|
10 |
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
11 |
|
|
</head>
|
12 |
|
|
<body onload='searchBox.OnSelectItem(0);'>
|
13 |
|
|
<!-- Generated by Doxygen 1.6.1 -->
|
14 |
|
|
<script type="text/javascript"><!--
|
15 |
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
16 |
|
|
--></script>
|
17 |
|
|
<script type="text/javascript">
|
18 |
|
|
<!--
|
19 |
|
|
function changeDisplayState (e){
|
20 |
|
|
var num=this.id.replace(/[^[0-9]/g,'');
|
21 |
|
|
var button=this.firstChild;
|
22 |
|
|
var sectionDiv=document.getElementById('dynsection'+num);
|
23 |
|
|
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
24 |
|
|
sectionDiv.style.display='block';
|
25 |
|
|
button.src='open.gif';
|
26 |
|
|
}else{
|
27 |
|
|
sectionDiv.style.display='none';
|
28 |
|
|
button.src='closed.gif';
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
function initDynSections(){
|
32 |
|
|
var divs=document.getElementsByTagName('div');
|
33 |
|
|
var sectionCounter=1;
|
34 |
|
|
for(var i=0;i<divs.length-1;i++){
|
35 |
|
|
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
36 |
|
|
var header=divs[i];
|
37 |
|
|
var section=divs[i+1];
|
38 |
|
|
var button=header.firstChild;
|
39 |
|
|
if (button!='IMG'){
|
40 |
|
|
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
41 |
|
|
button=document.createElement('img');
|
42 |
|
|
divs[i].insertBefore(button,divs[i].firstChild);
|
43 |
|
|
}
|
44 |
|
|
header.style.cursor='pointer';
|
45 |
|
|
header.onclick=changeDisplayState;
|
46 |
|
|
header.id='dynheader'+sectionCounter;
|
47 |
|
|
button.src='closed.gif';
|
48 |
|
|
section.id='dynsection'+sectionCounter;
|
49 |
|
|
section.style.display='none';
|
50 |
|
|
section.style.marginLeft='14px';
|
51 |
|
|
sectionCounter++;
|
52 |
|
|
}
|
53 |
|
|
}
|
54 |
|
|
}
|
55 |
|
|
window.onload = initDynSections;
|
56 |
|
|
-->
|
57 |
|
|
</script>
|
58 |
|
|
<div class="navigation" id="top">
|
59 |
|
|
<div class="tabs">
|
60 |
|
|
<ul>
|
61 |
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
62 |
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
63 |
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
64 |
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
65 |
|
|
<li><a href="dirs.html"><span>Directories</span></a></li>
|
66 |
|
|
<li>
|
67 |
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
68 |
|
|
<img id="MSearchSelect" src="search/search.png"
|
69 |
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
70 |
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
71 |
|
|
alt=""/>
|
72 |
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
73 |
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
74 |
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
75 |
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
76 |
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
77 |
|
|
</div>
|
78 |
|
|
</li>
|
79 |
|
|
</ul>
|
80 |
|
|
</div>
|
81 |
|
|
<div class="tabs">
|
82 |
|
|
<ul>
|
83 |
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
84 |
|
|
</ul>
|
85 |
|
|
</div>
|
86 |
|
|
<div class="navpath"><a class="el" href="dir_562324e130495ce1321e3e3f14c8d761.html">src</a>
|
87 |
|
|
</div>
|
88 |
|
|
</div>
|
89 |
|
|
<div class="contents">
|
90 |
|
|
<h1>cl_syoscb_report_catcher.svh</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keyword">class </span>cl_syoscb_report_catcher <span class="keyword">extends</span> uvm_report_catcher;
|
91 |
|
|
<a name="l00002"></a>00002 <span class="comment">//-------------------------------------</span>
|
92 |
|
|
<a name="l00003"></a>00003 <span class="comment">// Non randomizable variables</span>
|
93 |
|
|
<a name="l00004"></a>00004 <span class="comment">//-------------------------------------</span>
|
94 |
|
|
<a name="l00005"></a>00005 int max_num_scb_errors = 10; <span class="comment">// allow that many SCB errors before stopping the simulation</span>
|
95 |
|
|
<a name="l00006"></a>00006 int num_scb_errors = 0;
|
96 |
|
|
<a name="l00007"></a>00007
|
97 |
|
|
<a name="l00008"></a>00008 <span class="comment">//-------------------------------------</span>
|
98 |
|
|
<a name="l00009"></a>00009 <span class="comment">// API</span>
|
99 |
|
|
<a name="l00010"></a>00010 <span class="comment">//-------------------------------------</span>
|
100 |
|
|
<a name="l00011"></a>00011 extern <span class="keyword">virtual</span> function action_e catch();
|
101 |
|
|
<a name="l00012"></a>00012 endclass: cl_syoscb_report_catcher
|
102 |
|
|
<a name="l00013"></a>00013
|
103 |
|
|
<a name="l00014"></a>00014 function cl_syoscb_report_catcher::action_e cl_syoscb_report_catcher::catch();
|
104 |
|
|
<a name="l00015"></a>00015 if (get_severity()==UVM_INFO) begin
|
105 |
|
|
<a name="l00016"></a>00016 if (get_id()=="MISCMP") begin
|
106 |
|
|
<a name="l00017"></a>00017 return CAUGHT; <span class="comment">// Avoid the OOO compare to report lots of mismatches for the compare method</span>
|
107 |
|
|
<a name="l00018"></a>00018 end
|
108 |
|
|
<a name="l00019"></a>00019 end else if (get_severity()==UVM_ERROR) begin
|
109 |
|
|
<a name="l00020"></a>00020 if (get_id() == "SYOSCB") begin
|
110 |
|
|
<a name="l00021"></a>00021 if (num_scb_errors < max_num_scb_errors) begin
|
111 |
|
|
<a name="l00022"></a>00022 set_severity(UVM_WARNING);
|
112 |
|
|
<a name="l00023"></a>00023 end
|
113 |
|
|
<a name="l00024"></a>00024 num_scb_errors++;
|
114 |
|
|
<a name="l00025"></a>00025 end
|
115 |
|
|
<a name="l00026"></a>00026 end
|
116 |
|
|
<a name="l00027"></a>00027 return THROW;
|
117 |
|
|
<a name="l00028"></a>00028 endfunction
|
118 |
|
|
<a name="l00029"></a>00029
|
119 |
|
|
</pre></div></div>
|
120 |
|
|
<!--- window showing the filter options -->
|
121 |
|
|
<div id="MSearchSelectWindow"
|
122 |
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
123 |
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
124 |
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
125 |
|
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Variables</a></div>
|
126 |
|
|
|
127 |
|
|
<!-- iframe showing the search results (closed by default) -->
|
128 |
|
|
<div id="MSearchResultsWindow">
|
129 |
|
|
<iframe src="" frameborder="0"
|
130 |
|
|
name="MSearchResults" id="MSearchResults">
|
131 |
|
|
</iframe>
|
132 |
|
|
</div>
|
133 |
|
|
|
134 |
|
|
<!--*************************************************************************-->
|
135 |
|
|
<!-- $Id: idv_dox_footer.html 136 2010-05-31 19:13:27Z seanoboyle $ -->
|
136 |
|
|
<!--*************************************************************************-->
|
137 |
|
|
<!-- This program is free software: you can redistribute it and/or modify -->
|
138 |
|
|
<!-- it under the terms of the GNU General Public License as published by -->
|
139 |
|
|
<!-- the Free Software Foundation, either version 3 of the License, or -->
|
140 |
|
|
<!-- (at your option) any later version. -->
|
141 |
|
|
<!-- -->
|
142 |
|
|
<!-- This program is distributed in the hope that it will be useful, -->
|
143 |
|
|
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
|
144 |
|
|
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
|
145 |
|
|
<!-- GNU General Public License for more details. -->
|
146 |
|
|
<!-- -->
|
147 |
|
|
<!-- You should have received a copy of the GNU General Public License -->
|
148 |
|
|
<!-- along with this program. If not, see http://www.gnu.org/licenses/. -->
|
149 |
|
|
<!-- -->
|
150 |
|
|
<!--*************************************************************************-->
|
151 |
|
|
<!-- Title: IDV Doxygen Footer File -->
|
152 |
|
|
<!-- Description: This file is a doxygen footer with the IDV logo and a -->
|
153 |
|
|
<!-- and a reference to the GNU FDL License. -->
|
154 |
|
|
<!-- -->
|
155 |
|
|
<!-- Original Author: Sean O'Boyle -->
|
156 |
|
|
<!-- Contact: seanoboyle@intelligentdv.com -->
|
157 |
|
|
<!-- Company: Intelligent Design Verification -->
|
158 |
|
|
<!-- Company URL: http://intelligentdv.com -->
|
159 |
|
|
<!-- -->
|
160 |
|
|
<!-- Download the most recent version here: -->
|
161 |
|
|
<!-- http://intelligentdv.com/downloads -->
|
162 |
|
|
<!-- -->
|
163 |
|
|
<!-- File Bugs Here: http://bugs.intelligentdv.com -->
|
164 |
|
|
<!-- Project: DoxygenFilterSV -->
|
165 |
|
|
<!-- -->
|
166 |
|
|
<!-- File: idv_dox_header.xml -->
|
167 |
|
|
<!-- $LastChangedBy: seanoboyle $ -->
|
168 |
|
|
<!-- $LastChangedDate: 2010-05-31 12:13:27 -0700 (Mon, 31 May 2010) $ -->
|
169 |
|
|
<!-- $LastChangedRevision: 136 $ -->
|
170 |
|
|
<!-- -->
|
171 |
|
|
<!--*************************************************************************-->
|
172 |
|
|
|
173 |
|
|
<br>
|
174 |
|
|
<table border="1" width = "100%">
|
175 |
|
|
<tr>
|
176 |
|
|
<td width = "20%">
|
177 |
|
|
<img src="syosil.jpg">
|
178 |
|
|
</td>
|
179 |
|
|
<td width = "60%">
|
180 |
|
|
<address style="text-align: center;">
|
181 |
|
|
Project: SyoSil ApS UVM Scoreboard, Revision: 1.0.2.5<br>
|
182 |
|
|
<br>
|
183 |
|
|
Copyright 2014-2015 SyoSil ApS<br>
|
184 |
|
|
All Rights Reserved Worldwide<br>
|
185 |
|
|
<br>
|
186 |
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
187 |
|
|
use this file except in compliance with the License. You may obtain a copy of
|
188 |
|
|
the License at<br>
|
189 |
|
|
<br>
|
190 |
|
|
<a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a><br>
|
191 |
|
|
<br>
|
192 |
|
|
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
193 |
|
|
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
194 |
|
|
implied. See the License for the specific language governing permissions and limitations under
|
195 |
|
|
the License.
|
196 |
|
|
</address>
|
197 |
|
|
</td>
|
198 |
|
|
<td width = "20%">
|
199 |
|
|
<address style="text-align: right;"><small>
|
200 |
|
|
<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a><br>
|
201 |
|
|
<a href="http://www.doxygen.org/index.html">Doxygen</a> Version: 1.6.1<br>
|
202 |
|
|
<a href="http://www.intelligentdv.com/index.html">IDV SV Filter</a> Version: 2.6.2<br>
|
203 |
|
|
Sat Nov 28 05:41:54 2015</small></address>
|
204 |
|
|
</td>
|
205 |
|
|
</tr>
|
206 |
|
|
</table>
|
207 |
|
|
<address style="text-align: left;"><small>
|
208 |
|
|
Find a documentation bug? Report bugs to: <a href="http://bugs.intelligentdv.com/">bugs.intelligentdv.com</a> Project: DoxygenFilterSV
|
209 |
|
|
</small></address>
|
210 |
|
|
</body>
|
211 |
|
|
</html>
|