| <html><head><title>Sequence Classes</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="CSection"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Sequence_Classes" href="../../ovm_ref/sequences.txt">Sequence Classes</a></h1><div class=CBody><p>Sequences encapsulate user-defined procedures that generate multiple <a href="../files/methodology/sequences/ovm_sequence_item-svh.html#ovm_sequence_item" class=LClass id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">ovm_sequence_item</a>-based transactions. Such sequences can be reused, extended, randomized, and combined sequentially and hierarchically in interesting ways to produce realistic stimulus to your DUT.</p><p>With <i>ovm_sequence</i> objects, users can encapsulate DUT initializaton code, bus-based stress tests, network protocol stacks-- anything procedural-- then have them all execute in specific or random order to more quickly reach corner cases and coverage goals.</p><p>The OVM sequence item and sequence class hierarchy is shown below.</p><img src="nd/Images/ovm_ref_sequence.gif" width="249" height="244"><ul><li><a href="../files/methodology/sequences/ovm_sequence_item-svh.html#ovm_sequence_item" class=LClass id=link2 onMouseOver="ShowTip(event, 'tt1', 'link2')" onMouseOut="HideTip('tt1')">ovm_sequence_item</a> - The <i>ovm_sequence_item</i> is the base class for user-defined transactions that leverage the stimulus generation and control capabilities of the sequence-sequencer mechanism.</li><li><a href="../files/methodology/sequences/ovm_sequence-svh.html#ovm_sequence#(REQ,RSP)" class=LClass id=link3 onMouseOver="ShowTip(event, 'tt2', 'link3')" onMouseOut="HideTip('tt2')">ovm_sequence #(REQ,RSP)</a> - The <i>ovm_sequence</i> extends <i>ovm_sequence_item</i> to add the ability to generate streams of <i>ovm_sequence_items</i>, either directly or by recursively execting other <i>ovm_sequences</i>.</li></ul></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_sequence_item extends ovm_transaction</td></tr></table></blockquote>The base class for user-defined sequence items and also the base class for the ovm_sequence class. </div></div><div class=CToolTip id="tt2"><div class=CClass><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters colspan=5>virtual class ovm_sequence #(</td></tr><tr><td> </td><td class=PType nowrap>type </td><td class=PParameter nowrap>REQ</td><td class=PDefaultValuePrefix> = </td><td class=PDefaultValue width=100%> ovm_sequence_item,</td></tr><tr><td> </td><td class=PType nowrap>type </td><td class=PParameter nowrap>RSP</td><td class=PDefaultValuePrefix> = </td><td class=PDefaultValue width=100%> REQ</td></tr><tr><td class=PAfterParameters colspan=5>) extends ovm_sequence_base</td></tr></table></td></tr></table></blockquote>The ovm_sequence class provides the interfaces necessary in order to create streams of sequence items and/or other sequences.</div></div><!--END_ND_TOOLTIPS--> |
| |
| <script language=JavaScript><!-- |
| if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> |