blob: 2dd3e518e166589f64749511059c72f1ee2a5615 [file] [log] [blame]
<html><head><title>ovm_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="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="ovm_printer" href="../../../../src/base/ovm_printer.svh">ovm_printer</a></h1><div class=CBody><p>The ovm_printer class provides an interface for printing <a href="ovm_object-svh.html#ovm_object" class=LClass id=link22 onMouseOver="ShowTip(event, 'tt2', 'link22')" onMouseOut="HideTip('tt2')">ovm_objects</a> in various formats.&nbsp; Subtypes of ovm_printer implement different print formats, or policies.</p><p>A user-defined printer format can be created, or one of the following four built-in printers can be used:</p><img src="../../files2/nd/Images/ovm_ref_printer.gif" width="234" height="174"><ul><li><a href="#ovm_printer" class=LClass id=link23 onMouseOver="ShowTip(event, 'tt1', 'link23')" onMouseOut="HideTip('tt1')">ovm_printer</a> - provides raw, essentially un-formatted output</li><li><a href="#ovm_table_printer" class=LClass id=link24 onMouseOver="ShowTip(event, 'tt22', 'link24')" onMouseOut="HideTip('tt22')">ovm_table_printer</a> - prints the object in a tabular form.</li><li><a href="#ovm_tree_printer" class=LClass id=link25 onMouseOver="ShowTip(event, 'tt23', 'link25')" onMouseOut="HideTip('tt23')">ovm_tree_printer</a> - prints the object in a tree form.</li><li><a href="#ovm_line_printer" class=LClass id=link26 onMouseOver="ShowTip(event, 'tt24', 'link26')" onMouseOut="HideTip('tt24')">ovm_line_printer</a> - prints the information on a single line, but uses the same object separators as the tree printer.</li></ul><p>Printers have knobs that you use to control what and how information is printed.&nbsp; These knobs are contained in separate knob classes:</p><img src="../../files2/nd/Images/ovm_ref_printer_knobs.gif" width="297" height="174"><ul><li><a href="#ovm_printer_knobs" class=LClass id=link27 onMouseOver="ShowTip(event, 'tt25', 'link27')" onMouseOut="HideTip('tt25')">ovm_printer_knobs</a> - common printer settings</li><li><a href="#ovm_hier_printer_knobs" class=LClass id=link28 onMouseOver="ShowTip(event, 'tt26', 'link28')" onMouseOut="HideTip('tt26')">ovm_hier_printer_knobs</a> - settings for printing hierarchically</li><li><a href="#ovm_table_printer_knobs" class=LClass id=link29 onMouseOver="ShowTip(event, 'tt27', 'link29')" onMouseOut="HideTip('tt27')">ovm_table_printer_knobs</a> - settings specific to the table printer</li><li><a href="#ovm_tree_printer_knobs" class=LClass id=link30 onMouseOver="ShowTip(event, 'tt28', 'link30')" onMouseOut="HideTip('tt28')">ovm_tree_printer_knobs</a> - settings specific to the tree printer</li></ul><p>For convenience, global instances of each printer type are available for direct reference in your testbenches.</p><ul><li><a href="ovm_object_globals-svh.html#ovm_default_tree_printer" class=LVariable id=link31 onMouseOver="ShowTip(event, 'tt29', 'link31')" onMouseOut="HideTip('tt29')">ovm_default_tree_printer</a></li><li><a href="ovm_object_globals-svh.html#ovm_default_line_printer" class=LVariable id=link32 onMouseOver="ShowTip(event, 'tt30', 'link32')" onMouseOut="HideTip('tt30')">ovm_default_line_printer</a></li><li><a href="ovm_object_globals-svh.html#ovm_default_table_printer" class=LVariable id=link33 onMouseOver="ShowTip(event, 'tt31', 'link33')" onMouseOut="HideTip('tt31')">ovm_default_table_printer</a></li><li><a href="ovm_object_globals-svh.html#ovm_default_printer" class=LVariable id=link34 onMouseOver="ShowTip(event, 'tt32', 'link34')" onMouseOut="HideTip('tt32')">ovm_default_printer</a> (set to default_table_printer by default)</li></ul><p>The <a href="ovm_object_globals-svh.html#ovm_default_printer" class=LVariable id=link35 onMouseOver="ShowTip(event, 'tt32', 'link35')" onMouseOut="HideTip('tt32')">ovm_default_printer</a> is used by <a href="ovm_object-svh.html#ovm_object.print" class=LMethod id=link36 onMouseOver="ShowTip(event, 'tt33', 'link36')" onMouseOut="HideTip('tt33')">ovm_object::print</a> and <a href="ovm_object-svh.html#ovm_object.sprint" class=LMethod id=link37 onMouseOver="ShowTip(event, 'tt34', 'link37')" onMouseOut="HideTip('tt34')">ovm_object::sprint</a> when the optional <i>ovm_printer</i> argument to these methods is not provided.</p>
<!--START_ND_SUMMARY index=0-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=0 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#ovm_printer" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">ovm_printer</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>The ovm_printer class provides an interface for printing <a href="ovm_object-svh.html#ovm_object" class=LClass id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">ovm_objects</a> in various formats. </td></tr>
<tr class="SPrototype SIndent1">
<td colspan=2 class="SEntry SIndent1">Class Declaration</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_printer</td></tr></table></blockquote></td></tr>
<!-- index=1 -->
<tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#ovm_printer.knobs" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">knobs</a></td><td class=SDescription>The knob object provides access to the variety of knobs associated with a specific printer instance.</td></tr>
<!-- index=2 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#ovm_printer.Methods_for_printer_usage" >Methods for printer usage</a></td><td class=SDescription></td></tr>
<!-- index=3 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_printer.print_field" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">print_field</a></td><td class=SDescription>Prints an integral field.</td></tr>
<!-- index=4 -->
<tr class="SMethod SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer.print_object_header" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">print_object_header</a></td><td class=SDescription>Prints the header of an object.</td></tr>
<!-- index=5 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_printer.print_object" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">print_object</a></td><td class=SDescription>Prints an object. </td></tr>
<!-- index=6 -->
<tr class="SMethod SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer.print_string" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">print_string</a></td><td class=SDescription>Prints a string field.</td></tr>
<!-- index=7 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_printer.print_time" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">print_time</a></td><td class=SDescription>Prints a time value. </td></tr>
<!-- index=8 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#ovm_printer.Methods_for_printer_subtyping" >Methods for printer subtyping</a></td><td class=SDescription></td></tr>
<!-- index=9 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_printer.print_header" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">print_header</a></td><td class=SDescription>Prints header information. </td></tr>
<!-- index=10 -->
<tr class="SMethod SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer.print_footer" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">print_footer</a></td><td class=SDescription>Prints footer information. </td></tr>
<!-- index=11 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_printer.print_id" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">print_id</a></td><td class=SDescription>Prints a field&rsquo;s name, or <i>id</i>, which is the full instance name.</td></tr>
<!-- index=12 -->
<tr class="SMethod SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer.print_type_name" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">print_type_name</a></td><td class=SDescription>Prints a field&rsquo;s type name.</td></tr>
<!-- index=13 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_printer.print_size" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">print_size</a></td><td class=SDescription>Prints a field&rsquo;s size. </td></tr>
<!-- index=14 -->
<tr class="SMethod SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer.print_newline" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">print_newline</a></td><td class=SDescription>Prints a newline character. </td></tr>
<!-- index=15 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_printer.print_value" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">print_value</a></td><td class=SDescription>Prints an integral field&rsquo;s value.</td></tr>
<!-- index=16 -->
<tr class="SMethod SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer.print_value_object" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">print_value_object</a></td><td class=SDescription>Prints a unique handle identifier for the given object.</td></tr>
<!-- index=17 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_printer.print_value_string" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')">print_value_string</a></td><td class=SDescription>Prints a string field&rsquo;s value.</td></tr>
<!-- index=18 -->
<tr class="SMethod SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer.print_value_array" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')">print_value_array</a></td><td class=SDescription>Prints an array&rsquo;s value.</td></tr>
<!-- index=19 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_printer.print_array_header" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')">print_array_header</a></td><td class=SDescription>Prints the header of an array. </td></tr>
<!-- index=20 -->
<tr class="SMethod SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer.print_array_range" id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')">print_array_range</a></td><td class=SDescription>Prints a range using ellipses for values. </td></tr>
<!-- index=21 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_printer.print_array_footer" id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')">print_array_footer</a></td><td class=SDescription>Prints the header of a footer. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<!--CONTENT index=1 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.knobs" href="../../../../src/base/ovm_printer.svh">knobs</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_printer_knobs knobs = new</td></tr></table></blockquote><div class=CBody><p>The knob object provides access to the variety of knobs associated with a specific printer instance.</p><p>Each derived printer class overwrites the knobs variable with the a derived knob class that extends <a href="#ovm_printer_knobs" class=LClass id=link38 onMouseOver="ShowTip(event, 'tt25', 'link38')" onMouseOut="HideTip('tt25')">ovm_printer_knobs</a>.&nbsp; The derived knobs class adds more knobs to the base knobs.</p></div></div></div>
<!--CONTENT index=2 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.Methods_for_printer_usage" href="../../../../src/base/ovm_printer.svh">Methods for printer usage</a></h3></div></div>
<!--CONTENT index=3 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_field" href="../../../../src/base/ovm_printer.svh">print_field</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_field (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>ovm_bitstream_t&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>ovm_radix_enum&nbsp;</td><td class=PParameter nowrap>radix</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>OVM_NORADIX,</td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;,</td></tr><tr><td></td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>type_name</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints an integral field.</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>name</td><td class=CDLDescription>The name of the field.</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>The value of the field.</td></tr><tr><td class=CDLEntry>size</td><td class=CDLDescription>The number of bits of the field (maximum is 4096).</td></tr><tr><td class=CDLEntry>radix</td><td class=CDLDescription>The radix to use for printingthe printer knob for radix is used if no radix is specified.</td></tr><tr><td class=CDLEntry>scope_separator</td><td class=CDLDescription>is used to find the leaf name since many printers only print the leaf name of a field.&nbsp; Typical values for the separator are . (dot) or [ (open bracket).</td></tr></table></div></div></div>
<!--CONTENT index=4 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_object_header" href="../../../../src/base/ovm_printer.svh">print_object_header</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_object_header (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>ovm_object&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints the header of an object.</p><p>This function is called when an object is printed by reference.&nbsp; For this function, the object will not be recursed.</p></div></div></div>
<!--CONTENT index=5 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_object" href="../../../../src/base/ovm_printer.svh">print_object</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_object (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>ovm_object&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints an object.&nbsp; Whether the object is recursed depends on a variety of knobs, such as the depth knob; if the current depth is at or below the depth setting, then the object is not recursed.</p><p>By default, the children of <a href="ovm_component-svh.html#ovm_component" class=LClass id=link39 onMouseOver="ShowTip(event, 'tt35', 'link39')" onMouseOut="HideTip('tt35')">ovm_components</a> are printed.&nbsp; To turn this behavior off, you must set the <a href="ovm_component-svh.html#ovm_component.print_enabled" class=LVariable id=link40 onMouseOver="ShowTip(event, 'tt36', 'link40')" onMouseOut="HideTip('tt36')">ovm_component::print_enabled</a> bit to 0 for the specific children you do not want automatically printed.</p></div></div></div>
<!--CONTENT index=6 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_string" href="../../../../src/base/ovm_printer.svh">print_string</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_string (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints a string field.</p></div></div></div>
<!--CONTENT index=7 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_time" href="../../../../src/base/ovm_printer.svh">print_time</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_time (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>time&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints a time value. name is the name of the field, and value is the value to print.</p><p>The print is subject to the <i>$timeformat</i> system task for formatting time values.</p></div></div></div>
<!--CONTENT index=8 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.Methods_for_printer_subtyping" href="../../../../src/base/ovm_printer.svh">Methods for printer subtyping</a></h3></div></div>
<!--CONTENT index=9 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_header" href="../../../../src/base/ovm_printer.svh">print_header</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>virtual function void print_header ()</td></tr></table></blockquote><div class=CBody><p>Prints header information.&nbsp; It is called when the current depth is 0, before any fields have been printed.</p></div></div></div>
<!--CONTENT index=10 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_footer" href="../../../../src/base/ovm_printer.svh">print_footer</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>virtual function void print_footer ()</td></tr></table></blockquote><div class=CBody><p>Prints footer information.&nbsp; It is called when the current depth is 0, after all fields have been printed.</p></div></div></div>
<!--CONTENT index=11 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_id" href="../../../../src/base/ovm_printer.svh">print_id</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_id (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>id,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints a field&rsquo;s name, or <i>id</i>, which is the full instance name.</p><p>The intent of the separator is to mark where the leaf name starts if the printer if configured to print only the leaf name of the identifier.</p></div></div></div>
<!--CONTENT index=12 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_type_name" href="../../../../src/base/ovm_printer.svh">print_type_name</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_type_name (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td></tr><tr><td></td><td class=PType nowrap>bit&nbsp;</td><td class=PParameter nowrap>is_object</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints a field&rsquo;s type name.</p><p>The <i>is_object</i> bit indicates that the item being printed is an object derived from <a href="ovm_object-svh.html#ovm_object" class=LClass id=link41 onMouseOver="ShowTip(event, 'tt2', 'link41')" onMouseOut="HideTip('tt2')">ovm_object</a>.</p></div></div></div>
<!--CONTENT index=13 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_size" href="../../../../src/base/ovm_printer.svh">print_size</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_size (</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>-1</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints a field&rsquo;s size.&nbsp; A size of -1 indicates that no size is available, in which case the printer inserts the appropriate white space if the format requires it.</p></div></div></div>
<!--CONTENT index=14 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_newline" href="../../../../src/base/ovm_printer.svh">print_newline</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_newline (</td><td class=PType nowrap>bit&nbsp;</td><td class=PParameter nowrap>do_global_indent</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>1</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints a newline character.&nbsp; It is up to the printer to determine how or whether to display new lines.&nbsp; The <i>do_global_indent</i> bit indicates whether the call to print_newline() should honor the indent knob.</p></div></div></div>
<!--CONTENT index=15 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_value" href="../../../../src/base/ovm_printer.svh">print_value</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_value (</td><td class=PType nowrap>ovm_bitstream_t&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>ovm_radix_enum&nbsp;</td><td class=PParameter nowrap>radix</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>OVM_NORADIX</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints an integral field&rsquo;s value.</p><p>The <i>value</i> vector is up to 4096 bits, and the <i>size</i> input indicates the number of bits to actually print.</p><p>The <i>radix</i> input is the radix that should be used for printing the value.</p></div></div></div>
<!--CONTENT index=16 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_value_object" href="../../../../src/base/ovm_printer.svh">print_value_object</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_value_object (</td><td class=PType nowrap>ovm_object&nbsp;</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints a unique handle identifier for the given object.</p></div></div></div>
<!--CONTENT index=17 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_value_string" href="../../../../src/base/ovm_printer.svh">print_value_string</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_value_string (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints a string field&rsquo;s value.</p></div></div></div>
<!--CONTENT index=18 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_value_array" href="../../../../src/base/ovm_printer.svh">print_value_array</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_value_array (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>value</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;&quot;,</td></tr><tr><td></td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>0</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints an array&rsquo;s value.</p><p>This only prints the header value of the array, which means that it implements the printer-specific print_array_header().</p><p><i>value</i> is the value to be printed for the array.&nbsp; It is generally the string representation of <i>size</i>, but it may be any string.&nbsp; <i>size</i> is the number of elements in the array.</p></div></div></div>
<!--CONTENT index=19 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_array_header" href="../../../../src/base/ovm_printer.svh">print_array_header</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_array_header(</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>arraytype</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;array&quot;,</td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints the header of an array.&nbsp; This function is called before each individual element is printed.&nbsp; <a href="#ovm_printer.print_array_footer" class=LMethod id=link42 onMouseOver="ShowTip(event, 'tt21', 'link42')" onMouseOut="HideTip('tt21')">print_array_footer</a> is called to mark the completion of array printing.</p></div></div></div>
<!--CONTENT index=20 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_array_range" href="../../../../src/base/ovm_printer.svh">print_array_range</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_array_range (</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>min,</td></tr><tr><td></td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>max</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints a range using ellipses for values.&nbsp; This method is used when honoring the array knobs for partial printing of large arrays, <a href="#ovm_printer_knobs.begin_elements" class=LVariable id=link43 onMouseOver="ShowTip(event, 'tt37', 'link43')" onMouseOut="HideTip('tt37')">ovm_printer_knobs::begin_elements</a> and <a href="#ovm_printer_knobs.end_elements" class=LVariable id=link44 onMouseOver="ShowTip(event, 'tt38', 'link44')" onMouseOut="HideTip('tt38')">ovm_printer_knobs::end_elements</a>.</p><p>This function should be called after begin_elements have been printed and after end_elements have been printed.</p></div></div></div>
<!--CONTENT index=21 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer.print_array_footer" href="../../../../src/base/ovm_printer.svh">print_array_footer</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_array_footer (</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Prints the header of a footer.&nbsp; This function marks the end of an array print.&nbsp; Generally, there is no output associated with the array footer, but this method lets the printer know that the array printing is complete.</p></div></div></div>
<!--CONTENT index=22 -->
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="ovm_table_printer" href="../../../../src/base/ovm_printer.svh">ovm_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>
<!--START_ND_SUMMARY index=22-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=22 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#ovm_table_printer" id=link46 onMouseOver="ShowTip(event, 'tt22', 'link46')" onMouseOut="HideTip('tt22')">ovm_table_printer</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>The table printer prints output in a tabular format.</td></tr>
<tr class="SHierarchy SIndent1 "><td colspan=2 class="SEntry SIndent1">Class Hierarchy</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><div class=ClassHierarchy>
<table border=0 cellspacing=0 cellpadding=0>
<tr><td><div class=CHParent><div class=CHEntry><a href="#ovm_printer" class=LClass id=link45 onMouseOver="ShowTip(event, 'tt1', 'link45')" onMouseOut="HideTip('tt1')">ovm_printer</a></div></div></td></tr>
<tr><td><div class=CHCurrent><div class=CHEntry>ovm_table_printer</div></div></td></tr></table>
</div></td></tr>
<tr class="SPrototype SIndent1">
<td colspan=2 class="SEntry SIndent1">Class Declaration</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_table_printer extends ovm_printer</td></tr></table></blockquote></td></tr>
<!-- index=23 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#ovm_table_printer.Variables" >Variables</a></td><td class=SDescription></td></tr>
<!-- index=24 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_table_printer.new" id=link47 onMouseOver="ShowTip(event, 'tt39', 'link47')" onMouseOut="HideTip('tt39')">new</a></td><td class=SDescription>Creates a new instance of <i>ovm_table_printer</i>.</td></tr>
<!-- index=25 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_table_printer.knobs" id=link48 onMouseOver="ShowTip(event, 'tt40', 'link48')" onMouseOut="HideTip('tt40')">knobs</a></td><td class=SDescription>An instance of <a href="#ovm_table_printer_knobs" class=LClass id=link49 onMouseOver="ShowTip(event, 'tt27', 'link49')" onMouseOut="HideTip('tt27')">ovm_table_printer_knobs</a>, which govern the content and format of the printed table.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<!--CONTENT index=23 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="ovm_table_printer.Variables" href="../../../../src/base/ovm_printer.svh">Variables</a></h3></div></div>
<!--CONTENT index=24 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_table_printer.new" href="../../../../src/base/ovm_printer.svh">new</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>function new()</td></tr></table></blockquote><div class=CBody><p>Creates a new instance of <i>ovm_table_printer</i>.</p></div></div></div>
<!--CONTENT index=25 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_table_printer.knobs" href="../../../../src/base/ovm_printer.svh">knobs</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_table_printer_knobs knobs = new</td></tr></table></blockquote><div class=CBody><p>An instance of <a href="#ovm_table_printer_knobs" class=LClass id=link50 onMouseOver="ShowTip(event, 'tt27', 'link50')" onMouseOut="HideTip('tt27')">ovm_table_printer_knobs</a>, which govern the content and format of the printed table.</p></div></div></div>
<!--CONTENT index=26 -->
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="ovm_tree_printer" href="../../../../src/base/ovm_printer.svh">ovm_tree_printer</a></h2><div class=CBody><p>By overriding various methods of the <a href="#ovm_printer" class=LClass id=link57 onMouseOver="ShowTip(event, 'tt1', 'link57')" onMouseOut="HideTip('tt1')">ovm_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=26-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=26 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#ovm_tree_printer" id=link52 onMouseOver="ShowTip(event, 'tt23', 'link52')" onMouseOut="HideTip('tt23')">ovm_tree_printer</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>By overriding various methods of the <a href="#ovm_printer" class=LClass id=link53 onMouseOver="ShowTip(event, 'tt1', 'link53')" onMouseOut="HideTip('tt1')">ovm_printer</a> super class, the tree printer prints output in a tree format.</td></tr>
<tr class="SHierarchy SIndent1 "><td colspan=2 class="SEntry SIndent1">Class Hierarchy</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><div class=ClassHierarchy>
<table border=0 cellspacing=0 cellpadding=0>
<tr><td><div class=CHParent><div class=CHEntry><a href="#ovm_printer" class=LClass id=link51 onMouseOver="ShowTip(event, 'tt1', 'link51')" onMouseOut="HideTip('tt1')">ovm_printer</a></div></div></td></tr>
<tr><td><div class=CHCurrent><div class=CHEntry>ovm_tree_printer</div></div></td></tr></table>
</div></td></tr>
<tr class="SPrototype SIndent1">
<td colspan=2 class="SEntry SIndent1">Class Declaration</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_tree_printer extends ovm_printer</td></tr></table></blockquote></td></tr>
<!-- index=27 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#ovm_tree_printer.Variables" >Variables</a></td><td class=SDescription></td></tr>
<!-- index=28 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_tree_printer.new" id=link54 onMouseOver="ShowTip(event, 'tt41', 'link54')" onMouseOut="HideTip('tt41')">new</a></td><td class=SDescription>Creates a new instance of <i>ovm_tree_printer</i>.</td></tr>
<!-- index=29 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_tree_printer.knobs" id=link55 onMouseOver="ShowTip(event, 'tt42', 'link55')" onMouseOut="HideTip('tt42')">knobs</a></td><td class=SDescription>An instance of <a href="#ovm_tree_printer_knobs" class=LClass id=link56 onMouseOver="ShowTip(event, 'tt28', 'link56')" onMouseOut="HideTip('tt28')">ovm_tree_printer_knobs</a>, which govern the content and format of the printed tree.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<!--CONTENT index=27 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="ovm_tree_printer.Variables" href="../../../../src/base/ovm_printer.svh">Variables</a></h3></div></div>
<!--CONTENT index=28 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_tree_printer.new" href="../../../../src/base/ovm_printer.svh">new</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>function new()</td></tr></table></blockquote><div class=CBody><p>Creates a new instance of <i>ovm_tree_printer</i>.</p></div></div></div>
<!--CONTENT index=29 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_tree_printer.knobs" href="../../../../src/base/ovm_printer.svh">knobs</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_tree_printer_knobs knobs = new</td></tr></table></blockquote><div class=CBody><p>An instance of <a href="#ovm_tree_printer_knobs" class=LClass id=link58 onMouseOver="ShowTip(event, 'tt28', 'link58')" onMouseOut="HideTip('tt28')">ovm_tree_printer_knobs</a>, which govern the content and format of the printed tree.</p></div></div></div>
<!--CONTENT index=30 -->
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="ovm_line_printer" href="../../../../src/base/ovm_printer.svh">ovm_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=30-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=30 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#ovm_line_printer" id=link61 onMouseOver="ShowTip(event, 'tt24', 'link61')" onMouseOut="HideTip('tt24')">ovm_line_printer</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>The line printer prints output in a line format.</td></tr>
<tr class="SHierarchy SIndent1 "><td colspan=2 class="SEntry SIndent1">Class Hierarchy</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><div class=ClassHierarchy>
<table border=0 cellspacing=0 cellpadding=0>
<tr><td><div class=CHParent><div class=CHEntry><a href="#ovm_printer" class=LClass id=link59 onMouseOver="ShowTip(event, 'tt1', 'link59')" onMouseOut="HideTip('tt1')">ovm_printer</a></div></div></td></tr>
<tr><td><div class=CHParent><div class=CHEntry><a href="#ovm_tree_printer" class=LClass id=link60 onMouseOver="ShowTip(event, 'tt23', 'link60')" onMouseOut="HideTip('tt23')">ovm_tree_printer</a></div></div></td></tr>
<tr><td><div class=CHCurrent><div class=CHEntry>ovm_line_printer</div></div></td></tr></table>
</div></td></tr>
<tr class="SPrototype SIndent1">
<td colspan=2 class="SEntry SIndent1">Class Declaration</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_line_printer extends ovm_tree_printer</td></tr></table></blockquote></td></tr>
<!-- index=31 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#ovm_line_printer.Variables" >Variables</a></td><td class=SDescription></td></tr>
<!-- index=32 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_line_printer.new" id=link62 onMouseOver="ShowTip(event, 'tt43', 'link62')" onMouseOut="HideTip('tt43')">new</a></td><td class=SDescription>Creates a new instance of <i>ovm_line_printer</i>.</td></tr>
<!-- index=33 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#ovm_line_printer.Methods" >Methods</a></td><td class=SDescription></td></tr>
<!-- index=34 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_line_printer.print_newline" id=link63 onMouseOver="ShowTip(event, 'tt44', 'link63')" onMouseOut="HideTip('tt44')">print_newline</a></td><td class=SDescription>Overrides <a href="#ovm_printer.print_newline" class=LMethod id=link64 onMouseOver="ShowTip(event, 'tt14', 'link64')" onMouseOut="HideTip('tt14')">ovm_printer::print_newline</a> to not print a newline, effectively making everything appear on a single line.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<!--CONTENT index=31 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="ovm_line_printer.Variables" href="../../../../src/base/ovm_printer.svh">Variables</a></h3></div></div>
<!--CONTENT index=32 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_line_printer.new" href="../../../../src/base/ovm_printer.svh">new</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>function new()</td></tr></table></blockquote><div class=CBody><p>Creates a new instance of <i>ovm_line_printer</i>.</p></div></div></div>
<!--CONTENT index=33 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="ovm_line_printer.Methods" href="../../../../src/base/ovm_printer.svh">Methods</a></h3></div></div>
<!--CONTENT index=34 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_line_printer.print_newline" href="../../../../src/base/ovm_printer.svh">print_newline</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_newline (</td><td class=PType nowrap>bit&nbsp;</td><td class=PParameter nowrap>do_global_indent</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>1</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Overrides <a href="#ovm_printer.print_newline" class=LMethod id=link65 onMouseOver="ShowTip(event, 'tt14', 'link65')" onMouseOut="HideTip('tt14')">ovm_printer::print_newline</a> to not print a newline, effectively making everything appear on a single line.</p></div></div></div>
<!--CONTENT index=35 -->
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="ovm_printer_knobs" href="../../../../src/base/ovm_printer.svh">ovm_printer_knobs</a></h2><div class=CBody><p>The <i>ovm_printer_knobs</i> class defines the printer settings available to all printer subtypes.&nbsp; Printer subtypes may subtype this class to provide additional knobs for their specific format.&nbsp; For example, the <a href="#ovm_table_printer" class=LClass id=link95 onMouseOver="ShowTip(event, 'tt22', 'link95')" onMouseOut="HideTip('tt22')">ovm_table_printer</a> uses the <a href="#ovm_table_printer_knobs" class=LClass id=link96 onMouseOver="ShowTip(event, 'tt27', 'link96')" onMouseOut="HideTip('tt27')">ovm_table_printer_knobs</a>, which defines knobs for setting table column widths.</p>
<!--START_ND_SUMMARY index=35-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=35 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#ovm_printer_knobs" id=link66 onMouseOver="ShowTip(event, 'tt25', 'link66')" onMouseOut="HideTip('tt25')">ovm_printer_knobs</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>The <i>ovm_printer_knobs</i> class defines the printer settings available to all printer subtypes. </td></tr>
<tr class="SPrototype SIndent1">
<td colspan=2 class="SEntry SIndent1">Class Declaration</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_printer_knobs</td></tr></table></blockquote></td></tr>
<!-- index=36 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#ovm_printer_knobs.Variables" >Variables</a></td><td class=SDescription></td></tr>
<!-- index=37 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.max_width" id=link67 onMouseOver="ShowTip(event, 'tt45', 'link67')" onMouseOut="HideTip('tt45')">max_width</a></td><td class=SDescription>The maximum with of a field. </td></tr>
<!-- index=38 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer_knobs.truncation" id=link68 onMouseOver="ShowTip(event, 'tt46', 'link68')" onMouseOut="HideTip('tt46')">truncation</a></td><td class=SDescription>Specifies the character to use to indicate a field was truncated.</td></tr>
<!-- index=39 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.header" id=link69 onMouseOver="ShowTip(event, 'tt47', 'link69')" onMouseOut="HideTip('tt47')">header</a></td><td class=SDescription>Indicates whether the &lt;print_header&gt; function should be called when printing an object.</td></tr>
<!-- index=40 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer_knobs.footer" id=link70 onMouseOver="ShowTip(event, 'tt48', 'link70')" onMouseOut="HideTip('tt48')">footer</a></td><td class=SDescription>Indicates whether the &lt;print_footer&gt; function should be called when printing an object.</td></tr>
<!-- index=41 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.global_indent" id=link71 onMouseOver="ShowTip(event, 'tt49', 'link71')" onMouseOut="HideTip('tt49')">global_indent</a></td><td class=SDescription>Specifies the number of spaces of indentation to add whenever a newline is printed.</td></tr>
<!-- index=42 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer_knobs.full_name" id=link72 onMouseOver="ShowTip(event, 'tt50', 'link72')" onMouseOut="HideTip('tt50')">full_name</a></td><td class=SDescription>Indicates whether &lt;print_id&gt; should print the full name of an identifier or just the leaf name. </td></tr>
<!-- index=43 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.identifier" id=link73 onMouseOver="ShowTip(event, 'tt51', 'link73')" onMouseOut="HideTip('tt51')">identifier</a></td><td class=SDescription>Indicates whether &lt;print_id&gt; should print the identifier. </td></tr>
<!-- index=44 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer_knobs.depth" id=link74 onMouseOver="ShowTip(event, 'tt52', 'link74')" onMouseOut="HideTip('tt52')">depth</a></td><td class=SDescription>Indicates how deep to recurse when printing objects. </td></tr>
<!-- index=45 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.reference" id=link75 onMouseOver="ShowTip(event, 'tt53', 'link75')" onMouseOut="HideTip('tt53')">reference</a></td><td class=SDescription>Controls whether to print a unique reference ID for object handles. </td></tr>
<!-- index=46 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer_knobs.type_name" id=link76 onMouseOver="ShowTip(event, 'tt54', 'link76')" onMouseOut="HideTip('tt54')">type_name</a></td><td class=SDescription>Controls whether to print a field&rsquo;s type name.</td></tr>
<!-- index=47 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.size" id=link77 onMouseOver="ShowTip(event, 'tt55', 'link77')" onMouseOut="HideTip('tt55')">size</a></td><td class=SDescription>Controls whether to print a field&rsquo;s size.</td></tr>
<!-- index=48 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer_knobs.begin_elements" id=link78 onMouseOver="ShowTip(event, 'tt37', 'link78')" onMouseOut="HideTip('tt37')">begin_elements</a></td><td class=SDescription>Defines the number of elements at the head of a list to print. </td></tr>
<!-- index=49 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.end_elements" id=link79 onMouseOver="ShowTip(event, 'tt38', 'link79')" onMouseOut="HideTip('tt38')">end_elements</a></td><td class=SDescription>This defines the number of elements at the end of a list that should be printed.</td></tr>
<!-- index=50 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer_knobs.show_radix" id=link80 onMouseOver="ShowTip(event, 'tt56', 'link80')" onMouseOut="HideTip('tt56')">show_radix</a></td><td class=SDescription>Indicates whether the radix string (&lsquo;h, and so on) should be prepended to an integral value when one is printed.</td></tr>
<!-- index=51 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.prefix" id=link81 onMouseOver="ShowTip(event, 'tt57', 'link81')" onMouseOut="HideTip('tt57')">prefix</a></td><td class=SDescription>Specifies the string prepended to each output line</td></tr>
<!-- index=52 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer_knobs.mcd" id=link82 onMouseOver="ShowTip(event, 'tt58', 'link82')" onMouseOut="HideTip('tt58')">mcd</a></td><td class=SDescription>This is a file descriptor, or multi-channel descriptor, that specifies where the print output should be directed.</td></tr>
<!-- index=53 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.default_radix" id=link83 onMouseOver="ShowTip(event, 'tt59', 'link83')" onMouseOut="HideTip('tt59')">default_radix</a></td><td class=SDescription>This knob sets the default radix to use for integral values when no radix enum is explicitly supplied to the print_field() method.</td></tr>
<!-- index=54 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer_knobs.dec_radix" id=link84 onMouseOver="ShowTip(event, 'tt60', 'link84')" onMouseOut="HideTip('tt60')">dec_radix</a></td><td class=SDescription>This string should be prepended to the value of an integral type when a radix of <a href="ovm_object_globals-svh.html#OVM_DEC" class=LConstant id=link85 onMouseOver="ShowTip(event, 'tt61', 'link85')" onMouseOut="HideTip('tt61')">OVM_DEC</a> is used for the radix of the integral object.</td></tr>
<!-- index=55 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.bin_radix" id=link86 onMouseOver="ShowTip(event, 'tt62', 'link86')" onMouseOut="HideTip('tt62')">bin_radix</a></td><td class=SDescription>This string should be prepended to the value of an integral type when a radix of <a href="ovm_object_globals-svh.html#OVM_BIN" class=LConstant id=link87 onMouseOver="ShowTip(event, 'tt63', 'link87')" onMouseOut="HideTip('tt63')">OVM_BIN</a> is used for the radix of the integral object.</td></tr>
<!-- index=56 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer_knobs.oct_radix" id=link88 onMouseOver="ShowTip(event, 'tt64', 'link88')" onMouseOut="HideTip('tt64')">oct_radix</a></td><td class=SDescription>This string should be prepended to the value of an integral type when a radix of <a href="ovm_object_globals-svh.html#OVM_OCT" class=LConstant id=link89 onMouseOver="ShowTip(event, 'tt65', 'link89')" onMouseOut="HideTip('tt65')">OVM_OCT</a> is used for the radix of the integral object.</td></tr>
<!-- index=57 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.unsigned_radix" id=link90 onMouseOver="ShowTip(event, 'tt66', 'link90')" onMouseOut="HideTip('tt66')">unsigned_radix</a></td><td class=SDescription>This is the string which should be prepended to the value of an integral type when a radix of <a href="ovm_object_globals-svh.html#OVM_UNSIGNED" class=LConstant id=link91 onMouseOver="ShowTip(event, 'tt67', 'link91')" onMouseOut="HideTip('tt67')">OVM_UNSIGNED</a> is used for the radix of the integral object.</td></tr>
<!-- index=58 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_printer_knobs.hex_radix" id=link92 onMouseOver="ShowTip(event, 'tt68', 'link92')" onMouseOut="HideTip('tt68')">hex_radix</a></td><td class=SDescription>This string should be prepended to the value of an integral type when a radix of <a href="ovm_object_globals-svh.html#OVM_HEX" class=LConstant id=link93 onMouseOver="ShowTip(event, 'tt69', 'link93')" onMouseOut="HideTip('tt69')">OVM_HEX</a> is used for the radix of the integral object.</td></tr>
<!-- index=59 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#ovm_printer_knobs.Methods" >Methods</a></td><td class=SDescription></td></tr>
<!-- index=60 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#ovm_printer_knobs.get_radix_str" id=link94 onMouseOver="ShowTip(event, 'tt70', 'link94')" onMouseOut="HideTip('tt70')">get_radix_str</a></td><td class=SDescription>Converts the radix from an enumerated to a printable radix according to the radix printing knobs (bin_radix, and so on).</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<!--CONTENT index=36 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.Variables" href="../../../../src/base/ovm_printer.svh">Variables</a></h3></div></div>
<!--CONTENT index=37 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.max_width" href="../../../../src/base/ovm_printer.svh">max_width</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int max_width = 999</td></tr></table></blockquote><div class=CBody><p>The maximum with of a field.&nbsp; Any field that requires more characters will be truncated.</p></div></div></div>
<!--CONTENT index=38 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.truncation" href="../../../../src/base/ovm_printer.svh">truncation</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string truncation = &quot;+&quot;</td></tr></table></blockquote><div class=CBody><p>Specifies the character to use to indicate a field was truncated.</p></div></div></div>
<!--CONTENT index=39 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.header" href="../../../../src/base/ovm_printer.svh">header</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit header = 1</td></tr></table></blockquote><div class=CBody><p>Indicates whether the &lt;print_header&gt; function should be called when printing an object.</p></div></div></div>
<!--CONTENT index=40 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.footer" href="../../../../src/base/ovm_printer.svh">footer</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit footer = 1</td></tr></table></blockquote><div class=CBody><p>Indicates whether the &lt;print_footer&gt; function should be called when printing an object.</p></div></div></div>
<!--CONTENT index=41 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.global_indent" href="../../../../src/base/ovm_printer.svh">global_indent</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int global_indent = 0</td></tr></table></blockquote><div class=CBody><p>Specifies the number of spaces of indentation to add whenever a newline is printed.</p></div></div></div>
<!--CONTENT index=42 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.full_name" href="../../../../src/base/ovm_printer.svh">full_name</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit full_name = 1</td></tr></table></blockquote><div class=CBody><p>Indicates whether &lt;print_id&gt; should print the full name of an identifier or just the leaf name.&nbsp; The line, table, and tree printers ignore this bit and always print only the leaf name.</p></div></div></div>
<!--CONTENT index=43 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.identifier" href="../../../../src/base/ovm_printer.svh">identifier</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit identifier = 1</td></tr></table></blockquote><div class=CBody><p>Indicates whether &lt;print_id&gt; should print the identifier.&nbsp; This is useful in cases where you just want the values of an object, but no identifiers.</p></div></div></div>
<!--CONTENT index=44 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.depth" href="../../../../src/base/ovm_printer.svh">depth</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int depth = -1</td></tr></table></blockquote><div class=CBody><p>Indicates how deep to recurse when printing objects.&nbsp; A depth of -1 means to print everything.</p></div></div></div>
<!--CONTENT index=45 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.reference" href="../../../../src/base/ovm_printer.svh">reference</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit reference = 1</td></tr></table></blockquote><div class=CBody><p>Controls whether to print a unique reference ID for object handles.&nbsp; The behavior of this knob is simulator-dependent.</p></div></div></div>
<!--CONTENT index=46 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.type_name" href="../../../../src/base/ovm_printer.svh">type_name</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit type_name = 1</td></tr></table></blockquote><div class=CBody><p>Controls whether to print a field&rsquo;s type name.</p></div></div></div>
<!--CONTENT index=47 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.size" href="../../../../src/base/ovm_printer.svh">size</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit size = 1</td></tr></table></blockquote><div class=CBody><p>Controls whether to print a field&rsquo;s size.</p></div></div></div>
<!--CONTENT index=48 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.begin_elements" href="../../../../src/base/ovm_printer.svh">begin_elements</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int begin_elements = 5</td></tr></table></blockquote><div class=CBody><p>Defines the number of elements at the head of a list to print.&nbsp; Use -1 for no max.</p></div></div></div>
<!--CONTENT index=49 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.end_elements" href="../../../../src/base/ovm_printer.svh">end_elements</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int end_elements = 5</td></tr></table></blockquote><div class=CBody><p>This defines the number of elements at the end of a list that should be printed.</p></div></div></div>
<!--CONTENT index=50 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.show_radix" href="../../../../src/base/ovm_printer.svh">show_radix</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit show_radix = 1</td></tr></table></blockquote><div class=CBody><p>Indicates whether the radix string (&lsquo;h, and so on) should be prepended to an integral value when one is printed.</p></div></div></div>
<!--CONTENT index=51 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.prefix" href="../../../../src/base/ovm_printer.svh">prefix</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string prefix = &quot;&quot;</td></tr></table></blockquote><div class=CBody><p>Specifies the string prepended to each output line</p></div></div></div>
<!--CONTENT index=52 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.mcd" href="../../../../src/base/ovm_printer.svh">mcd</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int mcd = OVM_STDOUT</td></tr></table></blockquote><div class=CBody><p>This is a file descriptor, or multi-channel descriptor, that specifies where the print output should be directed.</p><p>By default, the output goes to the standard output of the simulator.</p></div></div></div>
<!--CONTENT index=53 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.default_radix" href="../../../../src/base/ovm_printer.svh">default_radix</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_radix_enum default_radix = OVM_HEX</td></tr></table></blockquote><div class=CBody><p>This knob sets the default radix to use for integral values when no radix enum is explicitly supplied to the print_field() method.</p></div></div></div>
<!--CONTENT index=54 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.dec_radix" href="../../../../src/base/ovm_printer.svh">dec_radix</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string dec_radix = &quot;'d&quot;</td></tr></table></blockquote><div class=CBody><p>This string should be prepended to the value of an integral type when a radix of <a href="ovm_object_globals-svh.html#OVM_DEC" class=LConstant id=link97 onMouseOver="ShowTip(event, 'tt61', 'link97')" onMouseOut="HideTip('tt61')">OVM_DEC</a> is used for the radix of the integral object.</p><p>When a negative number is printed, the radix is not printed since only signed decimal values can print as negative.</p></div></div></div>
<!--CONTENT index=55 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.bin_radix" href="../../../../src/base/ovm_printer.svh">bin_radix</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string bin_radix = &quot;'b&quot;</td></tr></table></blockquote><div class=CBody><p>This string should be prepended to the value of an integral type when a radix of <a href="ovm_object_globals-svh.html#OVM_BIN" class=LConstant id=link98 onMouseOver="ShowTip(event, 'tt63', 'link98')" onMouseOut="HideTip('tt63')">OVM_BIN</a> is used for the radix of the integral object.</p></div></div></div>
<!--CONTENT index=56 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.oct_radix" href="../../../../src/base/ovm_printer.svh">oct_radix</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string oct_radix = &quot;'o&quot;</td></tr></table></blockquote><div class=CBody><p>This string should be prepended to the value of an integral type when a radix of <a href="ovm_object_globals-svh.html#OVM_OCT" class=LConstant id=link99 onMouseOver="ShowTip(event, 'tt65', 'link99')" onMouseOut="HideTip('tt65')">OVM_OCT</a> is used for the radix of the integral object.</p></div></div></div>
<!--CONTENT index=57 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.unsigned_radix" href="../../../../src/base/ovm_printer.svh">unsigned_radix</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string unsigned_radix = &quot;'d&quot;</td></tr></table></blockquote><div class=CBody><p>This is the string which should be prepended to the value of an integral type when a radix of <a href="ovm_object_globals-svh.html#OVM_UNSIGNED" class=LConstant id=link100 onMouseOver="ShowTip(event, 'tt67', 'link100')" onMouseOut="HideTip('tt67')">OVM_UNSIGNED</a> is used for the radix of the integral object.</p></div></div></div>
<!--CONTENT index=58 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.hex_radix" href="../../../../src/base/ovm_printer.svh">hex_radix</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string hex_radix = &quot;'h&quot;</td></tr></table></blockquote><div class=CBody><p>This string should be prepended to the value of an integral type when a radix of <a href="ovm_object_globals-svh.html#OVM_HEX" class=LConstant id=link101 onMouseOver="ShowTip(event, 'tt69', 'link101')" onMouseOut="HideTip('tt69')">OVM_HEX</a> is used for the radix of the integral object.</p></div></div></div>
<!--CONTENT index=59 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.Methods" href="../../../../src/base/ovm_printer.svh">Methods</a></h3></div></div>
<!--CONTENT index=60 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="ovm_printer_knobs.get_radix_str" href="../../../../src/base/ovm_printer.svh">get_radix_str</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function string get_radix_str (</td><td class=PType nowrap>ovm_radix_enum&nbsp;</td><td class=PParameter nowrap>radix</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><div class=CBody><p>Converts the radix from an enumerated to a printable radix according to the radix printing knobs (bin_radix, and so on).</p></div></div></div>
<!--CONTENT index=61 -->
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="ovm_hier_printer_knobs" href="../../../../src/base/ovm_printer.svh">ovm_hier_printer_knobs</a></h2><div class=CBody><p>The <i>ovm_hier_printer_knobs</i> is a simple container class that extends &lt;ovm_printer::ovm_printer_knobs&gt; with settings for printing information hierarchically.</p>
<!--START_ND_SUMMARY index=61-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=61 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#ovm_hier_printer_knobs" id=link103 onMouseOver="ShowTip(event, 'tt26', 'link103')" onMouseOut="HideTip('tt26')">ovm_hier_printer_knobs</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>The <i>ovm_hier_printer_knobs</i> is a simple container class that extends &lt;ovm_printer::ovm_printer_knobs&gt; with settings for printing information hierarchically.</td></tr>
<tr class="SHierarchy SIndent1 "><td colspan=2 class="SEntry SIndent1">Class Hierarchy</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><div class=ClassHierarchy>
<table border=0 cellspacing=0 cellpadding=0>
<tr><td><div class=CHParent><div class=CHEntry><a href="#ovm_printer_knobs" class=LClass id=link102 onMouseOver="ShowTip(event, 'tt25', 'link102')" onMouseOut="HideTip('tt25')">ovm_printer_knobs</a></div></div></td></tr>
<tr><td><div class=CHCurrent><div class=CHEntry>ovm_hier_printer_knobs</div></div></td></tr></table>
</div></td></tr>
<tr class="SPrototype SIndent1">
<td colspan=2 class="SEntry SIndent1">Class Declaration</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_hier_printer_knobs extends ovm_printer_knobs</td></tr></table></blockquote></td></tr>
<!-- index=62 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#ovm_hier_printer_knobs.Variables" >Variables</a></td><td class=SDescription></td></tr>
<!-- index=63 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_hier_printer_knobs.indent_str" id=link104 onMouseOver="ShowTip(event, 'tt71', 'link104')" onMouseOut="HideTip('tt71')">indent_str</a></td><td class=SDescription>This knob specifies the string to use for level indentation. </td></tr>
<!-- index=64 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_hier_printer_knobs.show_root" id=link105 onMouseOver="ShowTip(event, 'tt72', 'link105')" onMouseOut="HideTip('tt72')">show_root</a></td><td class=SDescription>This setting indicates whether or not the initial object that is printed (when current depth is 0) prints the full path name. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<!--CONTENT index=62 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="ovm_hier_printer_knobs.Variables" href="../../../../src/base/ovm_printer.svh">Variables</a></h3></div></div>
<!--CONTENT index=63 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_hier_printer_knobs.indent_str" href="../../../../src/base/ovm_printer.svh">indent_str</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string indent_str = &quot; &quot;</td></tr></table></blockquote><div class=CBody><p>This knob specifies the string to use for level indentation.&nbsp; The default level indentation is two spaces.</p></div></div></div>
<!--CONTENT index=64 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_hier_printer_knobs.show_root" href="../../../../src/base/ovm_printer.svh">show_root</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit show_root = 0</td></tr></table></blockquote><div class=CBody><p>This setting indicates whether or not the initial object that is printed (when current depth is 0) prints the full path name.&nbsp; By default, the first object is treated like all other objects and only the leaf name is printed.</p></div></div></div>
<!--CONTENT index=65 -->
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="ovm_table_printer_knobs" href="../../../../src/base/ovm_printer.svh">ovm_table_printer_knobs</a></h2><div class=CBody><p>The <i>ovm_table_printer_knobs</i> is a simple container class that extends &lt;ovm_printer::ovm_hier_printer_knobs&gt; with settings specific to printing in table format.</p>
<!--START_ND_SUMMARY index=65-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=65 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#ovm_table_printer_knobs" id=link108 onMouseOver="ShowTip(event, 'tt27', 'link108')" onMouseOut="HideTip('tt27')">ovm_table_printer_knobs</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>The <i>ovm_table_printer_knobs</i> is a simple container class that extends &lt;ovm_printer::ovm_hier_printer_knobs&gt; with settings specific to printing in table format.</td></tr>
<tr class="SHierarchy SIndent1 "><td colspan=2 class="SEntry SIndent1">Class Hierarchy</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><div class=ClassHierarchy>
<table border=0 cellspacing=0 cellpadding=0>
<tr><td><div class=CHParent><div class=CHEntry><a href="#ovm_printer_knobs" class=LClass id=link106 onMouseOver="ShowTip(event, 'tt25', 'link106')" onMouseOut="HideTip('tt25')">ovm_printer_knobs</a></div></div></td></tr>
<tr><td><div class=CHParent><div class=CHEntry><a href="#ovm_hier_printer_knobs" class=LClass id=link107 onMouseOver="ShowTip(event, 'tt26', 'link107')" onMouseOut="HideTip('tt26')">ovm_hier_printer_knobs</a></div></div></td></tr>
<tr><td><div class=CHCurrent><div class=CHEntry>ovm_table_printer_knobs</div></div></td></tr></table>
</div></td></tr>
<tr class="SPrototype SIndent1">
<td colspan=2 class="SEntry SIndent1">Class Declaration</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_table_printer_knobs extends ovm_hier_printer_knobs</td></tr></table></blockquote></td></tr>
<!-- index=66 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#ovm_table_printer_knobs.Variables" >Variables</a></td><td class=SDescription></td></tr>
<!-- index=67 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_table_printer_knobs.name_width" id=link109 onMouseOver="ShowTip(event, 'tt73', 'link109')" onMouseOut="HideTip('tt73')">name_width</a></td><td class=SDescription>Sets the width of the <i>name</i> column. </td></tr>
<!-- index=68 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_table_printer_knobs.type_width" id=link110 onMouseOver="ShowTip(event, 'tt74', 'link110')" onMouseOut="HideTip('tt74')">type_width</a></td><td class=SDescription>Sets the width of the <i>type</i> column. </td></tr>
<!-- index=69 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_table_printer_knobs.size_width" id=link111 onMouseOver="ShowTip(event, 'tt75', 'link111')" onMouseOut="HideTip('tt75')">size_width</a></td><td class=SDescription>Sets the width of the <i>size</i> column. </td></tr>
<!-- index=70 -->
<tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#ovm_table_printer_knobs.value_width" id=link112 onMouseOver="ShowTip(event, 'tt76', 'link112')" onMouseOut="HideTip('tt76')">value_width</a></td><td class=SDescription>Sets the width of the <i>value</i> column. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<!--CONTENT index=66 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="ovm_table_printer_knobs.Variables" href="../../../../src/base/ovm_printer.svh">Variables</a></h3></div></div>
<!--CONTENT index=67 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_table_printer_knobs.name_width" href="../../../../src/base/ovm_printer.svh">name_width</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int name_width = 25</td></tr></table></blockquote><div class=CBody><p>Sets the width of the <i>name</i> column.&nbsp; If set to 0, the column is not printed.</p></div></div></div>
<!--CONTENT index=68 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_table_printer_knobs.type_width" href="../../../../src/base/ovm_printer.svh">type_width</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int type_width = 20</td></tr></table></blockquote><div class=CBody><p>Sets the width of the <i>type</i> column.&nbsp; If set to 0, the column is not printed.</p></div></div></div>
<!--CONTENT index=69 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_table_printer_knobs.size_width" href="../../../../src/base/ovm_printer.svh">size_width</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int size_width = 5</td></tr></table></blockquote><div class=CBody><p>Sets the width of the <i>size</i> column.&nbsp; If set to 0, the column is not printed.</p></div></div></div>
<!--CONTENT index=70 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_table_printer_knobs.value_width" href="../../../../src/base/ovm_printer.svh">value_width</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int value_width = 20</td></tr></table></blockquote><div class=CBody><p>Sets the width of the <i>value</i> column.&nbsp; If set to 0, the column is not printed.</p></div></div></div>
<!--CONTENT index=71 -->
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="ovm_tree_printer_knobs" href="../../../../src/base/ovm_printer.svh">ovm_tree_printer_knobs</a></h2><div class=CBody><p>The <i>ovm_tree_printer_knobs</i> is a simple container class that extends &lt;ovm_printer::ovm_hier_printer_knobs&gt; with settings specific to printing in tree format.</p>
<!--START_ND_SUMMARY index=71-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=71 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#ovm_tree_printer_knobs" id=link115 onMouseOver="ShowTip(event, 'tt28', 'link115')" onMouseOut="HideTip('tt28')">ovm_tree_printer_knobs</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>The <i>ovm_tree_printer_knobs</i> is a simple container class that extends &lt;ovm_printer::ovm_hier_printer_knobs&gt; with settings specific to printing in tree format.</td></tr>
<tr class="SHierarchy SIndent1 "><td colspan=2 class="SEntry SIndent1">Class Hierarchy</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><div class=ClassHierarchy>
<table border=0 cellspacing=0 cellpadding=0>
<tr><td><div class=CHParent><div class=CHEntry><a href="#ovm_printer_knobs" class=LClass id=link113 onMouseOver="ShowTip(event, 'tt25', 'link113')" onMouseOut="HideTip('tt25')">ovm_printer_knobs</a></div></div></td></tr>
<tr><td><div class=CHParent><div class=CHEntry><a href="#ovm_hier_printer_knobs" class=LClass id=link114 onMouseOver="ShowTip(event, 'tt26', 'link114')" onMouseOut="HideTip('tt26')">ovm_hier_printer_knobs</a></div></div></td></tr>
<tr><td><div class=CHCurrent><div class=CHEntry>ovm_tree_printer_knobs</div></div></td></tr></table>
</div></td></tr>
<tr class="SPrototype SIndent1">
<td colspan=2 class="SEntry SIndent1">Class Declaration</td><tr><tr class="SPrototype SIndent1"><td colspan=2 class=SDescription><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_tree_printer_knobs extends ovm_hier_printer_knobs</td></tr></table></blockquote></td></tr>
<!-- index=72 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#ovm_tree_printer_knobs.Variables" >Variables</a></td><td class=SDescription></td></tr>
<!-- index=73 -->
<tr class="SVariable SIndent2"><td class=SEntry><a href="#ovm_tree_printer_knobs.separator" id=link116 onMouseOver="ShowTip(event, 'tt77', 'link116')" onMouseOut="HideTip('tt77')">separator</a></td><td class=SDescription>Determines the opening and closing separators used for nested objects.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<!--CONTENT index=72 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="ovm_tree_printer_knobs.Variables" href="../../../../src/base/ovm_printer.svh">Variables</a></h3></div></div>
<!--CONTENT index=73 -->
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ovm_tree_printer_knobs.separator" href="../../../../src/base/ovm_printer.svh">separator</a></h3><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string separator = &quot;{}&quot;</td></tr></table></blockquote><div class=CBody><p>Determines the opening and closing separators used for nested objects.</p></div></div></div>
</div><!--Content-->
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_printer</td></tr></table></blockquote>The ovm_printer class provides an interface for printing ovm_objects in various formats. </div></div><div class=CToolTip id="tt2"><div class=CClass><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>virtual class ovm_object extends ovm_void</td></tr></table></blockquote>The ovm_object class is the base class for all OVM data and hierarchical classes. </div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_printer_knobs knobs = new</td></tr></table></blockquote>The knob object provides access to the variety of knobs associated with a specific printer instance.</div></div><div class=CToolTip id="tt4"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_field (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>ovm_bitstream_t&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>ovm_radix_enum&nbsp;</td><td class=PParameter nowrap>radix</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>OVM_NORADIX,</td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;,</td></tr><tr><td></td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>type_name</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints an integral field.</div></div><div class=CToolTip id="tt5"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_object_header (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>ovm_object&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints the header of an object.</div></div><div class=CToolTip id="tt6"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_object (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>ovm_object&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints an object. </div></div><div class=CToolTip id="tt7"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_string (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints a string field.</div></div><div class=CToolTip id="tt8"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_time (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>time&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints a time value. </div></div><div class=CToolTip id="tt9"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>virtual function void print_header ()</td></tr></table></blockquote>Prints header information. </div></div><div class=CToolTip id="tt10"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>virtual function void print_footer ()</td></tr></table></blockquote>Prints footer information. </div></div><div class=CToolTip id="tt11"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_id (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>id,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints a field&rsquo;s name, or <i>id</i>, which is the full instance name.</div></div><div class=CToolTip id="tt12"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_type_name (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td></tr><tr><td></td><td class=PType nowrap>bit&nbsp;</td><td class=PParameter nowrap>is_object</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints a field&rsquo;s type name.</div></div><div class=CToolTip id="tt13"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_size (</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>-1</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints a field&rsquo;s size. </div></div><div class=CToolTip id="tt14"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_newline (</td><td class=PType nowrap>bit&nbsp;</td><td class=PParameter nowrap>do_global_indent</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>1</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints a newline character. </div></div><div class=CToolTip id="tt15"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_value (</td><td class=PType nowrap>ovm_bitstream_t&nbsp;</td><td class=PParameter nowrap>value,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>ovm_radix_enum&nbsp;</td><td class=PParameter nowrap>radix</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>OVM_NORADIX</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints an integral field&rsquo;s value.</div></div><div class=CToolTip id="tt16"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_value_object (</td><td class=PType nowrap>ovm_object&nbsp;</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints a unique handle identifier for the given object.</div></div><div class=CToolTip id="tt17"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual protected function void print_value_string (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints a string field&rsquo;s value.</div></div><div class=CToolTip id="tt18"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_value_array (</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>value</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;&quot;,</td></tr><tr><td></td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>0</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints an array&rsquo;s value.</div></div><div class=CToolTip id="tt19"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_array_header(</td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PType nowrap>string&nbsp;</td><td class=PParameter nowrap>arraytype</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;array&quot;,</td></tr><tr><td></td><td class=PType nowrap>byte&nbsp;</td><td class=PParameter nowrap>scope_separator</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>&quot;.&quot;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints the header of an array. </div></div><div class=CToolTip id="tt20"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_array_range (</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>min,</td></tr><tr><td></td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>max</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints a range using ellipses for values. </div></div><div class=CToolTip id="tt21"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_array_footer (</td><td class=PType nowrap>int&nbsp;</td><td class=PParameter nowrap>size</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prints the header of a footer. </div></div><div class=CToolTip id="tt22"><div class=CClass><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_table_printer extends ovm_printer</td></tr></table></blockquote>The table printer prints output in a tabular format.</div></div><div class=CToolTip id="tt23"><div class=CClass><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_tree_printer extends ovm_printer</td></tr></table></blockquote>By overriding various methods of the ovm_printer super class, the tree printer prints output in a tree format.</div></div><div class=CToolTip id="tt24"><div class=CClass><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_line_printer extends ovm_tree_printer</td></tr></table></blockquote>The line printer prints output in a line format.</div></div><div class=CToolTip id="tt25"><div class=CClass><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_printer_knobs</td></tr></table></blockquote>The <i>ovm_printer_knobs</i> class defines the printer settings available to all printer subtypes. </div></div><div class=CToolTip id="tt26"><div class=CClass><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_hier_printer_knobs extends ovm_printer_knobs</td></tr></table></blockquote>The <i>ovm_hier_printer_knobs</i> is a simple container class that extends ovm_printer::ovm_printer_knobs with settings for printing information hierarchically.</div></div><div class=CToolTip id="tt27"><div class=CClass><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_table_printer_knobs extends ovm_hier_printer_knobs</td></tr></table></blockquote>The <i>ovm_table_printer_knobs</i> is a simple container class that extends ovm_printer::ovm_hier_printer_knobs with settings specific to printing in table format.</div></div><div class=CToolTip id="tt28"><div class=CClass><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>class ovm_tree_printer_knobs extends ovm_hier_printer_knobs</td></tr></table></blockquote>The <i>ovm_tree_printer_knobs</i> is a simple container class that extends ovm_printer::ovm_hier_printer_knobs with settings specific to printing in tree format.</div></div><div class=CToolTip id="tt29"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_tree_printer ovm_default_tree_printer = new()</td></tr></table></blockquote>The tree printer is a global object that can be used with ovm_object::do_print to get multi-line tree style printing.</div></div><div class=CToolTip id="tt30"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_line_printer ovm_default_line_printer = new()</td></tr></table></blockquote>The line printer is a global object that can be used with ovm_object::do_print to get single-line style printing.</div></div><div class=CToolTip id="tt31"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_table_printer ovm_default_table_printer = new()</td></tr></table></blockquote>The table printer is a global object that can be used with ovm_object::do_print to get tabular style printing.</div></div><div class=CToolTip id="tt32"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_printer ovm_default_printer = ovm_default_table_printer</td></tr></table></blockquote>The default printer is a global object that is used by ovm_object::print or ovm_object::sprint when no specific printer is set.</div></div><div class=CToolTip id="tt33"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function void print (</td><td class=PType nowrap>ovm_printer&nbsp;</td><td class=PParameter nowrap>printer</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>The print method deep-prints this object&rsquo;s properties in a format and manner governed by the given <i>printer</i> argument; if the <i>printer</i> argument is not provided, the global ovm_default_printer is used. </div></div><div class=CToolTip id="tt34"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function string sprint (</td><td class=PType nowrap>ovm_printer&nbsp;</td><td class=PParameter nowrap>printer</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>The <i>sprint</i> method works just like the print method, except the output is returned in a string rather than displayed.</div></div><div class=CToolTip id="tt35"><div class=CClass><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>virtual class ovm_component extends ovm_report_object</td></tr></table></blockquote>The ovm_component class is the root base class for OVM components. </div></div><div class=CToolTip id="tt36"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit print_enabled = 1</td></tr></table></blockquote>This bit determines if this component should automatically be printed as a child of its parent object.</div></div><div class=CToolTip id="tt37"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int begin_elements = 5</td></tr></table></blockquote>Defines the number of elements at the head of a list to print. </div></div><div class=CToolTip id="tt38"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int end_elements = 5</td></tr></table></blockquote>This defines the number of elements at the end of a list that should be printed.</div></div><div class=CToolTip id="tt39"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>function new()</td></tr></table></blockquote>Creates a new instance of <i>ovm_table_printer</i>.</div></div><div class=CToolTip id="tt40"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_table_printer_knobs knobs = new</td></tr></table></blockquote>An instance of ovm_table_printer_knobs, which govern the content and format of the printed table.</div></div><div class=CToolTip id="tt41"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>function new()</td></tr></table></blockquote>Creates a new instance of <i>ovm_tree_printer</i>.</div></div><div class=CToolTip id="tt42"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_tree_printer_knobs knobs = new</td></tr></table></blockquote>An instance of ovm_tree_printer_knobs, which govern the content and format of the printed tree.</div></div><div class=CToolTip id="tt43"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>function new()</td></tr></table></blockquote>Creates a new instance of <i>ovm_line_printer</i>.</div></div><div class=CToolTip id="tt44"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>virtual function void print_newline (</td><td class=PType nowrap>bit&nbsp;</td><td class=PParameter nowrap>do_global_indent</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>1</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Overrides ovm_printer::print_newline to not print a newline, effectively making everything appear on a single line.</div></div><div class=CToolTip id="tt45"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int max_width = 999</td></tr></table></blockquote>The maximum with of a field. </div></div><div class=CToolTip id="tt46"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string truncation = &quot;+&quot;</td></tr></table></blockquote>Specifies the character to use to indicate a field was truncated.</div></div><div class=CToolTip id="tt47"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit header = 1</td></tr></table></blockquote>Indicates whether the print_header function should be called when printing an object.</div></div><div class=CToolTip id="tt48"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit footer = 1</td></tr></table></blockquote>Indicates whether the print_footer function should be called when printing an object.</div></div><div class=CToolTip id="tt49"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int global_indent = 0</td></tr></table></blockquote>Specifies the number of spaces of indentation to add whenever a newline is printed.</div></div><div class=CToolTip id="tt50"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit full_name = 1</td></tr></table></blockquote>Indicates whether print_id should print the full name of an identifier or just the leaf name. </div></div><div class=CToolTip id="tt51"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit identifier = 1</td></tr></table></blockquote>Indicates whether print_id should print the identifier. </div></div><div class=CToolTip id="tt52"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int depth = -1</td></tr></table></blockquote>Indicates how deep to recurse when printing objects. </div></div><div class=CToolTip id="tt53"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit reference = 1</td></tr></table></blockquote>Controls whether to print a unique reference ID for object handles. </div></div><div class=CToolTip id="tt54"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit type_name = 1</td></tr></table></blockquote>Controls whether to print a field&rsquo;s type name.</div></div><div class=CToolTip id="tt55"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit size = 1</td></tr></table></blockquote>Controls whether to print a field&rsquo;s size.</div></div><div class=CToolTip id="tt56"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit show_radix = 1</td></tr></table></blockquote>Indicates whether the radix string (&lsquo;h, and so on) should be prepended to an integral value when one is printed.</div></div><div class=CToolTip id="tt57"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string prefix = &quot;&quot;</td></tr></table></blockquote>Specifies the string prepended to each output line</div></div><div class=CToolTip id="tt58"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int mcd = OVM_STDOUT</td></tr></table></blockquote>This is a file descriptor, or multi-channel descriptor, that specifies where the print output should be directed.</div></div><div class=CToolTip id="tt59"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>ovm_radix_enum default_radix = OVM_HEX</td></tr></table></blockquote>This knob sets the default radix to use for integral values when no radix enum is explicitly supplied to the print_field() method.</div></div><div class=CToolTip id="tt60"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string dec_radix = &quot;'d&quot;</td></tr></table></blockquote>This string should be prepended to the value of an integral type when a radix of OVM_DEC is used for the radix of the integral object.</div></div><div class=CToolTip id="tt61"><div class=CConstant>Selects decimal (%d) format</div></div><div class=CToolTip id="tt62"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string bin_radix = &quot;'b&quot;</td></tr></table></blockquote>This string should be prepended to the value of an integral type when a radix of OVM_BIN is used for the radix of the integral object.</div></div><div class=CToolTip id="tt63"><div class=CConstant>Selects binary (%b) format</div></div><div class=CToolTip id="tt64"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string oct_radix = &quot;'o&quot;</td></tr></table></blockquote>This string should be prepended to the value of an integral type when a radix of OVM_OCT is used for the radix of the integral object.</div></div><div class=CToolTip id="tt65"><div class=CConstant>Selects octal (%o) format</div></div><div class=CToolTip id="tt66"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string unsigned_radix = &quot;'d&quot;</td></tr></table></blockquote>This is the string which should be prepended to the value of an integral type when a radix of OVM_UNSIGNED is used for the radix of the integral object.</div></div><div class=CToolTip id="tt67"><div class=CConstant>Selects unsigned decimal (%u) format</div></div><div class=CToolTip id="tt68"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string hex_radix = &quot;'h&quot;</td></tr></table></blockquote>This string should be prepended to the value of an integral type when a radix of OVM_HEX is used for the radix of the integral object.</div></div><div class=CToolTip id="tt69"><div class=CConstant>Selects hexidecimal (%h) format</div></div><div class=CToolTip id="tt70"><div class=CMethod><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function string get_radix_str (</td><td class=PType nowrap>ovm_radix_enum&nbsp;</td><td class=PParameter nowrap>radix</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Converts the radix from an enumerated to a printable radix according to the radix printing knobs (bin_radix, and so on).</div></div><div class=CToolTip id="tt71"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string indent_str = &quot; &quot;</td></tr></table></blockquote>This knob specifies the string to use for level indentation. </div></div><div class=CToolTip id="tt72"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>bit show_root = 0</td></tr></table></blockquote>This setting indicates whether or not the initial object that is printed (when current depth is 0) prints the full path name. </div></div><div class=CToolTip id="tt73"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int name_width = 25</td></tr></table></blockquote>Sets the width of the <i>name</i> column. </div></div><div class=CToolTip id="tt74"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int type_width = 20</td></tr></table></blockquote>Sets the width of the <i>type</i> column. </div></div><div class=CToolTip id="tt75"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int size_width = 5</td></tr></table></blockquote>Sets the width of the <i>size</i> column. </div></div><div class=CToolTip id="tt76"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>int value_width = 20</td></tr></table></blockquote>Sets the width of the <i>value</i> column. </div></div><div class=CToolTip id="tt77"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>string separator = &quot;{}&quot;</td></tr></table></blockquote>Determines the opening and closing separators used for nested objects.</div></div><!--END_ND_TOOLTIPS-->
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>