File: chapter_gui_assert_src.xml

package info (click to toggle)
covered 0.7.10-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,040 kB
  • sloc: ansic: 48,809; yacc: 11,650; xml: 8,838; tcl: 7,698; sh: 3,925; lex: 2,240; makefile: 362; perl: 329
file content (37 lines) | stat: -rw-r--r-- 2,189 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<chapter id="chapter.gui.assert.source">
  <title>Navigating the Assertion Source Code Window</title>
  <para>
    The Assertion Source Viewer window allows the user to see the source code for the current assertion in the 
    <link linkend="chapter.gui.assert">verbose assertion window</link>. To view this window, simply click the 
    <emphasis role="bold">Show Code</emphasis> button in the Verbose Assertion Coverage window. 
    <xref linkend="figure.gui.assert.source"/> shows a zero_one_hot OVL assertion code with syntax highlighting applied.
  </para>
  <para>
    <figure id="figure.gui.assert.source">
      <title>Assertion Source Viewer Window</title>
      <mediaobject><imageobject><imagedata fileref="img/assert_src.gif" format="GIF"/></imageobject></mediaobject>
    </figure>
  </para>

  <sect1 id="section.gui.assert.source.navigate">
    <title>Navigating the Source Code</title>
    <para>
      The source code for the current assertion will be automatically displayed in the text viewer when the window is 
      created.  However, the source code will be displayed as it is found in the file system, without preprocessing 
      applied to it.  This means that included files will not be displayed in an in-lined fashion.  To view included 
      files, simply click on the included filename (it will be underlined).  This will cause the included file to replace 
      its includer in the text viewer.  An infinite number of includes may be traversed in this manner. To go back to the 
      file that included the current file, simply click on the <emphasis role="bold">Back</emphasis> button located in 
      the bottom left-hand corner of the window. This will cause the current source code to be replaced with its "parent" 
      source code.
    </para>
    <para>
      Note that the <emphasis role="bold">Back</emphasis> button will be disabled when the top-level assertion file is 
      currently displayed.
    </para>
    <para>
      To exit this window, simply click on <emphasis role="bold">Close</emphasis> button. To see this help page for the 
      assertion source code window, click on the help (?) button.
    </para>
  </sect1>
</chapter>