blob: b1ee8298540448129ad24f0224939e6236cbb915 [file] [log] [blame]
<html><head><title>uvm_printer</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script></head><body class="FramedContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version Development Release 01-12-2008 (1.35 base) -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<!--TOP - START OF CONTENT-->
<div id=Content>
<!--CONTENT index=0 -->
<div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="uvm_printer" href="../../../../src/base/uvm_printer.svh">uvm_printer</a></h1><div class=CBody>
<!--START_ND_SUMMARY index=0-->
<div class=Summary><div class=STitle>Contents</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=0 -->
<tr class="SMain"><td class=SEntry><a href="#uvm_printer" >uvm_printer</a></td><td class=SDescription></td></tr>
<!-- index=1 -->
<tr class="SSMethod"><td class=SEntry><a href="#uvm_table_printer" >uvm_table_printer</a></td><td class=SDescription>The table printer prints output in a tabular format.</td></tr>
<!-- index=4 -->
<tr class="SSMethod SMarked"><td class=SEntry><a href="#uvm_tree_printer" >uvm_tree_printer</a></td><td class=SDescription>By overriding various methods of the <a href="#uvm_printer" class=LFile >uvm_printer</a> super class, the tree printer prints output in a tree format.</td></tr>
<!-- index=7 -->
<tr class="SSMethod"><td class=SEntry><a href="#uvm_line_printer" >uvm_line_printer</a></td><td class=SDescription>The line printer prints output in a line format.</td></tr></table></div></div><!--END_ND_SUMMARY-->
</div></div></div>
<!--CONTENT index=1 -->
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="uvm_table_printer" href="../../../../src/base/uvm_printer.svh">uvm_table_printer</a></h2><div class=CBody><p>The table printer prints output in a tabular format.</p><p>The following shows sample output from the table printer.</p><blockquote><pre>---------------------------------------------------
Name Type Size Value
---------------------------------------------------
c1 container - @1013
d1 mydata - @1022
v1 integral 32 'hcb8f1c97
e1 enum 32 THREE
str string 2 hi
value integral 12 'h2d
---------------------------------------------------</pre></blockquote><p>@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2</p>
<!--START_ND_SUMMARY index=1-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=1 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#uvm_table_printer" >uvm_table_printer</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>The table printer prints output in a tabular format.</td></tr>
<!-- index=2 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#uvm_table_printer.Methods" >Methods</a></td><td class=SDescription></td></tr>
<!-- index=3 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#uvm_table_printer.get_default" >get_default</a></td><td class=SDescription>Implementation of uvm_table_printer::get_default as defined in section 16.2.10.2.3 of 1800.2-2017.</td></tr></table></div></div><!--END_ND_SUMMARY-->
</div></div></div>
<!--CONTENT index=2 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="uvm_table_printer.Methods" href="../../../../src/base/uvm_printer.svh">Methods</a></h3></div></div>
<!--CONTENT index=3 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="uvm_table_printer.get_default" href="../../../../src/base/uvm_printer.svh">get_default</a></h3><div class=CBody><p>Implementation of uvm_table_printer::get_default as defined in section 16.2.10.2.3 of 1800.2-2017.</p><p><b>Note:</b> The library implements get_default as described in IEEE 1800.2-2017 with the exception that this implementation will instance a uvm_table_printer if the most recent call to set_default() used an argument value of null.</p><p>@uvm-contrib This API is being considered for potential contribution to 1800.2</p></div></div></div>
<!--CONTENT index=4 -->
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="uvm_tree_printer" href="../../../../src/base/uvm_printer.svh">uvm_tree_printer</a></h2><div class=CBody><p>By overriding various methods of the <a href="#uvm_printer" class=LFile >uvm_printer</a> super class, the tree printer prints output in a tree format.</p><p>The following shows sample output from the tree printer.</p><blockquote><pre>c1: (container@1013) {
d1: (mydata@1022) {
v1: 'hcb8f1c97
e1: THREE
str: hi
}
value: 'h2d
}</pre></blockquote>
<!--START_ND_SUMMARY index=4-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=4 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#uvm_tree_printer" >uvm_tree_printer</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>By overriding various methods of the <a href="#uvm_printer" class=LFile >uvm_printer</a> super class, the tree printer prints output in a tree format.</td></tr>
<!-- index=5 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#uvm_tree_printer.Methods" >Methods</a></td><td class=SDescription></td></tr>
<!-- index=6 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#uvm_tree_printer.get_default" >get_default</a></td><td class=SDescription>Implementation of uvm_tree_printer::get_default as defined in section 16.2.11.2.4 of 1800.2-2017.</td></tr></table></div></div><!--END_ND_SUMMARY-->
</div></div></div>
<!--CONTENT index=5 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="uvm_tree_printer.Methods" href="../../../../src/base/uvm_printer.svh">Methods</a></h3></div></div>
<!--CONTENT index=6 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="uvm_tree_printer.get_default" href="../../../../src/base/uvm_printer.svh">get_default</a></h3><div class=CBody><p>Implementation of uvm_tree_printer::get_default as defined in section 16.2.11.2.4 of 1800.2-2017.</p><p><b>Note:</b> The library implements get_default as described in IEEE 1800.2-2017 with the exception that this implementation will instance a uvm_tree_printer if the most recent call to set_default() used an argument value of null.</p><p>@uvm-contrib This API is being considered for potential contribution to 1800.2</p></div></div></div>
<!--CONTENT index=7 -->
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="uvm_line_printer" href="../../../../src/base/uvm_printer.svh">uvm_line_printer</a></h2><div class=CBody><p>The line printer prints output in a line format.</p><p>The following shows sample output from the line printer.</p><blockquote><pre>c1: (container@1013) { d1: (mydata@1022) { v1: 'hcb8f1c97 e1: THREE str: hi } value: 'h2d }</pre></blockquote>
<!--START_ND_SUMMARY index=7-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=7 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#uvm_line_printer" >uvm_line_printer</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>The line printer prints output in a line format.</td></tr>
<!-- index=8 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#uvm_line_printer.Methods" >Methods</a></td><td class=SDescription></td></tr>
<!-- index=9 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#uvm_line_printer.get_default" >get_default</a></td><td class=SDescription>Implementation of uvm_line_printer::get_default as defined in section 16.2.12.2.3 of 1800.2-2017.</td></tr></table></div></div><!--END_ND_SUMMARY-->
</div></div></div>
<!--CONTENT index=8 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="uvm_line_printer.Methods" href="../../../../src/base/uvm_printer.svh">Methods</a></h3></div></div>
<!--CONTENT index=9 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="uvm_line_printer.get_default" href="../../../../src/base/uvm_printer.svh">get_default</a></h3><div class=CBody><p>Implementation of uvm_line_printer::get_default as defined in section 16.2.12.2.3 of 1800.2-2017.</p><p><b>Note:</b> The library implements get_default as described in IEEE 1800.2-2017 with the exception that this implementation will instance a uvm_line_printer if the most recent call to set_default() used an argument value of null.</p><p>@uvm-contrib This API is being considered for potential contribution to 1800.2</p></div></div></div>
</div><!--Content-->
<!--START_ND_TOOLTIPS-->
<!--END_ND_TOOLTIPS-->
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>