Home
DVE User Guide
Contents
1. Getting Started 2 12 2 Continue to click the ii icons to expand the hierarchy tree Expanding Multiple Scopes or by Level 1 With a scope selected in the Hierarchy Browser right click select Edit gt Expand by Levels then select the level as shown below You can also right click to display the context sensitive menu Copy Show Source Ed Show Schematic BM Show Path Schematic Ex Add To Waves Add To Lists Expand by Levels k Expand All Collapse Parent Collapse All select by Levels select All 2 Select a command according to the following Command Description Expand By Levels Allows expansion by multiple levels with a single action Expand All Expands the entire hierarchy at once There may be a delay getting the hierarchy from the simulation when working interactively Getting Started 2 13 Command Description Collapse Collapses the selected scope Collapse All Collapses all expanded scopes Select Levels Allows selection of scopes by multiple levels Select All Selects the entire hierarchy Loading the Variable Pane and Source Window After identifying a scope of interest in the Hierarchy Browser you can load filter and view detailed variable data and source code for a scope and filter variables displayed To load data in the Variable Pane and Source Window 1 Make sure a database is currently loaded in the Hierarchy Browser 2 Do
2. Using the Top Level Window 3 34 Scope Type Icon Description VHDL Cycle Instance Denotes an instance of a VHDL Entity that was simulated in cycle mode VHDL instances are listed as Instance name Entity Architecture VHDL Event Instance Denotes an instance of a VHDL Entity that was simulated in event mode VHDL instances are listed as Instance name Entity Architecture VHDL Package Denotes a VHDL package VHDL Procedure Denotes a VHDL procedure VHDL Function Denotes a VHDL function VHDL Process Denotes a VHDL process VHDL Block VHDL Generic oystemC Instance Denotes an instance of a oystemC entity oystemC Process Denotes a SystemC process Using the Top Level Window 3 35 Using the Data Pane DVE displays simulation analysis data corresponding to the contents of the scope you select in the Hierarchy Browser To select a scope in the Hierarchy Browser e Click on the scope name to select the scope and populate the Data pane e Double click anywhere on the name of the scope to select the scope and populate the Data pane and the Source Window oee Figure 3 7 To view source code for a signal in the Data Pane select a signal then select Source Show Source The Source Window displays the source code for the selected signal Using the Top Level Window 3 36 Figure 3 7 Display of data for a scope
3. Btest il u product avista 2 0 dev examples ova risc sauroe M me ES 2 timescale 100ps 100ps 3 A gl module monitor 5 A G reg glitch in glitch inz NG F wire glitch out o reg glitch control 5 mybutti glitchy butl glitch out glitch ini glitch control r ue glitchy but2fglitch out glitch ing glitch control Display Line Attributes Use the line attribute area to toggle line numbering and control line breakpoints when running interactive simulation Toggle Line Numbering Right click in the line attribute area then select Line Number to toggle line numbering Figure 3 16 shows the line attribute menu Using the Top Level Window 3 51 Figure 3 16 Source Window Line Attributes Line at which simulator is currently stopped E3 disab test ucliZ v Source 1 begin generator Line breakpoint 5 number 3 enabled 1 forever 11 begin 10 number number e T Line breakpoint e ce gt ready disabled _ 44 end la end 16 1f always e 3 moinegedge reset disable gener Breakable lines 3 if suh Ng 2D initial o 21 5000 finish W Reuse Controlling Line Breakpoints in the Source Window You can control line breakpoints in the Source Window in two ways e Clicking on the circular breakpoint indicator in the line attribute area e Selecting a line breakpoint right clicking from the attribute area then selecting a context sensitive menu comm
4. n addres 5h03 preset zm amp n alu Qui g hc8 sn data 7 hba a n load a Sto s n pcaddr 5 h03 amem y mismatch mem v match New Group J ma DEW 00000 a j 000000 TT j 500000 PEN 9 To review comparison information select a result in the Wave Window right click then select Show Compare Info and the Results Summary Report displays in the Waveform Compare dialog box Figure 4 17 Waveform Compare Summary Report Results summary Compare results Summary Reference test risc l mem write Test test riscl fetch Number of Signals Compared 1 Number of Values Compared 58334 Number of Differences Found 101 10 You can change the options then recompare Building Buses Use the DVE Bus Builder function to create and edit buses containing Signals as well as other user created buses Using the Wave Window 4 24 Create or edit a bus using the Bus Builder dialog from the Waveform Window You can use either the Signal pull down menu or the context sensitive menu in the signal pane Include component signals by selecting signals in the signal pane of the Wave Window or by dragging or copying signals from the Hierarchy Browser into the Bus Builder dialog You can add and delete signals or change their order in the bus You can drag components to the List Window to view values After you create a bus is created you can use it as you would any other signal in the design By default it will resi
5. Tracing f grant 12 x2 Reason End time of assertion failure DVE T opLevel Wavel lt Jg 44300 SSC it a 44000 N 44100 44200 tro grant gt SUCcess fc check SUCCESS o lock kc arhite SUCCESS grant Failure m 200000 400000 600000 600000 rl rt kl an teman ren 1 ave 4 f grant012 Ox2 arbiter 2t 3 tb e N A N A Eller List Window Use the List Window to generate ASCII simulation results The List Window displays simulation data as shown in the Wave Window but in tabular format It is a scrollable window showing simulation time on the left Overview 1 11 Figure 1 7 List Window Signals Simulation Time Results DVE TopLevel 3 List 1 E File Edit View JI NT Window Help Testcases L Em e 77 S e r5 ERR RUN NENNEN H E 3 tb arbiter 0 is parked gtbiter Zt 3 tb arbiter Oc arbiter 2t 3 tb arbiter req 0 arbiter 2t 3 tb arbi arbiter 2t 3 tb arbite 0 req 1 arbiter zt it arbiter 2t 3 tf arbiter OD req 2 arbiter yf 2t 3 tb arbiter O default client arbiter 2t 3 tb arbiter_0 default P l b I b0 I b0 l b b l b 2 h3 Z2Z hx l b l b a l b 1l bD0 i b bl b0 il b z h3 Z h3 b0 bO l b I b0 1 b 1 bl I b0 il b Zhi Zh3 l b I hb Ib0 I b0 I b0 l h lbi I bl ha Z h3 I b0 1 bD l b I b0 i b 1 61 bl l bl h2a Zh3 l b0 l b
6. Schematic root ES File Edit View Simulator Source Schematic Trace Window Help or Ie eis ex al Ira le ole x Egg m E Displaying Connections in a Path Schematic With a path schematic displayed you can by add the logic fanin to or login fanout from specified objects in the schematic across specified levels or the entire design To display connections 1 Select an object or objects in the path schematic Your selection changes color confirming selection 2 Select Schematic Fanin Fanout to Path Schematic Using Schematics 1 12 The Fanin Fanout to Path Schematic dialog box displays as shown in Figure 7 4 Figure 7 4 Add Fanin Fanout to Path Schematic dialog box Add Fanin Fanout to Path Schematic Set Selected Add Selected Choose start Clear All levels One level 6 N leves I2 Fanin Fanout Heuse Window Options Iv Base on netlist of active window Warn if active window has no applicable netlist i Reuse active window if applicable I Warn if active window cannot be reused I Push new netlist Cancel Apply Ze 3 Click the Set Selected button to add the selected objects to the list box You can optionally select more objects and use the Add selected button to add them to the list 4 Set the other options such as the number of logic levels to be added and the Reuse Windows Options 5 Click OK to up
7. Merging Signal Groups Merge signal groups by selecting one or more signal groups in the Signal Pane then dragging and dropping the selection into another signal group Using the Waveform Pane The Wave Window displays the value transitions of signals and the success or failure of assertions Using the Wave Window 4 10 Figure 4 5 The Wave Window Upper timescale Cursors Marker header area p EB DVE IE EE 2 Wave 1 181x Be File Edit View Simulator Sig DETTPHIEEES CRSETR EE rm 7 pani value Blcogss HC satan mg check Success Belo lock Blcogss Evo arhite NES f grant E i Bpre r 1 b1 gt 1 b0 pre r h Bpre r 1 b1 gt 1 b0 enpre 1 b0 gt 1 b1 pre edk e 200000 400000 600000 o00000 F H ran 1 B Wars 1 Tracing t grant012 0x2 Reason 4 f grant012 Kk arbiter 2t 3 tb e N A N A aaa Lower timescale Cursors and markers are explained in Cursors and Markers on page 4 15 The Wave Window has an upper and a lower timescale The upper timescale displays the range of simulation times currently on display in the Wave Window The lower timescale displays the range of simulation times throughout the entire simulation Using the Wave Window 4 11 How The Wave Window Displays Values For scalar signals the Waves displays a scaler w
8. Time 35 the current time by entering a new time in this field Set Time ee Displays the time units for displaying x 100ps simulation data Select View gt Set Time Scale to set time units and precision Precision IE Displays the Open Database or Open File dialog box depending on the DVE window displayed and enables you to select and open a VPD file Open Database or File ps g enables you to close an open VPD file Close Database Displays the Ici Script dialog box whic amp enables you to select and source a Icl script Execute Tcl Script Close Window ontinues running a simulator stopped Continue Using the Top Level Window 3 22 Icon TE Load Active Scope Values Annotate Values Description line stepping over functions tasks etc e active scope in the source pane from the simulation database Displays the active scope signal values a current time in the source pane oreakpoint on the selected line in he Source window Line stepping and simulators will stop on execution of this line in the Source window Click to begin an interactive simulation a session When the simulation is running this icon is e activated Click to stop the simulation Stop Continue until the next valid breakpoint L monitor user interrupt or the end of simulation Continue Using the Top Level Window 3 23 Icon x Step Description Move th
9. You can display contents of multi dimensional arrays used for memory in the Memory Window 1 Select a memory in Hierarchy pane 2 In the Variable pane select memory variables to view Using the Top Level Window 3 65 3 Right click and select Show Memory to view the Memory Window contents x Memory Y2 mem memory 0 31 8h01 Pi S h2e 8 h72 Si a CIN o hfa S hdc ES a hace Short 8 hxx ghul bi B hxx 8 hax a hack o Torx hux 8 hax ee JE eee Customizing Memory Display 1 Right click in the Memory Window and select Properties The memory properties dialog opens 2 To change the memory display Enter a string value Show row or the number in the Columns to use to display the memory Specify a formula for the address computation based on index Enter Start and End address to display for An address and index based on elements starting at O The Address is them computed based on the specified formula Enter Start and End addresses to display only elements within the parameters Using the Top Level Window 3 66 Enter a Radix Using the Console The Console provides a command line interface and information about the commands you use during the session You can use the console to enter TCL commands view a transcript log of your session view a list of commands you have used and view a list of error and warning messages This section co
10. sertion Failure Summar Overview 1 7 Overview 1 8 Wave Window The Wave Window displays e Waveforms of selected signals in your design e Trace information for a particular assertion along with a waveform of the signals and expressions associated with the assertion Displaying Signals in the Wave Window Use the Wave Window to view and highlight signals of interest advance to various simulation times and view simulation time deltas To view signals in the Waveform Window you can double click an an assertion summary item or an attempt drag and drop an item in a list or select an item and select Add to Waves from the menu Figure 1 5 shows an example of the Waveform Window displaying signals Cursor 1 C1 indicates current time Figure 1 5 Waveform Window Signal group name Signal list Cursor C1 Waveforms DVE TopLevel 2 Wave 1 A File Edit View Simulator Aignal Scope Trace Window Help Testcases 20 x ins a arf Ba V X dA fe ae O default i O default amp b grant in i D pre gra a D pre lock D pre lock 200000 400000 600000 800000 a D pre_lock EH S X XX X3 AX 33933 aai bb 335g EU Wave 1 0 Wa NA Fob Viewing Assertions and Assertions Attempts You debug assertions by first displaying information for a particular assertion failure in the Assertion Window You can then examine a waveform of the signals All trace information is color coded for eas
11. A signal s load s are the input port s I O port s and statements that read the signal s value For example the statement assign sigA sigB is a load for sigB An active load would be a load that is Known to have read used the updated value of the requested signal Using the above example if sigB changed to value 0 at time 100 then to 1 at time 150 and sigA changed to O at time 102 then this load would be active at time 102 To trace an active driver do the following Using the Top Level Window 3 64 Note For 2005 06 before invoking DVE you must set the environment variable as follows setenv DVE ACTIVEDRIVERS 1 1 Select a signal from for a signal within the Source Waveform or ochematic or List windows or the Data pane then right click and select select Trace Loads from the context sensitive menu The Load Window displays the driver for the selected signal E File Edit View Simulator Signal Scope Trace Window Help Testcases 85 x D ae ara eer oo gdiB 4 e b3saes ERBEM la a Fm 21 end 22 wait f cleck 1 hoO 23 end 2d 25 PELE Or PELE ST idata 7 0 alu out 7 0 vimem read Maan cClock2 26 27 muxzxb5 muxzx5 raddress 4 0 fireghi 5 ireglo pcaddr fetch 28 25 reseter reseter ireset reset req fetch clock2j in Ju produat avista 2 0 dev examples mixed verilog apu v Ea I Reuse Cpu Ready fetch TEST RISCTN A NA ABAS Displaying Memory
12. Hesults summary ff Internal Signal Iv In port M Qut port Iv Inout port Cancel Apply Tips gt gt _ Using the Wave Window 4 22 In the Reference Waveform area if you did not select the reference design and signal in Step 1 selectthe reference design then enter the compare reference region signal scope or bus Note If you are comparing two designs from root then the reference region and test region can be empty In the Test Waveform area select the test design and the test region If you are comparing two designs from root then Reference Region and Test Region can be empty Select Only Display Differences to display only those results that do not match in the Wave Window In the Options section you can choose one or both Ignore X and Ignore Z can be selected to ignore For example if you select Ignore X ifthe reference signal value is X there is always a match whatever the values of the Test Signal Choose signals to compare by selecting one or all of In Port Out Port Inout Port and Signals Click Apply to start the comparison and keep the dialog box open Or Click OK to start the comparison and close the dialog box you can open it at any time from the Signal Pane context sensitive menu Results display in the current Wave Window Using the Wave Window 4 23 Figure 4 16 Compared Signal Groups in the Wave Window zERO 5 r accum 8 ho9 300 7350 P400 7450 7500 7550 Food D
13. Maximum number of log lines 10000 z Automatically increment highlight color Iv Show Errors dialog box Automatically apply visibility toolbar changes Open view in a new top level window OK Cancel ARHI 7 3 Select settings as follows Global Settings Select settings to set the general appearance of DVE wndows such as font size Debug Settings Signal compare parameters value transition exit dialog and assertion window docking defaults and first frame target setup options Hierarchy Browser Set the appearance and initial filter states Data Pane Appearance parameters signal sorting signal levels to display and scroll bar condition oource Window Data and annotation loading options line wrap line number display tab width default editor and akutomatic reload of changed source code schematic Window Line colors for schematic objects in ochematic and Path Schematic windows Using the Top Level Window 3 27 Waveform Window Appearance parameters signal levels to display and marker value display settings List Window Grid display signal name truncation signal levels to display and column spacing settings Coverage Settings Allows setting of weights for display of line condition toggle FSM and cover metrics Coverage Colors Coverage range and color settings for coverage display 4 Setthe font and size of the monospaces font used in the console
14. SYNOPSYS Discovery Visual Environment User Guide Version 2005 06 August 2005 About this Manual Contents Chapter 1 Overview Chapter 2 Getting Started Chapter 3 Using the Top Level Window Chapter 4 using The Wave Window Chapter 5 working with Assertions Chapter 6 Using the List Window Chapter 7 Using Schematics Chapter 6 Displaying Delta Cycles Chapter 9 Basic Navigation Techniques Index Discovery Visual Environment User Guide Version 2005 06 August 2005 Comments E mail your comments about this manual to vcs_support synopsys com SYNOPSYS Copyright Notice and Proprietary Information Copyright 2004 Synopsys Inc All rights reserved This software and documentation are owned by Synopsys Inc and furnished under a license agreement The software and documentation may be used or copied only in accordance with the terms of the license agreement No part of the software and documentation may be reproduced transmitted or translated in any form or by any means electronic mechanical manual optical or otherwise without prior written permission of Synopsys Inc or as expressly provided by the license agreement Right to Copy Documentation The license agreement with Synopsys permits licensee to make copies of the documentation for its internal use only Each copy shall include all copyrights trademarks service marks and proprietary rights notices if any Licensee mus
15. assertion oO SSS SSS SE EE File View Help la ad 4 First Fail Endy First Fail Started panenna dud z Tm uud i GT pr M Aa 100 Check arb testhbemsh top arbl arb checker n ssertion F allure Summary A amp ssertions Double click a summary item to trace the fall IinFilter Time Range 0 MAX Attqmpts F 3 S 0 EO 4 Click and hold down at Click and hold down a the right edge ofa Click a column head column header then column header then to sort by category drag It to a new drag it to hide or location change width Assertion joel etl Mae Vat Tine Tent Tine Reason ate Fiano succes tenu a gnti must be precede 513 513 ria both asserted gnt 505 E Failure 7750 T E TR Failure 23950 24050 grant 0 last qrant Failure3 41150 41250 arant 0 llast arant pd 4 k Assertion Failure Summary A amp ssertions Expand assertion ta see results double click result ta trace Filter Time Range 0 MAX Attempts F 3 S 0 0 g Working with Assertions 5 3 Compiling SystemVerilog Assertions Use the assert dve flag on the VCS command line when compiling systemVerilog assertions SVA for debugging with DVE Tip The link step can take a long time if you use a Solaris linker prior to version 5 8 To avoid linking delays when using DVE to debug designs compiled on Solaris do either of the following Make sure your Solaris C compiler is version 5 8 or above To check you
16. input p width 1 0 priority ND d 11 autput request lock cient Pl mask la output p width 1 0 priority 13 14 rey state Iv Reuse Ma Base v are M S E oct id Hier arbiter 2t 3 tb j 1 Getting Started 2 24 Viewing Tabular Data The List Window displays simulation results in tabular format For Verilog the List Window supports nets and register variables For VHDL it displays signals and process variables To display simulation data in the List Window 1 Open a List Window by selecting in the toolbar or Window gt New List Window 2 Drag and drop a scope of interest from a DVE window such as the Hierarchy Browser to the List Window Or Right click and select Add to Lists from the context sensitive menu The data is displayed in the default format 3 To view signal data select a signal to highlight the signal values as shown in Figure 2 15 Getting Started 2 25 Figure 2 15 List Window Time Signals Results DVE TopLevel 3 List 1 E File Edit View Simulator Signal Scope Trace Window Help Fl AT san EUER ioo zsssjmummm J sim arbMEer Zt 3 tb gragted sim arbfter 2t 3 th request 2 0 arbiter 2t 3 cb lock ND 2 0 3 im arbiter Zt 3 th grant in a b 3 EB locked sim arbiter 2 3 tb EB l S im arbiter ab 3 EB F nf 3 Sim arbiter at NA Stl NA NA NA SEU NA St0 3 h4 St0 h st
17. l b I b0 1l b0 l bi l bl I bl Zh2 ZhZ2 1 b lI b l 5b 1 bD i1 bD l bi l bl il bl ZhZ2 ZhZ l b lIl b lb I b0 i bl 1 b l bl l bi Zhi 2 h2 I l bl l hl l b I b0 1l bl I Il b0 I bl l bil Zhi Z h2 I l bl l hl lb 1 bl i b 1 b0 I bD 1 b0 Zhl 2 he l1l bl l hb l b I bl 1l b0 I b0 1 b I k0 Zhl ZhZ l bl l b l b l bl i bl l bi il bD i b Zh0 Zhl l bl l b lb 1 bl i bl i bi 1 b i b Zh0 Zhl l bl l hb b0 1l bl i bl i bi I b0 i b Zh 0 Z h0 1 b I b l b l bl i bl i bi 1 b i b Z h0 Zh0 l b lI b l b 1l bl i1 BD l bi 1 b l b Zhl 2 h0 l b Obl 4 b List 1 0 NA NA Hop Schematic Window ochematic views provide a compact easy to read graphical representation of a design There are two types of schematic views in DVE design and path e A design schematic shows the hierarchical contents of a the design or a selected instance and lets you traverse the hierarchy of the design Overview 1 12 Figure 1 8 Design Schematic HEN L PI ELI O File Edit View Simulator Signal Scope Trace Window Help Testcases E Time 0 x ins a Ba M X g KB So e 4 r s Bo E EEE amna a emis aao aata uxj amp a arbiter O my Unit arb inst Du arbiter 2t granted granted gr nt in grant index grant E Yv gt 4 e A path schematic is a subset of the design
18. The following items comprise the Scope menu Displays source code for the selected scope in the Source Window Displays design in the Schematic Window Displays Path Schematic Window with selected paths Displays to the parent source code of the active scope Displays the definition source code of the selected text in the active Source Window Show Scehmatic Show Path Schematic Move Up to Parent Move Down to Definition Back Unit Binding Entity Moves back in list of scopes or schematics Moves forward in list of scopes or schematics urrent Scope Scrolls Source Window display so that the first line of the active scope is visible scrolls Source Window display so that the first line of the active assertion unit is displayed scrolls Source Window display so that the first line of the active unit binding is displayed Displays the entity source code of the active VHDL architecture in the Source Window Using the Top Level Window 3 13 Architecture Displays the source code of the active VHDL architecture in the Source Window Opens an editor with the current source file Edit Parent Opens an editor with the parent source of the current source file Expand Path Expands the selected path in the schematic window Add Fanin Allows specification of a design object for Fanout fanin or fanout display Annotate Displays the active scope signal values at Values the current time in the Source
19. To modify a breakpoint 1 In the Source Window line attribute area or from the Simulator menu right click and select Set Breakpoints to display the Breakpoints dialog box Figure 3 22 Figure 3 22 Breakpoints dialog box Enable ID Type Breakpoint file tratfic v line a instance tb repeat file tratfic y line a2 instance th dut re file traffic y line ad instance th dut re absolute 1 repeat stop tile traffic line a4 instance th dut re rising clk repeat stog Define Show Source Enable Disable Delete 2 To work with defined breakpoints do one of the following FH v FH v v v To enable or disable a breakpoint select or deselect its Enable box or select the breakpoint in the list and click Enable or Disable To delete a breakpoint select the breakpoint in the list and click Delete Using the Top Level Window 3 61 o view the source code of a breakpoint click Show Source Displaying Drivers and Loads You can display active drivers and loads for a sinal at a given time by backtracing the signal to the driver or load that caused a value change The signal can be a Verilog signal Verilog wire VHDL variable or Verilog register Displaying an Active Driver The active driver of a signal is the driver that contributed to the value of the signal at a given tme time t e n Verilog a driver is a signal assignment statement In VHDL a driver is a process th
20. on page 1 5 Waveform Window Expand and collapse the display of See Chapter 3 Using the Hierarchy data in the Hierarchy Browser Browser Display data in the Waveform Dis See Chapter 3 Using the Waveform Display play Set marker positions in the See Chapter 3 Using the Waveform Display Waveform Display Select menu options in dialogs Covered throughout the DVE User Guide Move resize and close windows and 77 See Using The Waveform Window on dialogs page 3 1 and Using Workspace Windows on page 1 15 The following table shows the tasks you can perform using your right mouse button Task For more information see Create markers in the Waveform See Chapter 6 Using the Waveform Display Display Display a context sensitive menu See Using Context Sensitive Menus on that enables you to open close and page 1 8 arrange windows Display a context sensitive menu See Using Context Sensitive Menus on that enables you to manipulate the page 1 8 display of data in the Waveform Dis play Basic Navigation Techniques 9 2 Selecting Scopes Variables Assertions and Text You can use your left mouse to select data of all types scopes variables assertions and text within any DVE window The following table shows the various ways you can select data in DVE Tm emis Ee Ooo Select an individual scope Click left on the scope or Selects and highlights a new assertion or variab
21. 12 port Ngport out std logic EdEDUT DUT DL Entity Event ted 13 end canponSnt 2 E CHECKERIN Module Pa la camponent PPR ProcessiEvent DB olk E ae porp reeet a siel FER Process Event j P b 16 End core PPPH Process Event Hr ch 17 begin 19 Il dumpi 20 TEST PO proces al begin O dewexamplesim kgdivhdlitb vhd BI I Reuse x Filter Tije Range O 2350 B tg Instance Double click a scope in the Hierarchy Browser Corresponding data loads into the Source Window Drag and drop a scope to the Source Window or Window Loading a Source Window from the Assertion Window To load assertion code into a Source Window via the Assertion Window Using the Top Level Window 3 43 1 Make sure the Assertion Window is loaded with data If your design contains assertions the Assertion Window loads results when you open the simulation database Do either of the following Select an assertion in either tab then select Source Show Source n the Assertion Failure Summary tab or the Assertions tab double click the variable or assertion you want to display in the oource Window Inthe Assertion Failure Summary tab or the Assertion tab drag and drop the item to the Source Window or Window DVE loads and displays the source file Using the Top Level Window 3 44 Figure 3 12 Displaying Assertion Source Code Double click an assertion in the tab Or Select the assertion fil
22. 30 coutx coutx 3l SC METHOD sc subtracter action 3d sensitive lt lt ina lt lt inb ze 34 ad void sc subtracter action 3b outx writelina readil get wordil inb readil get wordil 3T 2n p 1 4 E sse eec gil F I Reuse Assertion Window Use the Assertion Window tabs to view assertions and assertion failures e Assertion Failure Summary tab Displays a summary of one failed attempt for every failing assertion By default the failed attempt is the first attempt that failed e Assertions tab Totals results for all assertions in a selected block or scope Also allows analysis of results of specific assertion attempts Figure 1 4 Assertion Window tabs Assertion Data Column Headers Assertion Failure Data ol Filter Time Range 0 Wooo zZ O0000000 z 00 0 00000 DO Check VI to ip iias 141 autp BES Tlinpa NO 0000000 7000000000 0 Check Vitopudub Al cutp1 inp Ting 7ONJ000000 7000000000 0 Check Vitopilu2 Al cutp1 iinp 1 inp2 7000000000 7000000000 0 Check VitopiZu2 Al outp1 i np1 linpa 7000000000 7000000000 0 Check V 1 top ul AT outp1 nplllinpz 7000000000 7000000000 0 Check V 1top u3 AT outp12zi np1 linp2 7000000000 7000000000 0 Check GT top ud Ad outp1 z inplllinpz Assertion Failure Summa ASSertlons Tabs Column Headers Assertion Data of Filter Time Range 0 Wow attempts ee eee rep GC SC aa FE ee SILA A ub Al Failure 9000000009 9000000000 TEETE
23. 9 4 selecting 9 3 attempt assertion 1 19 audience 1 ii B Back 3 13 basic naviagation techniques 9 1 Beginning menu selection 3 8 binary radix 4 6 bits displaying in waveform 4 6 Breakpoints 3 11 Building Buses 4 24 Bus Builder 4 24 buses building 4 24 C C1 cursor 4 5 Capture Delta Cycle Values 3 11 Cascade Window menu selection 3 17 Clear button 3 70 Close Database Toolbar icon 3 22 Close Database File menu selection reference 3 5 Close Database confirmation dialog box 2 28 Close File File menu selection reference 3 5 Close Window File menu selection reference 3 5 IN 1 closing a VPD database 2 28 Collapse CSM selection 9 7 collapsing the hierarchy tree 3 31 column headings rearranging 3 38 command list 3 69 commands transcripts of 3 68 Compare 3 12 concepts key 1 19 Console using 3 67 Console Pane 3 15 Context Sensitive Menu CSM definition of 1 19 context sensitive menu CSM Add to Waves 9 7 Collapse 9 7 Expand 9 7 over Hierarchy Browser 9 6 over Signal Pane 9 9 over Source Pane 9 7 over Toolbar 9 6 over Waveform pane 9 9 Select All 9 7 Show Source 9 7 context sensitive menus CSMs using 9 6 Continue 3 10 copying text 3 68 Create Bus 3 12 Create Marker CSM selection 4 17 Create Signal Groups 3 11 cursor C1 4 15 cursor C2 4 15 cursors inserting 4 15 Customizing the assertion display 5 8 IN 2 D Data Pane loading 2 14 Toolbar icon 3 23 database clos
24. Adds selected signal groups to display pane Using the Top Level Window 3 11 Display All Signal Adds all signal groups to display pane Groups Add to Waves Displays the selected signals in the Waves Window Displays the selected signals in the Lists Window Displays contents of memory variable Displays the Bus Builder dialog box for creating buses Entity Displays the Bus Builder dialog box for editing the selected bus Add to Lists Show Memory Create Bus Set Expression Set Search Constant Search Backward Search Forward Compare Displays the expression dialog box for using signals to create expressions Allows selection of a constant search criterion Finds the previous specified search constant in the design Finds the next specified search constant in the design Opens Waveform Compare dialog box for the selection of signals scopes or buses to compare Sh OW Comparison Displays the results of the signal comparison Info Shift Time Displays the Shift Signal dialog for specifying time offset for shifting specified signals Allows the selection of radix value Displays the Edit User Defined Radix dialog box for creating editing and Set Radix Edit User Defined Radices deleting radices Using the Top Level Window 3 12 Properties Displays the Signal Properties dialog box which displays data on the selected signal Scope Menu
25. Marker Ej Show Source 2 Select Create Marker from this menu This inserts a dotted line on your mouse cursor in the graphical display Figure 4 11 Dotted Line For Positioning Marker 100 120 400 poi fa TERRENT TEHRRIMNT 3 he dotted line tracks the mouse cursor as you move the mouse in the waveform or marker header area Position the marker in the graphical display then left click to position the marker Using the Wave Window 4 17 Figure 4 12 New Marker oa PIS tian I ll As you insert markers DVE names them M1 M2 M3 and so forth You can rename them using the Markers dialog box Using The Markers Dialog Box The Markers dialog box allows you to create move hide and delete markers and to scroll the graphical display until it reveals a marker You open this dialog box with the View gt Set Markers menu command in the Wave Window Using the Wave Window 4 18 Figure 4 13 The Markers Dialog Box Markers Wave Click the Tips button to expand the dialog box to show context sensitive help about the dialog box Drag Zooming There are two ways to zoom in and out in the graphical display Use the menu commands that cascade after the Waveform Zoom menu command in the Top Level Window Zoom In Zoom out Zoom Full Zoom to Time Range and Zoom to Cursors oruse their corresponding toolbar icons There is also a Zoom command in the CSM for the graphical display e Drag zoom in the graphical
26. Pin Values Ime m wr mem wr NG wr i 1 h er mem mef mem read c mem rea ho 1 Ma bo mem real rm bad pe POS Bad FL hd Tho EN PS bad F ini bad ji Li decoder load ir i h load attum ko ada ccum a pa Assum Note If you hold the cursor on a signal a tooltip identifies the signal as shown above Opening a Path Schematic View A path schematic is a subset of the design schematic displaying connections that cross hierarchical boundary Io open a path schematic view do the following 1 Open a design schematic view of an instance containing the hierarchical crossings of interest See the previous section Opening a Design Schematic View 2 In the design schematic window position the cursor on the instance you would like to display in the path schematic view An identifying tooltip appears showing the ID Using Schematics 3 When you have identified the instance to display click on it to select it 4 The color changes indicating it is selected Your selection changes color confirming selection Note You can also drag the selection cursor over multiple objects to select multiple items Your selection changes color confirming selection 5 Select Schematic New Path Schematic Window or Ec to view a path schematic The path schematic for the selection displays Figure 7 3 shows a path schematic Using Schematics 7 11 Figure 7 3 Path Schematic DVE TopLevel
27. Window from either tab of the Assertion Window The data is displayed in the default format Opening a Database 1 Open a List Window by selecting in the toolbar or View gt List Window 2 Select Edit gt Open Database and select the vcd vpd or dump database file to open or the saved session Using the List Window 6 3 The data is displayed in the default format Loading a Session To open a previously saved session do the following 1 Open a List Window by selecting in the toolbar or View gt List Window 2 Select Edit gt Open Session and select the vcd vpd or dump database file to open or the saved session The data is displayed in the default format Navigating Simulation Data This section covers the following topics e Viewing Data in the List Window e Using Markers Viewing Data in the List Window To view simulation data in the List Window e Use the bottom scroll bar to move left and right and view signals and their values e Use the right scroll bar to move up and down through simulation time Using the List Window 6 4 e Select a signal in the signal pane to highlight the signal values as shown in Figure 6 2 Using the List Window 6 5 Figure 6 2 List Window Simulation time Selected signal Results DVE TopLevel List 1 E File Edt View Simulator Signal 5fope Trace Window Help Testcases 8 xi D oxtes joo i famx a Jay Jae 1 Hew Group bench top arbl ne
28. a User Defined Radices 1 Select Signal Radix User Defined to display the Edit User Defined Radix dialog box To import a radix click Import then browse to and select the desired radix To export a user defined radix click Export select the radix from the User Defined Radix pulldown menu then enter a radix name 3 Click OK or Apply Using the Wave Window 4 8 Setting Signal Groups You can group signals and assertions for viewing in a Wave Window from both the Top Level Window and the Wave Window il To create a signal group while working in a Wave Window click on New Group in the Signal Pane or right click and select Signal Group gt Create Signal Group from the context sensitive menu A signal group is created Double click on the newly created group enter a name for the group them press Return select signals and assertions to include in the group then drag and drop them into the group you created To delete a signal or signals from the group select the signal or Signals in the signal pane right click then select Delete To control the display of signal groups right click then select Signal Group Display All Signal Groups or Signal Group gt Display Signal Groups and check and uncheck the Groups to display or hide see Figure 4 4 for an example Using the Wave Window 4 9 Figure 4 4 Display Signal Groups dialog box Display Signal Groups Wave signal Groups 4 Apply OR Cancel
29. click Apply the C1 cursor current time moves to the center of the wave window and makes the new time the current time Displays the Filter dialog box which enables filtering assertion data Makes the height of the displayed data greater Makes the height of the displayed data lesser Toggles display of input ports Filter Assertion Increase Row Height Decrease Row Height Port In Filter ort Out Port Buffer Console Displays Console Pane in active window Hierarchy Displays Hierarchy Pane in active window Displays Data Pane in active window Time Operations Toggles the display of the Time Operations toolbar buttons Toggles the display of the File toolbar buttons Toggles the display of the Edit toolbar buttons Using the Top Level Window 3 9 Toolbars gt Toggles the display of the Simulate toolbar buttons Toggles the display of the Signal toolbar buttons Toggles the display of the View toolbar buttons Trace Toggles the display of the Trace toolbar buttons Toggles the display of the Window toolbar buttons Toggles the display of the Help toolbar buttons Toggles the display of the Schematic toolbar buttons Toggles the display of the Zoom toolbar buttons Simulator Menu The following items comprise the Simulator menu Displays the Simulation Setup dialog box which allows you to set the simulator type executable location and arguments for running an interactive s
30. containing variables and assertions Select a scope in the Hierarchy Browser populate the Data Pane root Root Sbarbiter 2t t Hierarchy xn Si T The Data Pane displays signals in the selected scope vaime Iy T Dok bb grant O Wire cP Wire P SE arb inst 0 MAg grant index 1 0 WirerP arbitrate e amp O grant index int 31 0 Intege Polk monitor a O grant index next 3 Integer parameter z D grant index v 31 0 Integer L Pregister granted WireiP Earbiter 0 m Mi O granted int Heg client 0 arb Mc i 0 granted next Heg client 1 arb Mi U granted v Heg client 2 arb Mc amp 0 31 0 Integer B lack 2 0 WirelP 4 L nInnk w Ren E 147 148 145 150 151 152 153 154 155 156 157 158 158 160 Elmedule DW arbiter 2t clk priority lock mask KAL n request parked granted locked grant gw parameter n EC parameter p width EA parameter park mede 1 parameter park index 2 parameter output mode 1 M Reuse Selecta signal in the Data Pane Select Source Show The Source Window displays the source code for the signal Using the Top Level Window 3 37 Rearranging Hierarchy Information You can sort the hierarchy column or rearrange the order in which the column headings appear in the Hierarchy Browser Figure 3 8 Moving a column he
31. display Drag zooming is described here Using the Wave Window 4 19 To drag zoom move the mouse cursor to any point in either of the timescales or in the waveform display area hold down the left mouse key and drag a region of the timescale The selected region turns light blue When you release the mouse key the graphical display changes its display to only those transitions in the selected region of the timescale Expanding and Contracting Wave Signals You can expand and contract the height of wave signals Select View then select Increase Row Height or Decrease Row Height Searching in the Graphical Panes When searching graphical panes if any signals are selected in the wave window searching will search only in the waveforms for the selected signals If no signal is selected it searches all the signals You can have the C1 cursor move from its current location to the next using the search forward and search backward arrows in the toolbar To set the search criteria click the down arrow in the toolbar and select one of the following e Any Edge e Rising e Falling Failure e Success e Value Using the Wave Window 4 20 Customizing the Display You can customize the list display in the Signal Group pane as well as in the Top Level Window Hierarchy and Data panes to e Turn on off grid lines e Justify text left or right e Display full hierarchical names or just the leaf names To customize the d
32. e 3 Folient 1 arb Module Tfolient 2 tarb Module N ES File Edit View Simulator Signal Scope Trace Window Help a8 x U DD 250 kins e a n Z Ary Edge 5 R SSBF Ah an elamtegalniaanal Group m D lock x D priority tm D priority x st i D granted v 3t e priority 5 6 h00 gt 6 h09 m D grant inde 2 D parked ne at s e mask 2 0 3h 3hl b dk St0 St1 x locked int stO gt St eoa MAAE 50 10 5 AAE E a AA AY 1 locked int Sim arbiter 2t 3 stopped arbiter 2t 3 ib250x1ns HABAN Getting Started 2 23 Viewing Source Code Notice that when you double click a scope in the Hierarchy Pane a signal in the Wave Window an assertion in the Assertion Window the Source Window automatically displays the associated HDL or assertion source code Figure 2 14 Display of Source Code in the Source Window Related source code appears in Source Window DVE TopLevel 1 Hier 1 EE n File ma View Source Schelmatic Trace Window a x 0807765 J b pa a ao BREE east a mule arb client telk rst n request E El Desig vicine inte zl ZEEE priority lock mask I 4 request ND priority Hierarchy Variable MK lock ND mask ND U root Root pa R l parameter p widt i iFarbiter 2t T input elk ret n A Farb inst g input request ND lock ND mask Farbiter 0 ND zo Di
33. either of the following To populate the Variable Pane with data click a scope icon in the Hierarchy Browser To populate the Source Window select Scope gt Show Source oee Figure 2 7 Getting Started 2 14 Figure 2 7 Appearance of data in the Variable Pane and Source Window Selected scope Variable Pane oource Pane displays source code DYE TopLevel 1 Source 1 arbiter 2t 3 tb Base v FE File Edit View Simulator Signal Scope Trece Window Help 8 xi d i s a am summ JI JB e jpasssecmmmej z s o 4j E AASA an Za pb Cd ERU Vea ie F Ah 43 Ihus ile DW arhiEPr 26 iclk rsE n reguest priority 1 ock mask H D mask MD 2 0 Reg 44 ry parked granted locked gra iE MES r parked Wire nt grant index ma a B request ND 2 0 Reg 45 II module axh client clk rst n request priority loc pa a Eu a k mask TF arbitri T I priority ND S U heg 15 py request ND priority ND lock ND mask Polk m He grant_index 1 0 Wire ND paran request 2 0 Wire 41 i A8 arameter n 3 E mrn granted Wire a j T regist g 44 Parameter p width Zi arbiter 3 Urstn Reg 50 parameter park mede 1 i Edient C locked Wire 51 parameter park index 2 J Edlient 1 EH D lock NO 2 0 Red 44 parameter output mode 1 l od Fe lock 2 0 Wire 55 define index width n 4096 n2262144 in 2091152 D ck Reg in 8388608 24 in
34. is assert Al check Ell Ma OO ET cn ee Di shown endunit pa Au praduct avista 2 0 dewexamples ovafovasimn MX YLES Editing Source Code Use EDITOR to set your default text editor Using the Top Level Window 3 49 In the source code area right click then select Edit Source or Edit Parent to open your default editor and edit the source Selecting and Copying Text to the Clipboard You can select some or all text displayed in a Source Window and copy it to your clipboard To select a portion of text in a Source Window e Drag your mouse across the text you want to select DVE highlights the selected text Figure 3 14 Selecting a portion of text Eatest il u product avista 2 0 dev examples ovarrisc saur ce 2 timescale 100ps 100ps d A El module monitor 5 5 reg glitch in glitch ind i wire glitch o ut o reg glitch control s mybufit1 glitchy buftiglitch out glitch inl gliteh control IS Lr glitchy butz gliteh out glitch ind glitch control To select all text and or copy text in a Source Window 1 Right click and hold down the right mouse button in a Source Window A context sensitive menu CSM appears 2 In the CSM do any of the following To select all text in the Source Window choose Select All To copy selected text from the Source Window choose Copy Using the Top Level Window 3 50 Figure 3 15 Selecting and copying text
35. oO NA NA Rem Running a Quick Start Example DVE includes an example database you can use to become familiar with some of its basic usage techniques To load the quick start example shipped with DVE Getting Started 2 4 1 Create and change directories to a work directory where simulation files can be written DVE will run the testcase simulation 2 Inthe Toolbar of the Top Level Window click the example icon denoted by the lightening bolt g DVE runs the simulation and loads it Note that data initially appears in the Hierarchy Browser within the Top Level Window Figure 2 2 Initial Appearance of Quick Start Example DYE TopLevel 1 Console DYE Console File Edit View ae scope Trace Window A Testcases xi L E ET jbszz22 NNHE T om amd E x x eeeiarchitecture th a of th jpeg is ET g li g 15 J m Z Initial Higarchy A Variable 4 n pea Ed ZEREM CLK 18 clk in std ei pecie PATTRIBU COMP r logic of data in Dwo2 CC n COMP E 15 cn reset in std i JPEG_TY COMP 20 E data in read in std Hierarchy ESTANDAF DATA RI E agi Browser ESTO LOC L INPUT_F al data element in in INP STD Loc RESET NEA 2 TEST cf ge test si in std 2 LOG TEST S sj ples tutorial jpeg vhdl tb jpeg vhd 14 Iv Reuse k tb jpeg vhd command sgui open source id Souroe active TB JPEG ok commarncdb gui si
36. run a simulation interactively in real time using a compiled Verilog VHDL or mixed design Getting Started 2 7 1 Figure 2 5 Select Simulator gt Setup to display the Simulation Setup dialog box see Figure 2 5 pe Simulation 5etup Getting Started 2 8 Simulator executable isim Browse simulator arguments Interactive WPO file inter vpd Browse fe Start the simulation Enable periodic waveform update Reset Cancel Apply Tips gt gt Browse to a simulator executable if renamed Select simulator arguments You can enable line stepping and value compile by entering debug all Select or browse to an interactive vpd file Click OK to set up the simulation Running the Simulation This section describes using DVE to run and control the simulation The following topics are covered Using the Toolbar Using Simulator Menu Commands Using the Command Line Using the Toolbar When you start the simulation DVE activates toolbar commands for running and controlling the simulation Click the following icons in the toolbar to control the simulation Icon Description When the simulation is running this icon Is E activated Click to stop the simulation Stop Continue until the next valid breakpoint L monitor user interrupt or the end of simulation Continue a Move the simulation forward in time as set by the Simulator gt Set Step Ti
37. signals and events or sequences and properties for SVA that make up the assertion Using the Wave Window 4 6 Using User Defined Mnemonic Radices This section describes how to create edit import and export user defined radices Creating a User Defined Radix You can define a custom mnemonic mapping from values to strings for display in the Wave Window 1 Select Signal gt Radix gt User Defined to display the Edit User Defined Radix dialog box 2 Tocreate a user defined radix click New enter a radix name then press Return 3 Click Add Row to activate a row for the user defined radix Import Export Add Row Delete how Uk Cancel Sp ply Tips gt gt 4 Click OK or Apply to save the user defined radix Using the Wave Window 4 7 5 To apply the user defined radix to a signal select the signal in the Wave Window select Signal Radix then select the user defined radix from the list Managing User Defined Radices To edit or delelete a user defined radix 1 Select Signal Radix5 User Defined to display the Edit User Defined Radix dialog box To delete a user defined radix select the radix from the User Defined Radix pulldown menu then click Delete To edit a user defined radix select the radix from the User Defined Radix pulldown menu click a cell in the Value or Display table then enter your change Click OK or Apply to save the change Importing and Exporting
38. 2 20 Viewing Source Code 1 0 0 cc e 2 24 Viewing Tabular Data llle 2 25 Saving a SESSION aue scooter epus Aedes o ad 2 26 Loading a Saved Session a 2 21 Closing a Database caedes EHE dere edd dee ie a QUE 2 28 EARS DE TT 2 28 Using the Top Level Window Using the Menu Bar and Toolbar 2 000002 ee 3 2 Menu Bar Reference 0 00 eee ee ees 3 4 Keyboard Shortcuts au ec dai SOG ERE Y aede eke Oa SUR 3 19 Toolbar Reference 0 0 ce ee es 3 22 Managing DVE Windows a 3 25 Displaying Data in a New Top Level Window 3 25 Table of Contents IV Docking and Undocking Windows and Panes 3 26 Setting Display Preferences 0 0000 c eee ee eee 3 26 Using the Hierarchy Browser aao 3 28 Navigating the Hierarchy 0 0 00 c eee eee eee 3 30 Scope Types and lcons 0c ee es 3 34 Using the Data Pane 00 0 ee 3 36 Rearranging Hierarchy Information 3 38 Viewing Multiple Designs llle 3 39 Using Context Sensitive Menus 3 40 Using Source Windows 22 llle 3 41 Loading Source Code 0 ee ee 3 42 Using the mouse in the Source Window 3 46 Working with the Source Window 3 47 Setting Time Units and Precision 4 3 55 Managing Breakp
39. Expand Time option to open up the series of transitions to show the sequence of delta cycle changes The trade off for capturing delta cycle information is longer simulation runtime and larger VPD databases Therefore use this feature only for debugging delta delay problems Displaying Delta Cycles Delta Cycle Recording for Mixed Designs for VCS MX Delta Cycle recording for the entire mixed language design is not supported It will work on respective portions of the design You can get Delta Cycle data using vpddeltacapture switch for scsim at run time Using Delta Cycles Expand and Collapse Times To expand a time to view delta cycle information 1 In the Wave Window Enter the time of the delta cycle in the Time box in the toolbar and press Return Or Select a signal in the Signal Pane select Any Edge in the toolbar then click the direction to search In the List Window select the Signal in the Signal Pane then select the time to view 2 Right click then select Expand Time from the CSM Polabse Winnie ej zie ems LI Tite Displaying Delta Cycles 8 3 You can collapse either all delta cycle regions or a selected delta cycle region To collapse all delta cycle regions right click anywhere in the Waveform Pane and select Collapse All Time from the CSM To collapse a single delta cycle region right click in the region to open the Waveform Pane CSM and select Collapse Time View Delta Cycles W
40. F arb_inst D P arbitrate Pclk_monitor gt P parameter register T Earbiter 0 m Click and hold down the grab bar of a docked window Drag window to Pd intended position n dk s N ENCA r grant 2 0 Vy si farb inst D Hen grant index 1 0 Vi Parhitrate r granted Vy Polk monitor H n lock 2 0 Vi P parameter l D lock_NDO 2 0 R Pregister locked Vy Tarbiter O m r mask 2 0 V client 0 arb tl mask_ND 2 0 R TFclient 1 tarb en parked Vy s n meegrb EN LA Ni APA me k x To minimize a Docked Window 1 Make sure the Docked Window is inside the boundaries of the Top Level Window Basic Navigation Techniques 9 12 2 Click the grab bar of the window The Docked Window minimizes Figure 9 9 Minimized Docked Window Minimized T Docked Window Ook F F arbiter 2t 3 t 7 grant 2 0 Vi 5 Farb inst D tr grant index 1 0 V Parhitrate n granted Vy Polk monitor amp r lock 2 0 Vi P parameter Block _NO e 0 R Pregister locked Vi m mask TI F pr AE o arhitar r1 m Using Toolbar Icon Sets as Floating Tool Palettes You can maneuver sets of Toolbar icons to any position on your monitor screen by dragging and dropping them as floating tool palettes To use a Toolbar icon set as a floating tool palette 1 Click and hold down your left mouse on the grab bar of a Too
41. KOOL The Wave Window displays the execution of named events with upward pointing white arrows as shown in Figure 4 10 Using the Wave Window 4 13 Displaying Analog Waveforms To view waveforms as analog signals in either a step or interpolated views and customize the analog display To view an analog signal 1 Select a signal in the Wave Window then select Signal Edit Signal Properties to display the Signal Properties dialog box signal Properties vexb dutpsop a fo Encoding Vector Style Scheme PERENNEM napo data som ex samez allx allz Analog Waveform Mark Samples CHE 7 Side l Y Range f Full User Min fo Max 31 scaling Linear Logif C dB Show Axis i Left T Aight Tips gt gt Apply ok Cancel signal 2 Todisplay the Style Schemes pulldown menu click i then select the analog scheme as follows analog to display an analog waveform as a stairstep scheme that stays at the value until the next reported value change Using the Wave Window 4 14 interpol to display an analog waveform interpolated between each reported value change Cursors and Markers In the graphical display you can insert markers and cursors To insert cursors Click the left mouse button to deposit cursor C1 in the graphical display The C1 cursors default position is at time O Left click somewhere else in the graphical display and cursor C1 moves to this
42. Level Window 3 31 Figure 3 5 Collapsing a portion of the hierarchy tree Hierarchy o Type E The Design ECOMPONENTS COMPONENTS PackagelEvent Ede TEST TEST TESTARCH Entity Event TEST PO TEST PD ProcessrEvent EWE MONITOR MONITORARCH Entity Event IISTART VALUES START VALLProcessi Event amp PEGLITCHY BUF MYBUFIF1 M Entity Cycle amp TEGLITCHY BUF1 MYBUFIF1 M Entity Cycle If Pli P1 Process Event 1f PO PO Process Event E ERISC1 CPU CPUARCH Entity Event E SALUT ALU ALUARCH Entity Event 1b P4 P4 Pracess Event E ECLKS CLOCKS CLOCKSARCHEEntity Event EPGMCTA COUNTER COUNTE Entity Event amp 3 INSTDEC DECODER DECODE Entity Event Click to EZRMEMI MEM MEMARCH Entity Event collapse TEREGS REG REGARCH Entitv Cvdle x hierarchy la Hierarchy collapses F TEST TEST TESTARCH Entity Event YETEST PO TEST PO ProcessiEver CL MONITOR MONITORARCH Entity Event I ERISCT CPU CPUARCH Entity Event To fully collapse a hierarchy tree with single click e Click the icon corresponding to the root of the design See Figure 3 6 Using the Top Level Window 3 32 Figure 3 6 Collapsing entire design hierarchy Hierarchy o Type The Design Click root d FCOMPONENTS COMPONENTS Package Event tocollapse EE TEST TEST TESTARCH Entityi Event hierarchy FTEST PO TEST PO Process Event EREI MONITOR MONITORARCH Entity Event N FESTART VALUES S
43. MCTR COUNTER COUNTE Entity Event lick to i INSTDEC DECODER DECODE Entity Event expandor amp RMEM1 MEM MEMARCH Entity Event collapse E TEREG REG REGARCHI Entity Cycle hd hierarchy scroll hierarchy name column Using the Top Level Window 3 29 Navigating the Hierarchy This section describes the basic techniques for navigating the Hierarchy Browser When the Hierarchy Browser first appears the design tree is not fully expanded To expand the view of scopes in the hierarchy e Click on a El icon located to the left of a scope The hierarchy tree expands Continue to click the icons to fully expand the hierarchy tree See Figure 3 4 Using the Top Level Window 3 30 Figure 3 4 Expanding the hierarchy tree Type Hierarchy o The Design i ECOMPONENTS COMPONENTS PackagefEve amp TETEST TEST TESTARCH Entity Event Click to expand N N Hierarchy ree expands ING Eee C700 LL The Design b 7 ECOMPONENTS COMPONENTS PackagelEve EE TEST TEST TESTARCH Entity Event 1 TEST POITEST PO ProcessiEver Epi ll MONITOR MONITORARCH EntityrEvent E3eERISCT CPU CPUARCH Entity Event To collapse a portion of the hierarchy tree e Click on the amp icon located to the left of a scope Theselected scope and its descendents within the hierarchy tree collapses Continue to click the E icons to fully collapse the hierarchy tree See Figure 3 5 Using the Top
44. Operations File _ m VIEW mal Simulate Source m Trace Help Line up This menu enables you to close and open various and toolbar icon sets by selecting the corresponding checkbox If you right click anywhere over the Hierarchy Browser the menu shown in Figure 5 3 appears Basic Navigation Techniques 9 6 Figure 9 3 Context sensitive menu over the Hierarchy Browser Hierarchy o TICOMPONENTS COMPON ESE TEST TEST TESTARCH af Add to Waves JH Show Source Mil Expand um Hi sa 3UF ollapse TE HB FE pn Bm This menu includes the following selections Add to Waves Loads the selected signal in the Waveform Display Select All Selects all scopes or variables in the active window Expand Expands the hierarchy display in the active window Collapse Collapses the hierarchy display in the active window Show Source Displays the Source Pane for the currently active window See Chapter 3 Using the Hierarchy Browser a for details on using this menu If you right click anywhere over a Source Pane the menu appears Basic Navigation Techniques 9 7 Figure 9 4 Context sensitive menu over the Source Pane architecture TESTARCH of test is signal reset req std_logic for all cpu use entity work coufCPL begin HIC cpu port mapireset req zalt Parent ew Dryers and Loads race Urvyers rece Dads Co CO EoaOXAkBBqE nun You can use t
45. PLI calls DVE uses standard VHDL terms including the language keywords syntax etc An area ofthe screen that displays the user interface for a DVE application A window can contain a menubar a toolbar and panes that display specific types of information Overview 1 23 Overview 1 24 Getting Started This chapter describes the basic techniques for getting started using DVE The following topics are covered e Enabling Debugging e Starting DVE e Running a Quick Start Example e Opening a Database e Using the Hierarchy Browser e Loading the Variable Pane and Source Window e Viewing Waveform Information e Viewing Source Code e Viewing Tabular Data Getting Started 2 1 e Exiting DVE Enabling Debugging This section describes how to enable debugging options for your simulation Compile Time Options debug Enables DVE and command line debugging option This option does not enable line stepping depu ug all Enables command line debugging option including line stepping debug pp Creates a VPD file when used with the VCS system task Svcdpluson and enables DVE for post processing a design Using debug pp can save compilation time by eliminating the overhead of compiling with debug and debug all UGLI Forces runtime to go into UCLI mode by default Also see the following section Runtime Options for more information SOUL When used at compile time starts DVE at runtime Also see the follo
46. Show Drivers and Loads 3 14 Show Memory 3 12 Show Path Schematic 3 13 Show Scehmatic 3 13 Show Source 3 13 Show Source CSM selection 9 7 signal vector 4 12 Signal Groups 3 11 Signal groups 4 6 signal information displaying 5 2 Signal Menu 3 11 Signal Pane context sensitive menu CSM 9 9 Signal pane using 4 1 Signal Properties 3 13 signals scalar 4 6 vector 4 6 Simulate Toolbar 3 10 simulation time setting example 3 3 Source Pane context sensitive menu CSM 9 7 IN 5 loading 2 14 Toolbar icon 3 24 Source Toolbar 3 10 starting DVE 2 3 3 2 Step 3 10 steps in flow for using DVE 1 14 1 16 1 17 Stop 3 10 support Synopsys Technical Support Center 1 iii T Tcl command line pasting text into 3 68 Terminate 3 11 terms key 1 19 text selecting 9 3 text copying 3 68 Tile Window menu selection 3 17 time simulation setting 3 3 time data type 4 6 Time View gt Go To menu selection reference 3 9 Tips button 4 19 Toolbar using 3 2 Toolbar icon sets maximizing 9 16 minimizing 9 16 repositioning 9 13 Toolbars 3 9 Trace Drivers 3 14 Trace Loads 3 14 transcript of all commands 3 68 IN 6 U Undock 3 17 Unit Binding 3 13 upper timescale 4 11 V Value column Signal pane 4 5 value transitions 4 10 variable definition of 1 21 variables dragging and dropping 9 4 selecting 9 3 vector signal 4 12 vector signals 4 6 Verilog Function icon 3 34 Verilog Instance icon 3 34 Verilog lan
47. Signal Properties dialog box Enter the number of characters for the selected signal value column width oelect whether a signal value change triggers a new line of values in the Data Pane Click Apply to make the change and keep to dialog box open to select and set more signal column widths Or Click OK to apply the changes and close the dialog box Using the List Window 6 9 Comparing Signals You can compare signals in the List Window similar to the way you compare signals in the Wave Wndow To view a comparison 1 Select one or two signals signal groups scopes or buses from the Signal Pane of any DVE window 2 Todisplay the Compare Signals dialog box right click in the Signal Pane then select Compare from the context sensitive menu Figure 6 4 Waveform Compare dialog box Waveform Compare Compare selectian Reference waveform Design Sim inter vpd Region ftest risct ireglo 4 1 est wavetorm Design Sim inter vpd Region Options signal types FI Display only differences Ignore X lgnore Iv Internal Signal Iv In port Iv Qut port M Compare recursive Time talerance Time ENS 100ps Results summary Iv Inout port Cancel Apply Tips 55 Using the List Window 6 10 In the Reference Waveform area if you did not select the reference design and signal in Step 1 selectthe reference design then enter the compare reference regi
48. TART VALLPracess Event EFEGLITCHY BUF MYBUF IF 1 M Entity Cydle EGLITCHY BUF1 MYBUFIF 1 M Entity Cycle a X P Process Event aa PO Process Event eh ISC1 CPU CPUARCH Entity Event AAALUT ALUALUARCH Entity Event 1 EVP4 Pa Process Event E S OLKS CLOCKS CLOCKSARCHERtity Event amp SPEMCTR COUNTER COUNTE Entit Event 8i INETDEC DECODER DECODE Entity Event SRMEM1 MEM MEMARCH Entity Event REG REGEREGARCH Entity Cycle El 4 Entire hierarchy collapses Type The Design Using the Top Level Window 3 33 Scope Types and Icons DVE displays a wide variety of scope types in the Hierarchy Browser Each scope type is represented by a specific icon The following table provides an overview of the various scope types and their corresponding icons as displayed in the Hierarchy Browser Scope Type Icon Description Design Root Contains the top of all design hierarchy Expand the Design Root to see the design Verilog Module E Denotes an instance of a Verilog module Verilog instances are listed as instance name module name Verilog Task ki Denotes a Verilog task Verilog Function f Denotes a Verilog task Verilog Named Begin e Verilog Named Fork Assertion Unit Denotes an assertion unit In u hierarchy an assertion unit is listed below the instance to which it is bound Assertions are listed as instance name unit name
49. Window Properties Displays attributes and values for the currently displayed schematic objects Trace Menu The following item comprises the Trace menu Trace Assertion Displays data for the selected assertion in the Wave Window Displays the Trace Assertion Attempts dialog for displaying attempt trace information in the Wave Window Show Drivers Displays data pertaining to and Loads signal drivers and loads Assertion Attempts Trace Drivers Displays data pertaining to signal drivers Trace Loads Displays data pertaining to signal loads Drivers Loads Previous Next In Displays the last or following This Instance values of drivers and loads for the selected signal in the current instance Using the Top Level Window 3 14 In Previous Next Displays the values of drivers Instance and loads for the selected signal in the last or following instance Repeats previously performed trace Set Current Color Allows setting of display color for the selected signal Selected Selected Allows manual tracing of by Color selected signals in Design and Path Scmematic windows by highlighting of the selected signals based on specified color assignments Clear Selected Clears current by color or all Clear Clear All signals manually traced using the Highlight command Highlights the currently selected signal in the Path Schematic window and traces it across boundaries Stop Following Ba Turns off highlighti
50. ading Click and hold down your Drag object to new mouse on column location and release heading you want to mouse button moye Column heading move to new location AR J roots The Design Ed EET DTE M Module af tarbi farb Module fe arb checker amp Xertion Click the triangle to nG E root reverse the sort order o Module Ed EET TT the hierarchy column Module Eq tarbi arb Assertion fe arb checker Using the Top Level Window 3 38 Viewing Multiple Designs You can load any number of VCD or VPD files and one interactive simulation at any time and move among the designs in the Hierarchy Browser When you open a second design a navigation box with a pulldown menu displays at the top of the Hierarchy Browser To move among the designs click the arrow and select a design to display Figure 3 9 Navigating among multiple designs Click the arrow to display a list of loaded designs V1 2sva vh dl vod Hierarchy m SEDUT DUT DU EntityiEvent 2 Bg CHECKERIN Module Select a design to ePi P1 Process Event display SPP Process Event PPC PC Processi Event PP PP Processi Event VI sva vhdl vpd viva vhdivpd i EJ W sva_vhdl vod V2 Syabench rhiter vpd V i inter vpd v riso partition pd ent pp di Process Event PE TRE Process Event PPP PP Process Event Using the Top Level Window 3 39 Using Context Sensitive Menus In
51. always P inegedge reset disable gener ator 18 2D initial 21 5000 finish E I Reuse 2 Select Enable Breakpoint Disable Breakpoint or Delete Breakpoint to change the line breakpoint condition For more information see the following section Managing Breakpoints in Interactive Simulation Using the Top Level Window 3 54 Setting Time Units and Precision To set time units and precision 1 Select View Set Time Scale The Set Time Units and Scale dialog box displays Set Time Units and Scale Display Precision 1005 or Cancel Apply Tips gt gt Left click on the Display Precision down arrow to display selections Select unit and precision Click OK to set unit and precision Using the Top Level Window 3 55 Managing Breakpoints in Interactive Simulation DVE allows setting of three types of breakpoints that cause the tool to stop when stepping or running during interactive simulation e Line breakpoints execute each time a specified line is reached during simulation see the section Display Line Attributes on page 2 51 for more information about line breakpoints You can also specify an instance to have the tool stop only at the line in the specified instance e Signal breakpoints trigger when a specified signal rises falls or changes e Time breakpoints stop at a specified absolute or relative time in the simulation Creating Line Breakpoints You can us
52. ame Cancel Apply 2 Make sure the correct database is selected then click OK E DVE closes the display of the selected database in the Hierarchy Browser Exiting DVE To exit DVE select File gt Exit Getting Started 2 28 Getting Started 2 29 Getting Started 2 30 Using the Top Level Window In DVE the top level window can contain any other DVE panes and windows There can be any number of top level windows open at any time Each has a full menubar and toolbar though active items depend upon windows or views open in a top level window for example Schematic menu commands are active when a Schematic Window is active in a top level window This chapter describes how to use the basic components of the DVE Top Level Window as it appears when you open DVE Other windows which can be displayed in a top level window are described in chapters that follow Using the Menu Bar and Toolbar Using the Hierarchy Browser Using the Data Pane Using Source Windows Using the Console Using the Top Level Window 3 1 Using the Menu Bar and Toolbar The Menu Bar and Toolbar provide you options for performing standard simulation analysis tasks such as opening and closing a database moving the waveform to display different simulation times or viewing HDL source code This section covers the following topics e Menu Bar Reference e Toolbar Reference Most items in the Menu Bar correspond to icons or text fiel
53. an load and display in a Source Window Figure 3 10 Example Source Windows Barchitecture TESTARCH of test is signal reset req std logic camponent dump port laport out std logic end camonent camoonent cpu port rese reg in sed logic end component begin RISC cpu port mapireset req Il dump IEBT PU process begin j 3 0 dev examples mixed vhdlitb vhd 9 Iw Reuse Using the Top Level Window 3 41 Loading Source Code This section covers the following topics e Loading a Source Window from the Hierarchy Browser e Loading a Source Window from the Assertion Window Loading a Source Window from the Hierarchy Browser To load HDL data into a Source Window or from the Hierarchy Browser 1 Make sure a database is currently loaded in the Hierarchy Browser 2 In the Hierarchy Browser do either of the following Select a scope then select Source Show Source Double click on a scope icon The Source Window loads the data corresponding to the selected scope See Figure 3 11 Using the Top Level Window 3 42 Figure 3 11 Loading the Source Window Im DVE TopLevel 1 Hier 1 T File Edit View Simulator iA aaa Trace Window En Testcases a Xx er Jej e b d ze eju mma NG A ag po A g architecture STARC F at is EET ES vhdl vod JE T 38 5 10 signal reset req std logic 11 component dump Hierarchy M Type
54. and Using the Top Level Window 3 52 The following table describes using the attribute area to control breakpoints Breakpoint Icon Breakable Line Breakable Line e Enabled Breakpoint O Disabled Breakpoint Denotes that a breakpoint can be set on this line Denotes that more than one breakpoint can be set on this line Denotes a line breakpoint was set on this line and it is enabled Line stepping and simulators will stop on execution of this line Denotes a line breakpoint was set on this line and it is disabled Line stepping and simulators will not stop on execution of this line Click on the icon to enable the line breakpoint Click on the icon to enable a line breakpoint Click on the icon to disable the line breakpoint Double click on the icon to enable the line breakpoint Enabling Disabling and Deleting Breakpoints with the Menu To use the attribute area context sensitive menu to control line breakpoints do the following 1 Selecta breakpoint then right click in the line attribute area of the oource Window to display the context sensitive menu Figure 3 17 Using the Top Level Window 3 53 Figure 3 17 Source Window Menus Right click to display line Set Breakpoint attribute menu options Enable Breakpoint Disable Breakpaint Delete Breakpaint v Line Number number 3 forever begin 10 number number Ee CA gt ready end end IG
55. any window right click to display a context sensitive menu then select a command The Hierarchy Browser context sensitive menu is shown below Command Description Copy Copy selected text Add to Waves Display the selected signal or signals in the Wave Window Add to Lists Display the selected signal or signals in the List Window Show Source Display source code in the Source Window for the selected scope Expand By Levels Allows expansion by multiple levels with a single action Expand All Expands the entire hierarchy at once There may be a delay getting the hierarchy from the simulation when working interactively Collapse Collapses the selected scope Collapse All Collapses all expanded scopes oelect Scope By Levels Allows user to select more than 1 level at a time Select All oelects all that are visible does not implicitly expand Using the Top Level Window 3 40 Using Source Windows oource Windows and Windows display HDL or assertion source code corresponding to your design You can set the number of panes in the Top Level Window or open as many Source Windows as needed to perform your analysis by selecting View gt Source Window This section covers the following topics e Loading Source Code e Working with the Source Window e Using the Source Code Area e Editing Source Code Figure 3 10 show the various types of data you c
56. ariable Pane displays variable names and types for signals in the selected instance e The Source windows display source code for the assertion Working with Assertions 5 10 e The Wave Window opens and displays the selected assertion centered on the failure The cursors mark the start and end time of the selected assertion with the area between the cursors grayed A green circle within a signal indicates a successful signal or value while a red circle indicates a failure Figure 5 7 Displaying Failed Assertion Attempts DVE TopLevel 2 Wave 1 T Edit View ail signal Scope Trace Window Testcases 20 kine ee aa inm paw p gr c i f granti Failure ea CHU 1 b1 51 b0 2 D pre rei 1 h D pre rei l b1 21 h D pre lac l b0 51 bi Breq 2 1 b D regi b Dreg D 1 b p e lock 2 3h 3h Folk eve B pre re 00000 00000 00000 D0000 Y F l P P ES Wave 1 bok NA Na Homs When first opened the cursors mark the start and end time of the selected assertion with the area between the cursors grayed In the Waveform Pane Agreen circle indicates a value within range of the selected assertion that would result in a success if other signals meet the assertion criteria Working with Assertions 5 11 Ared circle indicates a value outside the range of the selected assertion that causes or contributes to an
57. assertion failure White arrows indicate assertion clock events in the window A gray background spans from attempt start time to attempt end time instead of the normal black background This is different from a gray bar in a waveform which indicates that there is no value change data for that simulation time The background area remains gray if the cursors C1 and C2 are moved Assertions in The Signal Pane For OVA and SVA assertions the Name column lists the name of the assertion the Value column displays the result of the assertion attempt Success Failure or NA and the value ofthe relevant signals at the time at the C1 cursor or Working with Assertions 5 12 Figure 5 8 OpenVera Assertion in The Signal Pane Expanded Got grant 1z assetion HS clk_eve 7 D pre ret B D pre rei a pre rei D pre loc req a req 1 reg O Failure EZ l h1 1 h h l hi 1 h50 h s1 hi h h l h The assertion c muxorsel in Figure 5 8 failed at time 0 Signal values that comprise the assertion are displayed If you open the assertion in the Signal Pane by clicking on the plus to its left more information appears in the Signal Pane OpenVera Assertions in The Wave Window The waveform for an assertion is a series of green arrows for successes and red arrows for failures The start and end times of these successes and the start and end time and the reason for the failures is in the rectangles i
58. at contains a signal assigment statement e n verilog a contributor is an operand from the right hand side of a driving signal assignment statement In VHDL a contributor is a signal that is a reader for a driving process When you trace an active driver DVE traces back from a given time and examines all potential drivers to a changed value in a potential driver Drivers would look at all potential drivers of the target signal For each of these drivers the right hand side of an assignment statement would be deciphered DVE reports the first changed value in a driver befpre the given time You can analyze this contributor s affect on the target signal If you are not satisfied that this signal is the reason the signal is the value itis then you can askto step back further Active Drivers would then look for the next most recent contributor change and present this Using the Top Level Window 3 62 To trace an active driver do the following Note For 2005 06 before invoking DVE you must set the environment variable as follows setenv DVE ACTIVEDRIVERS 1 1 Select a signal from for a signal within the Source Waveform or ochematic or List windows or the Data pane then right click and select select Trace Drivers from the context sensitive menu The Driver W qindow displays the driver for the selected signal DVE TopLevel 5 Source 4 TEST RISCI fetch cpu v E File Edit View Simulator Signal IT Trace Windo
59. ation Techniques 9 10 Figure 9 7 Docked Windows Inside Workspace Boundaries DVE TopLevel 1 Hier 1 Workspace File E View E uana Source E Trace Window aiu a x Boundaries eel oe e Et we 7 so sethel T lim tee walle LLE AKA 3 2159 end A Design Sim newtr a reee gt om 9 220 request masked Hierarchy oa it teret inde Browser 3f root Root D dk x_int a OD a lock E arbiter 21 3t aaa eser MEE si arb_inst D er grant index e 222 e E ICT arbitrate granted grant index int a clk monitor H ook 2 0 Eod locked v Data Pane m H D lock ND 2 0 A DS NG 2324 granted v P register mr locked Vy l hbl p adto D m amp r mask 2 0 Vy 225 if granted i ih x mask ND 2 0 A nt b0 d riorities v 1 is disent e cepere V Fieuse DY Console a commarcbgqui change design id Hier 1 design 5m ok commarngbqui list expand id Hier 1 Sm arbiler_2t_3_tb arb_inst F command gt 4 WV2 arbiter_ 21 3 tb stopped arbiter Ox ins HERE Status bar Target window selections To reposition a docked window anywhere on your screen click and hold down the grab bar of any docked window and drag the window to the intended position Basic Navigation Techniques 9 11 Figure 9 8 Repositioning a Docked Window Design SIM newtry Hierarchy 1 root Root N ENG
60. ave Window Displays Values 4 12 Displaying Analog Waveforms llus 4 14 Cursors and Markers 0 0000 ee eee 4 15 Using The Markers Dialog Box 4 18 Drag ZOOMING 23 16 b ERIPUIT SESS bep ES 4 19 Expanding and Contracting Wave Signals 4 20 Searching in the Graphical Panes 0005 4 20 Customizing the Display llle 4 21 Comparing Signals Scopes and Groups 4 22 BUNAIN ES USCS so 5 804 tase cues eae dedi abate MuR CE oases 4 24 aig Idas zx deseo ere aeetene v d ee oak ke hese eee 4 29 Table of Contents vi 5 Working with Assertions Compiling SystemVerilog Assertions 0000005 5 4 Using the Assertion Failure Summary Tab 5 4 Using the Assertions Tab 0 ee 5 6 Customizing the Display 0 0 00 cee eee 5 8 Opening Assertion Display in a Top Level Window 5 9 Displaying Assertion Attempts in the Waveform Window 5 9 Viewing Assertion Failures 2 00 00 ee eee 5 10 Assertions in The Signal Pane 00006 5 12 Navigating Source Code 0 4a aaa 5 15 6 Using the List Window NE BIS VVIF OW su 2 so eire dieu es NS ESE Re ma 6 2 DISHAN Dala orre med ard ooi A Bases o fs uso eee ee bee ee 6 3 Dragging and Dropping Signals into the List Window 6 3 Opening a Database 0 0
61. aveform Figure 4 6 Scalar Signal Waveform In this waveform for a scalar signal 1 The signal has an X value from simulation time O to 5 indicated by a solid red bar 2 Thesignal has a 1 value from time 5 to 10 indicated by the raised green line 3 The signal has a 0 value from time 10 to 15 indicated by the lowered blue line 4 The signal has a Z value from time 15 to 20 indicated by the yellow line positioned between the raised green and lowered blue lines 5 The signal returns to an X value at time 20 Figure 4 7 shows vector signal values displayed in a stream of blue rectangles displaying hexadecimal values with a new rectangle for every value change Vectors can have either red outline indicating some x values a gold outline indicating no x but some z a gold line indicating all z and a red box indicating all x Using the Wave Window 4 12 Figure 4 7 Vector Signal Waveform i 10 15 25 In Figure 4 the signal begins simulation with a hexadecimal d value at time 10 it transitions to hexadecimal 100 and at time 20 to hexadecimal 200 If you zoom out too far so that the Wave Window can no longer display transitions see Drag Zooming on page 4 19 the waveform is a solid yellow bar indicating multiple transitions at each pixel Figure 4 8 shows two waveforms one almost zoomed out too far the other too far Figure 4 8 Zoomed Out Too Far Sn 1TOO00 ASO OO S00 JOO 350060
62. ce a TCL script Load Session Displays the Load Session Dialog which enables you to Load a saved session Recent Tcl Scripts Displays a list recently run scripts to choose from Recent Sessions Displays a list recently opened sessions to choose from Save Session Displays the Save Session Dialog which enables you to Save the current session Close Window Closes the currently active pane in the Top Level Window Exits DVE Recent Databases Displays a list recently opened databases to choose from Using the Top Level Window 3 5 Edit Menu The following items comprise the Edit menu Cut Allows cutting of selection from any editable window Copy Allows copying of selection from any DVE window Allows pasting of cut or copied selection into any editable DVE window or application Delete Allows deletion of selection from any editable DVE window Expand By Allows expansion by multiple levels with a single action Levels Expands the entire hierarchy at once There may be a delay getting the hierarchy from the simulation when working Expand AII interactively Collapse Collapses the parent of the selected scope Parent Collapse All Collapses all expanded scopes Synchronize Selection Select Scope Allows selection of more than 1 level at a time Selects all that are visible does not implicitly expand Finds specified text in a DVE pane or window Field options vary depending on headers if any in the selec
63. chematic view Move Up Displays a higher level schematic view of the parent design in the active schematic view Back Displays the previous schematic from the history Forward Displays the next schematic in the history Expand Path Add Fanin Fanout Annotate Pin Values Properties Expands the selected path in the schematic window Displays the Add Fanin Fanout to Adds the fanin logic to or fanout logic from a specified object in the currently active path schematic Displays values at the pins Displays attributes and valuesfor the currently displayed schematic objects Using Schematics Using the Context Sensitive Menu A context sensitive menu displays when you right click in the graphics area of a schematic view The following table describes the commands Command Action Show Source Displays the source code for the selection in the Source Pane Move Down Displays a design schematic for the selected design instance in the active schematic view Move Up Displays a higher level schematic view of the parent design in the active schematic view Back Displays the previous schematic from the history Forward Displays the next schematic in the history Add Fanin Displays the Add Fanin Fanout to adds the Fanout fanin logic to or fanout logic from a specified object in an currently active path schematic Annotate Pin Displays values at the pins Values Opening a Design Schematic View To view a sch
64. cterize Chip Architect Compiled Designs Core Network Core Store Cyclone Data Path Express DataPath Architect DC Expert DC Expert Plus DC Professional DelayMill Design Advisor Design Analyzer Design Compiler DesignSource DesignTime DesignWare Developer Direct RTL Direct Silicon Access dont touch dont touch network ECL Compiler ECO Compiler Embedded System Prototype Floorplan Manager Formality FoundryModel FPGA Compiler FPGA Express Frame Compiler General Purpose Post Processor GPP HDL Advisor HDL Compiler Integrator Interactive Waveform Viewer Library Compiler LM 1400 LM 700 LM family Logic Model ModelSource ModelWare Module Compiler MS 3200 MS 3400 Power Compiler PowerArc PowerGate PowerMill PrimeTime RTL Analyzer Shadow Debugger Silicon Architects SimuBus SmartCircuit SmartModel Windows Source Level Design SourceModel SWIFT SWIFT Interface Synopsys Graphical Environment Test Compiler Test Compiler Plus Test Manager TestSim Timing Annotator Trace On Demand VCS VCSi VHDL System Simulator VirSim Visualyze Vivace VSS Expert and VSS Professional are trademarks of Synopsys Inc Linux is a registered trademark of Linus Torvalds used by permission All other product or company names may be trademarks of their respective owners Printed in the U S A Document Order Number Discovery Visual Environment User Guide Contents 1 Overview Primary DVE Components e
65. cuts Ctrl X cut Ctrl C copy Ctrl V paste DEL delete Ctrl Y synchronize selection Ctrl A select all Ctrl F3 find F3 find next Shift F3 find prev Ctrl G goto address View Command Shortcuts ESC selection tool zoom in tool Zoom out tool Ctrl F zoom full Using the Top Level Window 3 19 Ctrl Cirl Ctrl T Ctrl Alt T Ctrl Q Alt Cursor Left Ctrl U if Alt doesn t work Alt Cursor Right Ctrl Shift U if Alt doesn t work zoom in zoom out zoom fit selection zoom fit highlight zoom to cursors back in zoom history forward in zoom history Simulator Command Shortcuts Ctrl F5 F5 F11 F10 start continue step next Signal Command Shortcuts Ctrl 4 Ctrl 5 Ctrl 6 Shift F4 lt F4 gt Using the Top Level Window 3 20 add to waves add to lists show memory search backward search forward Scope Command Shortcuts Ctrl 1 show source Ctrl 2 show schematic Ctrl 3 show path schematic Backspace no textin move up menu Enter no text in move down menu Trace Command Shortcuts Ctrl D trace drivers Ctrl L trace loads Ctrl E highlight selected Ctrl Shift M clear selected Ctrl M clear all CTrl N next color Help Command Shortcuts F 1 help F2 quick start example Using the Top Level Window 3 21 Toolbar Reference This section describes all Toolbar text fields menus and icons Icon Description Displays current time of the C1 cursor Set
66. date the schematic with the additional fanin or fanout logic Using Schematics 7 13 The schematic displays as shown in Figure 5 Figure 7 5 Path Schematic m DYE TopLevel 3 Schematic root ES File Edit View Simulator Source Schematic Trace Window Help Testcases IE UE X TEILT dells e H gja v a p EFE a BERBER amp amp o RER testr c1 alui pemi tested iion t poa n Dig testre C1 mem p210 testre l memi lies peg 10 Him Manually Tracing Signals You can select one or more signals to trace in a Schematic or Path Schematic window With this option the selected signals are highlighted based on specified line colors you select To highlight signals Using Schematics 1 Select Trace Highlight then select Set Current Color 2 Select a color for the highlight 3 Click OK Following a Signal Across Boundaries You can select a signal and follow it across hierarchical boundaries in the Path Schematic window 1 Selecta signal or signals in any DVE list then right click and select Show Path Schematic 2 Inthe Path Schematic window select a signal 3 Expand the hierarchy Using Schematics 7 15 The signal is highlighted in the path view Tracing X Values in a Design You can trace an X value through a design for example across gates to identify the signal that cuased the X value To trace an X value 1 Select an
67. de in the highest level signal group common to its components Bus Builder Dialog Figure 4 18 shows the major areas of the Bus Builder Dialog Figure 4 18 Bus Builder Dialog Name MewBu Bit Range Start ja End m Components 8 l e xl top rec reset top nec pela top nec pelz top rec pc top nec pc 0 Apply OE Cancel Using the Wave Window 4 25 Name Name is the name of the signal bus Buses can be named any legal name for the language e g Verilog VHDL When opened in Edit mode this field is inactive Bit Range By default the bit range is O to N where N is the number of components inthe bus Vectors and structs are expanded to their bits Forexample if top risc pc 3 0 is added to the list it is added as four items Toolbar The Bus Builder toolbar allows you to build and edit a bus The following describes the Bus Builder toolbar commands Toolbar Item Cut the selection from the component list d Copy the selection from the component list Paste a copied component or components Delete the selection Move the selection down in the component list Move the selection up in the component list n Reverse the order of the selected components kanan Using the Wave Window 4 26 Components Lists the components of the currently selected bus When creating a new bus you can select components in the Wave Window signal pane right click then sel
68. dow 4 3 Setting Wave Window Preferences You can customize the list display in the Wave to e Turn on off grid lines e Display full hierarchical names or just the leaf names e Justify text left or right To customize the display 1 Select Edit Preferences The Application Preferences dialog box displays 2 In the Categories pane select Waveform Window Figure 4 2 Wave Application Preferences dialog box Application Preferences Categories Waveform Window Global Settings Debug Settings Hierarchy Browser v Left justify signal name Data Pane Source Window Left justify signal value Schematic Window it Yalue Annotation show signal name by level ji show marker values M Absolute T Adjacent M Relative Show grid OK Cancel zw NG 3 Select or deselect Show Grid and Left Justify signal names and values checkboxes then select signal levels and marker value display Using the Wave Window 4 4 4 Click Apply to view your changes and keep the dialog box open or click OK to apply your changes and close the dialog box 5 Click Reset to reapply the defaults Using the Signal Pane The Signal Pane is comprised of two columns e The Name column displays signal names e The Value column displays the value of signals at the simulation time selected by the C1 cursor which is also the value in the Top Level Window Time field oee Figure 4 3 for an example of the Signal Pane F
69. ds in the Toolbar For example you can set the simulation time display in the waveform by doing either of the following e Select View gt Go To Time then enter a value in the Go To Time dialog box and click Apply or OK e Enter a value in the Time text field on the Toolbar then press Return on your keyboard oee Figure 3 1 for an example Using the Top Level Window 3 2 Figure 3 1 Methods for Setting the Simulation Time Menu Bar OR Toolbar Select View gt Go To Time enter a Enter value in Time text field of the value in the Go To Time dialog box Toolbar then press the Return key then click Apply or OK 4 y ran Zoom Y Tool Rag amp Zoom Out Tool SS Pan Too Vi sva vhi Zoom Hierarchy Set Time Scale 3 DUT Det Window Time Hange woe Delta Cycle b P1 P1 Go to Beainni P P o to Beginning PPC Pi Go to End Pp PF Goto Time gt Filter Assertion Increase Hoi nc Decease How Sean Godo time 300 Toolbars ange 0 2350 x Filter moves to specified simulation time DVE TopLevel 2 Wave 1 B File Edit View Simulator Signal Scope Trace Window Help Testcases Cancel Apply Results Waveform display x n5 15 x ll 300 x ins e a Bx Aa X j lE E E E 39 3E NG pen Database Cio 9 AAS RJR AA T oE Any Edg
70. e RN AA 550 roa n CCLK_OV 1 gt 0 n RESET O 0 nCLKI 1 30 Lana 0 a New Group Using the Top Level Window 3 3 Note e For complete descriptions of all Menu Bar and Toolbar functions see Using the Menu Bar and Toolbar e Forcomplete descriptions of setting the simulation time and using the Waveform Window see Chapter 4 Using The Wave Window Menu Bar Reference This section provides an overview of the following Top Level Window menus e File Menu e Edit Menu e View Menu e Simulator Menu e Signal Menu e Trace Menu e Window Menu e Help Menu Using the Top Level Window 3 4 File Menu The following items comprise the File menu Open Database Displays the Open Database dialog box which enables you to select and open simulation database VCD or VPD files for post processing Close Database Displays the Close Database dialog box which enables you to close an open simulation database VPD file Reload Database Load the previously opened database Open File Displays the Open Source File dialog box which enables you to select and display a source file in the Source Window Close File Closes the source file displayed in the active Source Window or Window Dump Values Save current signal data in Tabular List or Event Based List or entire Memory Contents Execute TCL Script Displays the Execute TCL Script dialog box which enables you to select and sour
71. e 3 16 History view History tab 3 69 icons Design Root 3 34 Verilog Function 3 34 Verilog Instance 3 34 Verilog Named Begin 3 34 Verilog Named Fork 3 34 Verilog Task 3 34 information other sources 1 ii inserting new markers 4 18 integers storing 4 6 interval between cursors 4 15 invoking DVE 3 2 invokingDVE 2 3 K key terms and concepts 1 19 L left mouse button using 9 1 List Window 3 16 customizing 6 7 panes 6 2 save format 6 13 set markers 6 6 set signal properties 6 9 using 6 1 view simulation data 6 4 IN 3 Load Session File menu selection reference 3 5 loading a VPD database 2 6 loading Data and Source Panes 2 14 Log view Log tab of console 3 68 lower timescale 4 11 M Main Window example 1 4 initial appearance 2 4 overview 1 2 using 3 1 manual audience 1 ii Markers dialog box 4 18 markers inserting 4 15 maximizing Toolbar icon sets 9 16 Menu Bar reference 3 4 using 3 2 messages error and warning 3 68 minimizing docked windows 9 12 Toolbar icon sets 9 16 mouse buttons using 9 1 Move Down to Definition 3 13 Move Up to Parent 3 13 moving Toolbar icon sets 9 13 N Name column signal pane 4 5 navigating Hierarchy Browser 3 30 navigation basics 9 1 IN 4 new markers inserting 4 18 Next 3 11 O oads displaying 3 62 Open Database Toolbar icon 3 22 Open Database File menu selection reference 3 5 Open Database dialog box 2 6 Open File File menu s
72. e Breakpoints in the Source Window ogic req Il assign rey 1l request 1 amp amp mask l1 E set Breakpoint logic req 2 Enable Breakpoint dcs rey 2 re amp guest 2 amp amp mask Z Disable Breakpaint Delete Breakpoint cee Rie M assign no reg request amp mask M Line Number 3i b000 logic is parked assign is parked parked 1 logic not granted assign not granted Igranted 0 logic default elvent index assign default client index grant i Iv Reuse 3 To select a breakpoint control commands right click in the line attribute area then select Disable Breakpoint Enable Breakpoint or Delete Breakpoint Line Time and Signal Condition Breakpoints This section describes how to use the Breakpoints dialog box to set and control breakpoints Note you can also set line breakpoints in the Breakpoints dialog box For more information on breakpoint types see 1 Select Simulator gt Set Breakpoints to display the Breakpoints dialog box 2 Click Define to display breakpoint definition tabs for creating Line Time and Signal breakpoints Figure 2 9 shows the dialog box Getting Started 2 17 Figure 2 9 Breakpoints dialog box Break points 1 file test uali2 v line 8 instance disab 3 Click Tips to get help then follow the directions on the screen After creating breakpoints you can control them from the upper portion of the dialog box For m
73. e List Window 8 View waveform information for selected signals by opening the 9 Wave Window and dragging and dropping scopes from the Hierarchy Browser View additional assertion and scope information by dragging and dropping HDL signals of interest from the Hierarchy Browser or Data Window to the Wave Window Designs with Assertions post processing The following steps outline the general flow for using DVE with assertions 1 For post processing using HDL and assertion source files run the appropriate simulator to create a VPD file This process integrates assertion data within the VPD file Note Use the VCS assert dve command line switch with the PP flag to enable SVA tracing in DVE If you do not enable SVA tracing assertion value changes will still be dumped into the VPD file and be visible in the Wave Window but assertion attempts cannot be traced otart DVE and open the VPD file Use the Hierarchy Browser to find an HDL signal or an assertion or use the Assertion Failure Summary tab to identify an assertion failure Populate the Data Pane and Source Window A single click populates the Data Pane A double click populates both the Data Pane and the Source Window Note that information displayed in the DVE panes windows is cross linked Overview 1 17 Overview 1 18 In the Assertion Window double click an assertion failure in the Assertion Failure Summary tab to populate the Assertion tab with da
74. e eee eee eee 1 2 Top Level Window 2 2 Be 1 2 DIAS OI PPP 1 5 SOULCE WINDOW uka ND earns a aea oio oo Sees eae 1 6 ASSETUON VVIDQOW us eee re wet bes ode dd See OE SCR BA 1 7 Wave WINdOW neni diio oes 6S Ge cai d EOD Eo eee es 1 8 EISE VVIDICIOW y sso 25 oie hoes Cee ey ELI da CERERI 1 11 Schematic WINDOW ua aeo a aea Re ae o c A av i etes 1 12 DVE USdge FIOWs sa desde E reto oF ede End ERO 1 14 Debugging VCS and VCS MX Designs 1 14 Designs with Assertions post processing 1 17 Key Terms and Concepts aa 1 19 2 Getting Started Enabling Debugging E ee ee 2 2 SANI VES cena sa tao PANA AD ANG He TERRE ENS Ve 2 3 Running a Quick Start Example leu 2 4 Table of Contents Opening a Database cc ee 2 6 Setting Up and Starting an Interactive Session 2 1 Running the Simulation aaa 2 9 Using the Hierarchy Browser aa 2 12 Expanding Scopes Individually luus 2 12 Expanding Multiple Scopes or by Level 2 13 Loading the Variable Pane and Source Window 2 14 Using Breakpoints in Interactive Simulation 2 16 LINC BreaKPOINIS 3 9 3 9 ew eos AA PANAY KAEN BA 2 16 LIne Time and Signal Condition Breakpoints 2 17 Viewing Assertion Data llle 2 19 Viewing Waveform Information 0 0000 eee
75. e in the Open Source File dialog box The corresponding data appears in the Source Window Assertion Failure Summar Assertion m ES T Check arb td arb tesi Open a single HDL source file O remote vtgcs steve Av a ee zs Open HDL files v vlg vl vr larb testbench top arbl arb checker arbiter ova ovz Maf 3m unit arb assertions logic clk logic 1 0 request logic 1 0 grant logic reset clock posedge clk WCOVERAGE RELATED OVAS i regi asserted req deasserted simultaneously event noreq Irequest 0 aa Irequest 1 iregi asserted req deasserted simultaneously event e req only request 0 amp amp lrequest 1 if gg asserted sir ly um Using the Top Level Window 3 45 Displaying Source Code from a File To use the Menu bar or Toolbar to load a specific HDL source file into the Source Window 1 Select Window New Source Window 2 Select File gt Open File The Open HDL File Dialog box appears 3 Select the name of the HDL file you want to display then click Open DVE loads and displays the selected HDL source file Using the mouse in the Source Window The table below describes mouse action in the Source Window Mouse Action Command Operations Click left Deselect the current selection and select a signal or an instance Drag left Area select for multiple selection Click on the line number Select the whole
76. e information about DVE and other Synopsys products refer to the following sections SOLV IT Online Help SOLV IT is the Synopsys electronic knowledge base It contains information about Synopsys and its tools and is updated daily Access SOLV IT through e mail or through the World Wide Web WWW For more information about SOLV IT send e mail to solvrtrtbesynopsys com or view the Synopsys Web page at http www synopsys com About this Manual Customer Support If you have problems questions or suggestions contactthe DVE technical support in one of the following ways e Send e mail to vcs_support synopsys com e Call 1 800 837 4564 1 800 VERILOG About this Manual About this Manual IV Overview Discovery Visual Environment DVE software is a graphical verification environment that supports debugging for VCS and VCS MX simulations This release of DVE allows you to work in post processing and interactive mode Using DVE you can perform the following tasks e Hierarchically expand and view HDL scope information related to assertions e Debug assertions e View log history and error warning information related to your analysis e Perform TCL tasks by executing scripts from the DVE graphical user interface or executing TCL commands or sourcing scripts through the command line interface Overview 1 1 Primary DVE Components Overview 1 2 This section provides an overview of the followi
77. e simulation forward in time as set by the Simulator gt Set Step Time command step Will step into task and functions TH Next For VHDL code next steps over tasks and functions Annotate Values Displays the active scope signal values atthe current time in the Source Window List Window Opens a new List Window Source Window Opens a new Source Window Wave Window Opens a new Wave Window Schematic Window Opens a new Schematic Window Path Schematic Window Opens a new Path Schematic Window Using the Top Level Window 3 24 Icon Description Click button to activate the help cursor k then click on screen item to display help for the selected item DVE Help 2 Runs an example DVE session Quick Start Example Managing DVE Windows A DVE top level window is a frame for displaying design and debug data A top level can contain many any number of DVE windows and panes You can choose to display data in one or many DVE windows and panes by setting defaults see the previous section using the status bar window controls or docking and undocking windows as you work Displaying Data in a New Top Level Window A red circle in the status bar window control icon in the lower right corner indicates a new window of that kind will be opened in the currently active top level window To open a window in a new top level window click the icon representing
78. e the Breakpoints dialog box to create breakpoints in an interactive simulation To create a line breakpoint 1 In the Source Window line attribute area or from the Simulator menu right click and select Set Breakpoints to display the Breakpoints dialog box Figure 3 18 Using the Top Level Window 3 56 Figure 3 18 Displaying the Breakpoints dialog box Breakpoints Enable Disable Delete 2 Click Define to display the breakpoint creation tabs Figure 3 19 Using the Top Level Window 3 57 Figure 3 19 Creating Breakpoints Enahle ID Type Breakpoint ile traffic bind v Cline 60 instance th dr tile traffic bind v line 60 instance th dr file traffic bind line b3 instance tb dr file traffic bind line b5 instance tb dr file traffic bind line bb instance tbh di AM Ense Disable Delete Line Time Signal Break in file traffic bind v Browse at line 71 t Break in instance fto dut Frequency i Once C Repeat I I 4 Xl repel pene e det TE Update Create Clear Define a Tips gt gt 3 With the Line tab selected enter the file name or browse to the file where you want to create the breakpoint 4 Enter the line number for the breakpoint 5 Enter the instance where the breakpoint will fire 6 If you want the breakpoint to fire only once select Once for the Frequency otherwise select Repeat Using the Top Level Window 3 58 7 Y
79. ect Create Bus to include the selected components When creating a new bus or editing an existing bus you can drag signals into the components list from the Waveform Window and Hierarchy Browser You can also use the toolbar commands to modify the components and their order Using Bus Builder This section describes how to use Bus Builder to create and modify a bus Creating a Bus To use Busbuilder to create a bus do the following 1 In the Wave Window Signal Pane you select signals and buses to include in the new bus Or Select no signals You can choose components later 2 Right click in the Signal Pane or select Signal from the menubar then select Create Bus The Bus Builder dialog box displays 3 Enter a name for the new bus 4 To add signals and busses to the component list Draganddrop components from the Wave Window Signal Pane or the Hierarchy Browser Using the Wave Window 4 27 Select components in the Signal pane select Edit Copy then click in the Bus Builder toolbar 5 Click OK to save the bus and display it in the Wave Window Modifying Bus Components You can edit an existing bus or modify the components and their order in a new bus using the Bus Builder toolbar 1 If you want to modify an existing bus select the bus in the Wave Window signal pane then right click in the Signal Pane or select Signal from the menubar then select Edit Bus 2 To add signals and busses to the com
80. el Window 3 16 Opens a new Wave Window for viewing Window signal waveforms and analyzing assertion results with relevant signal waveforms Arranges all open workspace windows so they are displayed in a cascade pattern Arranges all open workspace windows so they are displayed in a horizontal tile pattern Docks the selected window to the left wall of the Top Level Window Docks the selected window to the right wall of the Top Level Window Top Docks the selected window to the top wall of the Top Level Window Bottom Docks the selected window to the bottom wall of the Top Level Window Undocks the selected window from the Top Level Window Set Default If more than one Wave Window is being Wave used sets the most recently active one Window as the default when context sensitive menus are used Set Default If more than one List Window is being List Window used sets the most recently active one as the default when context sensitive menus are used Help Menu The following items comprise the Help menu DVE Help Opens Acrobat Reader with the DVE documentation Release Notes Opens the current release notes in a Source Window Using the Top Level Window 3 17 A Quick Start Loads an example design Example About Displays DVE version and copyright information Using the Top Level Window 3 18 Keyboard Shortcuts File Command Shortcuts Ctrl O open database Ctrl W close window Edit Command Short
81. election reference 3 5 opening database 2 6 OpenVera Assertions OVA definition of 1 20 origination of a message finding 3 70 D pasting text into Tcl command line 3 68 Periodic Waveform Update Interval command 3 11 Q Quick Start Example Toolbar icon 3 25 quitting DVE 2 28 R radix binary 4 6 hexadecimal 4 6 range of text selecting 9 3 rearranging column headings 3 38 Release Notes 3 17 Reload Database 3 5 Repeat Last Trace 3 15 repositioning Toolbar icon sets 9 17 repositioning docked windows 9 10 repositioning Toolbar icon sets 9 13 Restore State 3 11 right mouse button using 9 1 right click 9 6 Root icon 3 32 Run 3 10 Run Example Help menu selection 3 18 o Save Session File menu selection reference 3 5 Save State 3 11 scalar signal example 4 12 scalar signals 4 6 scanning messages at a glance 3 70 scope definition of 1 20 Scope Types example 3 29 Scopes example 3 29 scopes dragging and dropping 9 4 selecting 9 3 Search Backward 3 12 Search Forward 3 12 searching in the Waveform pane 4 20 Select All CSM selection 9 7 selecting scopes 3 36 selecting scopes variables etc 9 3 sequential range of data selecting 9 3 Set Continue Time 3 11 Set Default Wave Window 3 17 Set Expression 3 12 Set Precision text field 3 22 Set Radix 3 12 Set Search Constant 3 12 set signal properties 6 9 Set Time text field 3 22 Setup 3 10 Shift Time 3 12 Show 3 13 Show Comparison Info 3 12
82. ematic of an open design in DVE note that your simulation needs to have be generated on the same platform you run DVE and you must have used the debug command line option to compile To open a display design schematics do the following 1 Select an instance from the Hierarchy Browser Using Schematics 7 7 7 8 2 o choose between opening the schematic in the current active DVE window or in a new window click Es to toggle the new window on and off 3 To view a schematic select Schematic New Design Schematic Window or E to view a design schematic The Schematic window displays the connectivity in the selected instance Figure 7 2 shows an example of a hierarchical schematic a simple adder Using Schematics Figure 2 Design Schematic DE TopLevel Console 1 DYE Console File View at ee Source Schematic Trace Window Help Testcases loo Ti dewes nmuum ies r zi Ci 4 i B clk 2 P fetch Z I Ina pao Z eload accum Pload ir Blpad pc mem read Pmem wr P not reset H B opcode 2 D i De Ferg comma ng ui use sc hematics mem wr mem read bad pc bad r bad acc inc pe DOS Loading db file u praduct avista 2 0 regress VOS7Jlibraries syn generic sdb 0 Estopped decoder Dx 100ps FEBE 4 Use the zoom tool to zoom into the design Using Schematics 7 9 5 Select Schematic Annotate
83. ets DVE Click on grab bar File Edit View Simulate Source race oe Ti O xj Minimized icon aA Hus ES ih To maximize a Toolbar icon set e Click the grab bar of a minimized icon set The icon set returns to its original position and size on the Toolbar Basic Navigation Techniques 9 16 To move an icon set to a different position on the Toolbar e Click on the grab bar of the icon set and drag it to any location on the Toolbar See Figure 5 14 Figure 9 13 Moving an Icon Da to a different location on the Toolbar File LT View source Schematic race Window Help REI e EITTIU ee F x Drag and drop icon set to different location on Toolbar ig x File Edit View Simulator Signal Source Schematic Trace Window arde alee mex af ja Sethe lt gt J 5 DBBMD Ib S88 Basic Navigation Techniques 9 17 Basic Navigation Techniques 9 18 Index A About DVE Help menu selection 3 18 Active Driver 3 62 Active Load 3 64 Active Scope 3 13 Add Fanin Fanout 3 14 Add to Lists 3 12 Add to Waves 3 12 Add to Waves CSM selection 9 7 Annotate Values 3 14 Architecture 3 14 Assertion 3 13 assertion attempt 1 19 Assertion Attempts 3 14 Assertion Failure Summary Pane 5 4 Assertion failures 5 4 Assertion Unit 3 34 Assertion Window 3 16 5 1 assertions definition of 1 19 displaying in Signal pane 5 12 displaying in Waveform pane 5 13 dragging and dropping
84. f there is room otherwise this information is truncated Figure 5 9 Waveform For An Assertion Working with Assertions 0 13 46400 46600 46000 4 000 47200 If you expand the assertion in the Signal Pane you see waveforms for the following e All the signals that are relevant for an assertion and the events that the assertion is made up of e Forthe result of the assertion with a success indicated by an green arrow and a failure indicated by an red arrow e Incomplete attempts display as white bars All incomplete attempts are at the end of the waveform for an assertion Figure 5 10 Displaying Assertion Data in the Wave Window 7500 8000 Name E Sag a rego followed by gnt a req followed by gnti a gnt must be preceded hy a gntl must be preceded hy a a both asserted gntt clk event last grant last grant grant 1 0 request 1 0 e both asserted gnt MEEEBESF S SgjU E d A a both asserted gnt 10000 20000 30000 40000 pi 4 J KI FIE Working with Assertions 5 14 Navigating Source Code DVE provides a source code navigation facility to aid in debugging To display code related to an assertion attempt 1 Double click an assertion attempt in either Assertion Window tab see Figure 5 11 Figure 5 11 Select an assertion attempt DYE Assertion l l File View Help lo es First Fail Ended i First Fail Started Assertion 10 O Check test risc1 alul al
85. ged state you could expand time 800 to show the sequence of signal changes Delta Cycle is also useful when investigating glitches or race conditions where a signal may change multiple times within one sample time Delta Cycle Recording for Verilog Enable reporting of delta cycle information in the VCD file using the Svcdplusdeltacycleon system task to use this function in post processing mode Displaying Delta Cycles 8 1 8 2 The Svcdplusdeltacycleon system task enables reporting of Delta Cycle information from the VCD file This must be followed by the appropriate vcdpluson vcdplusoff commands The vcdplusdeltacycleoff system task turns off reporting of Delta Cycle information starting at the next sample time When running in interactive mode you go to the time of interest or search a signal for a value change Then select Expand Time to view the delta cycle Delta Cycle Recording for VHDL You can enable the capture of delta cycle information before simulating your design and not during runtime To capture delta cycle information set the VPDDELTACAPTURE variable to ON or OFF default is OFF in the synopsys vss setup file or use the command line switch vpddeltacapture on off when simulating When viewing the simulation results in the waveform window you can observe changes at the delta cycle level by pointing at a signal transition with the mouse and using the right mouse button A popup menu appears select the
86. gt 4154304 Z3 22 iin 104 z n mask 2 0 Wire misc2 meginieyidve_examples bencharbiter Base v 41 Iv Reuse Dl seed 31 0 Reg amp Bases commanctgui_list_action id Hier 1 arbiter 213 tbarb inst commandsgui list select id Hier 1 arbiter Zt 3 th arb inst arbiter 2t 3 tb ok commanctgui_list_action id Hier 1 arbiter 213 tb commands 1 arbiter 2t 3 tb arbiter 2t 3 tb E stopped root Ox ins SMBAT Getting Started 2 15 Using Breakpoints in Interactive Simulation When you are working in an interactive session you can set breakpoints to stop a running simulation at specified lines times or signal conditions This section describes using DVE to create view edit enable disable and delete breakpoints Note To use line breakpoints you must have compiled your design using the debug a11 compile time option Line Breakpoints When you display code in the Source Window during an interactive session Source Window Breakpoint control commands become active and breakable lines are displayed with a green circle in the line attribute area Figure 2 8 1 To set breakpoints at selected lines of code select a line with a green circle in the line attribute area 2 Right click in the line attribute area then select Set Breakpoint A red circle replaces the green circle indicating the breakpoint is enables Figure 2 8 shows an active breakpoint at line 12 Getting Started 2 16 Figure 2 8 Lin
87. guage definition of 1 22 Verilog Named Begin icon 3 34 Verilog Named Fork icon 3 34 Verilog Task icon 3 34 View menu reference 3 7 VPD file closing 2 28 loading 2 6 W Wave Window 3 16 3 17 Waveform pane context sensitive menu 4 17 context sensitive menu CSM 9 9 cursors 4 15 Waveform pane using 4 1 Waveform Window dragging and dropping 9 4 overview 1 8 1 9 Window Menu reference 3 15 Z Window Toolbar 3 10 zooming workspace boundaries identifying 9 11 by dragging 4 19 IN 7 IN 8
88. ha St he St0 hl st hl 5t0 Lb SEU St 1 St 1 St 1 St 1 St 1 St 1 H B PE EE PE EE 2 PE ni 2 3 3 3 3 3 3 po 4 To save the data in ASCII format select File gt Dump select Tabular List or Event Based List then enter a name for the file Saving a Session Saving a session preserves all settings and data display options To Save your session Getting Started 2 26 1 Select File gt Save Session Save Session Look in icxrote misc2 moginley dve examples bencharbiter E sre sim daidir Casimv vdb ag crash11 12 11 09td session tel File name Filetype DVE Session Files FT toll Cancel Save only current view List 1 y In the Save Session dialog box enter a file name for the session oelect Save only current view to save only the current Lists window data 4 Click Save Loading a Saved Session To load a saved session 1 Select File Load Session 2 In the Load Session dialog box browse to the session and select it from the list of TCL files Getting Started 2 27 3 Click Load Closing a Database To close a currently open database 1 Do either of the following Select File Close Database Click the Close Database icon Ci in the Toolbar The Close Database dialog box appears See Figure 2 16 Figure 2 16 Close Database Confirmation Dialog Box NS Im Close Database Database n
89. heck GT top ud Ad outp1 z inplllinpz Assertion Failure Summary amp ssertions The following occurs e The Assertion tab of the Assertion Window is populated with data describing all assertions in an assertion unit or HDL scope e Inthe Top Level Window the Hierarchy Pane displays the associated unit or HDL scope that contains the assertion e The Variable Pane displays the HDL variables corresponding to the unit or scope This is not specific to the assertion i e it may contains more signals that are used in the assertion e Up to three source windows may be displayed one for the HDL source one for the bind source and one for the OVA definition source Working with Assertions 5 5 e The Wave Window opens and displays the selected assertion centered on the failure The cursors mark the start and end time of the selected assertion with the area between the cursors grayed A green circle indicates a signal value at a specific time that contributed to successful sub expression in the assertion A red circle indicates a signal value at time that caused a sub expression to fail A sub expressionfailing may result in the overall assertion failing Using the Assertions Tab After you have selected an assertion failure in the Assertion Failure Summary tab or from another window the Assertions tab is populated with tabular data for all assertions in the assertion unit of a selected failed OVA or SVA assertion as well as the
90. hen you expand a time in a Wave Window a delta cycle area is inserted into Wave pane at the selected time Figure 8 1 shows the signalinc pc changes value twice within time 100 The order in which the displayed signals changed is also shown Displaying Delta Cycles 8 4 Figure 8 1 Delta cycle in the Wave Window File Edit View Signal Trace Help TT ING po stl fetch cat reset Si load pesto reset rat mem rti eload i cot a clock2 St s data 7 18 hz2 zero S ouu 1000 1500 a LT E A PF Ka Note Delta cycle waveform areas do not zoom When you select a expand a time in a LIst Window a delta column displays the change values and the signal and data lists expand to display the details Figure 8 2 shows time expanded at 100 The view can be scrolled right to review value changes Displaying Delta Cycles 8 5 Figure 8 2 Delta cycle in the List Window File Edit View Signal Help jely mmx al test rise address 4 0 4 test rise resets test riscl dlockz test riscl ireglo 17 test risci accum 0 x test riselload pe testrisci data 0 test rise test rise loac_accum test risci reset reqo test riscl zero test riso 1 ps test riscl ina pos test riscl mem reads test riseliregni a sjq tes delta test rise fetch test risci load ira test risci dbevt S AQO e h 0 SI Sto SI S0 0 S0 Sto S0 SU Shxx Sti 4nd a 10 SAO s h 0 SO Sto Std StO S
91. his menu to copy selected portions of text or select the entire text in the Source Pane If you right click over the Signal Name left column of the Waveform Window the menu shown in Figure 5 5 appears Basic Navigation Techniques 9 8 Figure 9 5 Context sensitive menu over the Signal Pane E Sul RESET REG EVENT ES Show Source GLITCH amp Delete TN GLITCH MESES GLITCH Collapse GLITCH Edit Signal Range RESET F Signal Groups iQUTT set Radis If you select this option DVE will display the Source Pane corresponding to the selected signal If you right click over the Waveform Window the menu shown in Figure 5 6 will appear Basic Navigation Techniques 9 9 Figure 9 6 Context sensitive menu over the Waveform Pane do Cut Copy EB Paste x Delete aet search Constraint signal Value 4 Search Backward Search Forward Zoom x Create Marker Markers tureinie iiime ite zie e Wine ite zie eim Al You can use this menu to set various waveform display characteristics See Chapter 5 Using the Waveform Display for Using Docked Windows Docked windows include all DVE windows You can reposition these windows anywhere within the workspace boundaries of the DVE Top Level Window or anywhere on your monitor screen outside the Top Level Window oee Figure 5 7 for an example of docked windows inside workspace boundaries Basic Navig
92. hold down your left mouse button to select a scope variable or assertion 2 Dragthe selected scope variable or assertion to the Signal Pane of the Waveform Window and release your mouse button The selected data displays in the Waveform Window Basic Navigation Techniques 9 4 Figure 9 1 Dragging and Dropping Data into the Waveform Window Estest il u product avista 2 0 dev examples ova risc sauroe M me ES 4 2 timescale 100ps 100ps E A gl module monitor h G reg glitch in glitch ind i wire glitch o ut a reg glitch control a mybufit1 glitchy butliglitch out glitch ini glitch control L r1 glitchy but2fglitch out glitch ind glitch control Drag and drop LL assertion from the Source Window to the Signal Pane in the Waveform Window 2 Waveform Window displays data File Edit View Signal Trace Help MIE ar Q By Any Edge gt Name a SG2 a req followed by gnt H H a regi_followed_by_gnt a gnt0 must be preceded by a_gntl_must_be_preceded_by a a_both_asserted_gnt0 alk event Basic Navigation Techniques 9 5 Using Context Sensitive Menus Context sensitive menus appear on your screen when you right click on various areas within the DVE Top Level Window If you right click anywhere over the Menu bar or Toolbar the menu shown in Figure 5 2 appears Figure 9 2 Context sensitive menu over the toolbar oly Time
93. idata DIN assert o datas same check datas 5 assert o aluout change accum che oo HA CD n a CJ Dn alu out 1 accum layout change accum Right click in code area to display source code menu options ap Copy se Wine We bo Parent Wave Dov Gr SETTE OT Show B Show Schematic BW Show Path Schematic B Add To Waves Add To Lists Expand All Collapse All Ef Edit Source Aa Edit Parent E fe Annotate Values set Radix show Drivers and Loads Be Trace Drivers of Trace Loads Drivers Loads Velete Breakpoint At Pelete All Break ais tol Expanding and Collapsing Source Code View To expand or collapse the source code view do one of the following Click al in the Line Attribute area or right click and select Expand Source to view code that is folded Click El in the Line Attribute area or right click and select Collapse Source to hide code Using the Top Level Window 3 48 Graphically Viewing Source Code To graphically view source code 1 Drag your mouse across the text you want to select or double click on a token word DVE highlights the selected text 2 Holding the left mouse button down drag the code into the right pane of a DVE window the release the mouse button to drop the code into the window The selected code displays graphically A Drag and drop clock posedge clk selected code to a event El loutpl linpl inp2 DVE window Wave Window
94. igure 4 83 The Signal Pane SN Dok 340 reset ati 5 rc grant t 0 2 Click here n grant i ot L narant sta a D request 1 0 eh to expand 3 H D i810 x Using the Wave Window 4 5 The Display Radix The Signal Pane displays signals in groups Multiple signal groups can be viewed simultaneously in a wave window Click the plus sign to see the contents and click the minus sign to hide the contents of a group To divide signals into related signal groups right click and select Signal Groups gt Create Signal Groups ocalar signals have their value displayed in binary radix Vector signals have their values displayed in hexadecimal radix Integers reals and times are displayed in the floating point radix Expanding Verilog Vectors Integers Time and Real Numbers Vector signals can be expanded to their individual bits by clicking the plus icon to the left of the signal name After you expand the display each bit is added to the Signal Pane and waveforms for these bits are added to the Wave Window DVE represents integers in 32 bits so you can expand an integer in the Signal Pane to display separate waveforms for each of these bits oimilarly DVE represents the time data type with 64 bits and you can expand a time to display a waveform for each of these 64 bits You cannot expand a real data type Assertions can also be expanded Upon expanding an assertion its children will include the assertion clock and the
95. imulation Starts or terminates and restarts an interactive simulation with the current simulation setup See Simulate gt Setup Recompiles the design and starts simulation Stops a running simulator Continues running a simulator that was stopped Runs the simulator to the next executable line stepping into functions tasks etc Using the Top Level Window 3 10 Runs the simulator to the next executable line stepping over functions tasks etc Delete Breakpoint At Allows deletion of a specified breakpoint Delete All Removes all breakpoints Breakpoints Breakpoints Displays the Breakpoints dialog that allows viewing creating editing enabling disabling and deleting breakpoints Save State Saves the current state for later display Restore State Redisplays a saved state Terminate Finishes simulation and terminates the interactive simulator Capture Delta Cycle Saves delta cycle values Values Set Step Time Displays the Set Continue Time dialog box which allows you to set the time duration for continuing simulation for a specified time See Continue Periodic Waveform Allows setting of the value interval at which to update Update Interval display of waveforms Signal Menu The following items comprise the Signal menu Signal Opens the Signal Groups dialog box Groups which allows you to review and edit signal groups Create Signal Creates a signal group from selected Groups signals
96. ing 2 28 opening 2 6 Delete All Breakpoints 3 11 Delete Breakpoint At 3 11 de selecting scopes variables etc 9 3 Design Root icon 3 34 Display All Signal Groups 3 12 Display Signal Groups 3 11 displaying scope data 3 36 Dock Window menu selection 3 17 docked window minimizing 9 12 docked windows using 9 10 Drag and Drop definition of 1 19 drag zooming 4 19 dragging and dropping data 9 4 example 9 5 Toolbar icon sets 9 17 drivers and loads displaying 3 62 Dump Values 3 5 DVE exiting 2 28 starting 2 3 3 2 DVE Help Help menu selection 3 17 E Edit Bus 3 12 Edit menu reference 3 6 Edit Parent 3 14 Edit Source 3 14 Edit User Defined Radices 3 12 End View gt Go To menu selection reference 3 8 Entity 3 12 3 13 error and warning messages 3 68 Errors Warnings view tab 3 70 Execute Tcl Script Toolbar icon 3 22 Execute Tcl Script File menu selection reference 3 5 Exit File menu selection reference 3 5 exitingDVE 2 28 Expand CSM selection 9 7 expand and collapse definition of 1 19 Expand Path 3 14 expanding view of scopes 3 30 F File menu reference 3 5 File Toolbar 3 9 Filter Data View menu selection reference 3 9 Find Edit menu selection reference 3 6 floating tool palettes using 9 13 Forward 3 13 G Go To View menu selection reference 3 8 grab bar example 9 13 H hel Technical Support Center 1 iii Help Toolbar 3 10 hexadecimal radix 4 6 Hierarchy Pan
97. instance from the Hierarchy Browser then right click and select Show Schematic By default a new Schematic window opens in the main window as a tabbed window 2 Zoom schematic to fit window Using Schematics 7 16 3 Click the Annotate Values toolbar button in the Schematic window H E a T 1E4 EI File Edit Wew simulator Signal Scope Trace Window Help LE x mm Dis gy BR e Rm X af CEO Alle B 4v 9 CEFE 25 IER gp 5 E NU a ae Rama um m ET a DB E S p nyog BnB pet natc natc VWeugates 4 Select Schematic Window catagory 5 Select the signal with an X value The signal wire turns white whe selected 6 Select Trace gt Trace X Using Schematics 7 17 7 18 The x value is traced to its source signals making it easy to identify the signals that caused the X value Ji DYE TopLevel 2 Schematic i W2 gates o B File Edit view Simulator Signal Scope Trace Window Help lal x jl o xt gg Gi Ba Al 55 e 4 o w m sv em Bo CF tam Ennu AIAS RAFA NRA ti N2gates NIA Using Schematics Displaying Delta Cycles You can use the Delta Cycle feature in the DVE Wave and List Windows to display detailed value change data or delta cycles that occurred within single sample times If for example at time 800 you see that 8 signals chan
98. ion Techniques Using Mouse Buttons a 9 1 Selecting Scopes Variables Assertions and Text 9 3 Dragging and Dropping Data into the Waveform Window 9 4 Using Context Sensitive Menus llle 9 6 Table of Contents viii Using Toolbar Icon Sets as Floating Tool Palettes 9 13 Minimizing Maximizing and Moving Toolbar Icon Sets 9 16 Table of Contents IX Table of Contents X About this Manual This manual explains the use of Discovery Visual Environment DVE for running and debugging active simulations and historical records of simulations and where appropriate provides conceptual information to help you understand the application of DVE features This preface covers the following topics e Audience e Licensing e Platforms e Other sources of information e Conventions About this Manual Audience The DVE User Guide provides product description tutorial and reference information to help you use the DVE simulation debug environment The information in this document serves as a primary reference source and procedural guide for DVE users This guide assumes that the user has the following background e Working knowledge of hardware design languages HDLs the construction of designs verification tools and a working knowledge of HDL simulators The DVE licenses float and are independent of each other Other Sources of Information For mor
99. ion information in two Ways Note The Assertion Failure Summary tab displays assertion failures along with information such as start and end times of failures the delta the offending string the instance name and the assertion name e The Assertion tab shows all the assertions for a single scope The scope will be an OVA unit or an SVA scope An SVA scope is an HDL scope that contains SVAs Note Use the VCS assert dve command line switch with the PP flag to enable SVA tracing in DVE If you do not enable SVA tracing assertion value changes will still be dumped into the VPD file and be visible in the Wave Window but assertion attempts cannot be traced Working with Assertions 5 1 The two ways of populating the Assertion tab are Click a scope containing SVAs or an OVA Unit from the Hierarchy Browser in the Top Level Window Double click on a failure in the Assertion Summary Tab Once the Assertion Tab is populated with assertions it will list the statistics for all assertions as well as those that contain failures successes and incompletes as limited by the filter settings As with other DVE windows that display tabular information the tables on Assertion Window are customizable You can sort hide or expand columns or change column order Figure 5 1 shows the two tabs of the assertion window with signal information displayed Working with Assertions 0 2 Figure 5 1 Customizing the Assertion Window display
100. isplay 1 In the Top Level Window select Edit Preferences The Application Preferences dialog box displays 2 Inthe Categories pane select List Settings then click in the Wave item of the List Settings pane to expand the settings choices Figure 4 14 Application Preferences dialog box Application Preferences Categories Global Settings e Schematic Settings BE ist Settings Hierarchy m List Type Show Grid Full Marne Left lustify Mame Column P Column b Data E Mame Column M Column Lo Wave i Mame Column 5 walue Column Using the Wave Window 4 21 Comparing Signals Scopes and Groups You can compare individual signals with the same bit numbers scopes for comparing variable children buses or groups of signals from one or two designs To view a comparison 1 Select one or two signals signal groups scopes or buses from the Signal Pane of any DVE window 2 Todisplay the Compare Signals dialog box right click in the Signal Pane then select Compare from the context sensitive menu Figure 4 15 Waveform Compare dialog box Waveform Compare Compare selection Reference waveform Design Sim inter vpd Region ftest risc1 ireglo 4 1 est waveform Design Sim inter vpd Region Options Signal types Display only differences M Ignore X Ignore I Compare recursive Time tolerance Time EE 100ps
101. lay 4 In the Line column select colors for design elements Using Schematics 5 Tocustomize text size and style click the to display text selection options then select the desired options 6 To set value annotations select Value Annotations then click in the Catagories pane then select Value Annotations Application Preferences schematic Window Value Annotation Categories Global Settings Debug Settings Annotations Visibility Color Line Font p Browser Port Pin All x E set Font EET be Source Window Schematic Window Zl Value Annotation be Wavetorm Window List Window OK Cancel ently E Z 7 Select the Port Pin visibility color and font 8 Do one of the following Click OK or Apply to display your changes and close or keep the dialog box open Click Cancel to ignore your changes and close the dialog box Click Reset and choose Reset Current Category Reset All Categories or Refresh Dialog Using Schematics 7 5 Displaying Schematic Graphics The Schematic menu has commands for displaying schematics The following table lists commands Schematic Command New Schematic Action Opens a new schematic showing the contents Window of the currently selected scope New Path Opens a new schematic showing the currently Schematic selected path Window Move Down Displays a design schematic for the selected design instance in the active s
102. lbar icon set Basic Navigation Techniques 9 13 Figure 9 10 Grab Bars for icon sets on the Toolbar Time D x ins loo lg Gx d Grab Bars 2 Drag the icon set to any location on your screen then release your mouse button The icon set become a floating tool palette See Figure 5 12 Basic Navigation Techniques 9 14 Figure 9 11 Maneuvering Toolbar icon sets as floating tool palettes DE TopLevel Hier 1 request masked v request amp mask oM if igrant inde a6Oroot Root x int gt D ss lock SET Eee H n grant 2 0 DES ee aa arb_inst D Hm grant_index 1 0 Yu amp oC MNT P arbitrate granted grant index int Polk monitor H n lock 2 0 x locked v jPparameter f D lock ND 2 0 a o Pregister locked M Iarbiter 0 m r mask 2 0 e if granted i TEalent 0 rarb H mask MD 2 0 b0 upda M Edient 1 parked riorities v 1 E 3 L Hn nrinriu TRO granted v commarcbqui change design id Hier 1 design Sim ok commarkbgui list expand id Hier 1 Sim arbiler 2t 3 ib arb inst ok Two E zi Four EXIT c id Basic Navigation Techniques 9 15 Minimizing Maximizing and Moving Toolbar Icon Sets You can minimize maximize or move icon sets anywhere on the Toolbar To minimize a Toolbar icon set e Click on the grab bar of the icon set The icon set minimizes See Figure 5 13 Figure 9 12 Minimizing Toolbar icon s
103. le signal scope variable or assertion Sets an anchor point at the selected scope variable or assertion for range selection Select a range of text word Click and drag over the Selects and highlights a range of text range of text Sets an anchor point at the selected text for range selection De select all scopes vari Click left in another window Deselects all data ables assertions and text Select a sequential range of Select the first variable Selects and highlights all assertion scope or word data in the range press Shift and click left on the last signal Click left on the first variable scope assertion or word and drag your mouse over the data in the range Basic Navigation Techniques 9 3 Tm emis Ee ooo Toggle select individual Press Ctrl and click left on Selects or de selects the variables or scopes without a scope or signal scope variable or assertion de selecting you are pointing at without deselecting other variables Resets the anchor point when you want to select deselect multiple non contiguous ranges of scopes assertions and variables within the same list Dragging and Dropping Data into the Waveform Window You can drag and drop scopes variables or assertions from the Hierarchy Browser or Assertion tab into the Signal Pane of Waveform Window To drag and drop scopes variables or assertions for display in the Waveform Window 1 Depress and
104. lect the Debug category then deselect Docked Assertion Window Displaying Assertion Attempts in the Waveform Window You can display traces of assertion attempts in the Wave Window the same way you display signal waveforms by opening a Wave Window and dragging and dropping signals from the Hierarchy Browser and from a Source Pane However you can also use the Assertions Window to view traces of assertion attempts The following sections provide more information Working with Assertions 5 9 Viewing Assertion Failures When you open a design that contains failed assertions in addition to the Top Level Window displaying the design in the Hierarchy Browser DVE displays the Assertion Window with the Assertion Failure Summary tab This tab displays assertion attempts and the expression that is the reason for failure To display failed attempts in the Wave Window double click an assertion attempt in the Assertion Failure Summary tab Figure 5 6 Assertion Failure Summary Pane File View Help E Fail Ended First Fail Started Instance Foni ER 100 Check arb testhench top arbl arb checker food 750 100 Check arb testhench top arbl arb checker Ha 7 7 7 75 158 Assertion Failure Summary A amp ssertians Double click a summary item to trace the fallinFilter Time Range 0 MAX Attempts F3 0 1 0 4 The following occurs e Inthe Top Level Window the Hierarchy Pane displays the selected assertion e The V
105. lected assertion The Variable Pane lists variables in the OCA unit of the selected assertion and the assertions e The Assertion tab displays all assertions in the selected unit and information relating to each Getting Started 2 19 e The Wave Window opens displaying the selected assertion with the start and end time of the failure highlighted 1 To view assertion failure data do one of the following Drag the scroll bar to the left to view any columns not displayed To expand the window to show all columns select a corner or edge of the window and drag it 2 To customize the display do one or all of the following Click on a column header to sort the displayed information by the header Select the right edge of a column in the header and drag it right to make the column wider or to the left to make it smaller or hide the column Select a column header item and drag and drop it to change the order of the columns 3 Expand the display of assertions by clicking the icon Figure 2 11 Expanded view of assertions in the Assertions tab of Filter Time Range 0 TUOUUUDUUUD Attempls Mer sem edd e da STRESS IW m Wu Al e outp 1 inp Tine Failure 9000000000 9000000000 a Tas sertion Failure Summar Viewing Waveform Information You can view waveform data in the Wave Window Getting Started 2 20 e Waveform information as it relates to assertions e Waveform information for selected sig
106. line Double click on a signal name Trace the signal s drivers Double click on an instance Push down into the instance s definition module Double click on a module name Display the upper hierarchy and locate the module s calling statement Double click on an architecture Jump to the entity definition of selected enity name or jump to instance definition of the entity Double click on an entity After Jump to the architecture that was double clicked double clicking on an previously architecture Right click on a signal name Display a context sensitive menu Using the Top Level Window 3 46 Working with the Source Window Use the Source Window to e Expand and collapse code e Display line attributes e View and set line breakpoints for interactive simulation e Examine code while debugging e Drop code into other DVE windows e Launch a text editor to revise code Display Source Code Commands When working with the Source Window you right click in the code to display menus containing commands that control most functions Figure 3 16 shows the Source Window menus Using the Top Level Window 3 47 Figure 3 13 Source Window Menus B3 test riscl alul alul checker ful prai ductavistall 0 dev fex LEE DUI m ES BG logic logie U accum logic ul alu ut clock edge clk event data 01 data o h 1 event datas same data dataz event aluout change accum accum assert c data 01 check
107. llle 6 3 Loading a Session llle 6 4 Navigating Simulation Data cc eee 6 4 Viewing Data in the List Window 0055 6 4 Using Marke Sa is paaa aa De RE RN does erani es 6 6 Customizing the Display 0 a 6 7 Setting Preferences 0 0 0 ccc eee 6 8 Setting Signal Properties 0 0a 6 9 Comparing Signals c3 2 de tee MA MAAN a b oe e s 6 10 Savno eis IOPITIGUs s aca Arden o eae ew 008 Recto Baht Pise d 6 13 Table of Contents Vil 7 Using Schematics gu CT 1 2 Managing Schematic Displays se00see0see 7 3 Customizing the Display a 7 4 Displaying Schematic Graphics 0 00008 7 6 Using the Context Sensitive Menu 05 1 7 Opening a Design Schematic View 0 000s 7 7 Opening a Path Schematic View 0 00000 eee eee 7 10 Manually Tracing Signals 00 7 14 Following a Signal Across Boundaries 7 15 Tracing X Values in a Design 0 0c ee 7 16 8 Displaying Delta Cycles Delta Cycle Recording for Verilog lus 8 1 Delta Cycle Recording for VHDL 006 8 2 Delta Cycle Recording for Mixed Designs for VCS MX 8 3 Usma Deta CYCICS s a m aire oon he e Go ERR eC E NAN DA WAG 8 3 Expand and Collapse Times aaa 8 3 VIEW Delta Cycles s s acea rego MA MAK pecu ade bene edo e UMAGA 8 4 9 Basic Navigat
108. m breakableLines scope TB JPEG U ME RN 0 TB JPEG stopped TB_JPEOx 1ps siisigsesm ie Getting Started 2 5 If you select an example with assertions the Assertion Window also opens and displays the Assertion Failure tab as shown in Figure 2 3 Figure 2 3 Assertion Window displaying Assertion Failure Summary tab File Edit View Help c00 arbiter 2t 3 tb arbiter O f grant012 Ox 44050 Assertion Failure Summar x Assertions Filter Time Range O MAX Attempts F 3 2010 s Opening a Database In addition to the quick start example you can load and display any number of VPD files for post processing To open a database in DVE 1 Do either of the following From the Menu bar select File gt Open Database From the Toolbar click the Open Database icon g amp l Kg The Open Database dialog box appears Getting Started 2 6 Figure 2 4 Open Database Dialog Box E SvaBenchArbiter vpd inter vpd File name Po File type Database Files vpd vod dump Cancel Designator R2 Time range from Boo to In ts 2 In the Open Database dialog box browse and select the name of the VPD file you want to load 3 Enter or accept a Designator for your design 4 Enter a time range to load 5 Click OK DVE loads the selected VPD file Setting Up and Starting an Interactive Session In addition to loading VPD files for post processing you can also setup and
109. mation select a result in the Wave Window right click then select Show Compare Info and the Results Summary Report displays in the Waveform Compare dialog box Figure 6 6 Waveform Compare Summary Report Results summary Compare results Summary Reference test riscl mem_ write Test test riscl fetch Number of Signals Compared 1 Number of Values Compared 58334 Number of Differences Found 101 10 You can change the options then recompare Using the List Window 6 12 Saving a List Format After you have customized the display in the List Window you can save the format for future use To save the List Format do the following 1 Select File Save List Format to display the Save List Format dialog box 2 Enter a filename with a tcl extension for you format file 3 Select Save Using the List Window 6 13 Using the List Window 6 14 Using Schematics This chapter contains the following topics Overview Managing Schematic Displays Opening a Design Schematic View Note If you hold the cursor on a signal a tooltip identifies the signal as shown above Using Schematics 7 1 Overview ochematic views provide a compact easy to read graphical representation of a design View a design scope signal or group of selected signals and select ports to expand connectivity in relevant areas Explore the design behavior by analyzing the annotated values for ports and nets Note SystemVeriolg desig
110. me Step command step will step into task and functions Getting Started 2 9 Icon Description For VHDL code next steps over tasks and 1E functions Next Using Simulator Menu Commands After you start the simulation you can use menu commands to run and control the simulation Select the following commands to control the simulation Command Description Stop Stops the simulation Continue Continue until the next valid breakpoint monitor user interrupt or the end of simulation Step Move the simulation forward in time as set by the Simulator gt Set Step Time command step will step into task and functions Next For Verilog code next steps over tasks and functions Terminate Finishes simulation and ends the interactive session Getting Started 2 10 Using the Command Line Use the command line at the bottom of the DVE top level window to enter DVE and Unified Command Line Interface UCLI commands to run and control your simulation Figure 2 6 shows the command line where you enter commands with the results displayed in the Log tab above the command line Figure 2 6 Command Line with the Log tab E commands ok commanct 5ynopsys scope disab commancbsynops ys s how signals disab ports fullname type where value t disab t BASE I wire test_ucli2 v 5 z ready disah ready BASE I event test ucli2 v 4 1 number disab n
111. n constructs are supported in the ochematic Window in this release as a beta feature There are two types of schematic views in DVE design and path e A design schematic shows the hierarchical contents of a the design or a selected instance and lets you traverse the hierarchy of the design e A path schematic is a subset of the design schematic displaying where signals cross hierarchy levels Use the path schematic to follow a signal through the hierarchy and display portal logic signal effects at ports Note Your design must be compiled in the same version of VCS that you are currently pointing to in your session Using Schematics 1 2 Managing Schematic Displays This section describes toolbar and menu commands for Managing schematics Selecting and Zooming Graphics When viewing the schematic you use the scroll bars to move up and down and left and right in the displayed graphics You can also use toolbar and menu commands to select parts of the design to zoom in on or to copy or drag and drop into another DVE window The following table describes toolbar and menu commands Toolbar View Menu Action Command Command Selection Tool Prepares the cursor for selecting objects the default kg cursor Zoom In Tool Prepares the cursor for zooming in The cursor T becomes a magnifying glass Drag a bounding box around the area to enlarge Zoom Out Tool Prepares the cursor for zooming out The cursor EA becomes a magnif
112. nals of interest To display waveform assertion information e Double click an assertion of interest either in the Assertion Failure oummary tab or the Assertions tab The Wave Window appears and displays waveform data related to the selected assertion oee Figure 2 12 Getting Started 2 21 Figure 2 12 Viewing assertion data in the Wave Window si Fail Ended First Fail Started L Accertlon Failure SaaS WS Tu AA 5 SG PESCE ck Avent i Double click an an assertion in either of orant 1 0 request 1 0 Assertion tab e both asserted gnt i aa 4 10000 20000 0000 0000 pi EU gt Sh Z a gntl must be precede Related El a both asserted gnt waveform ERWEE data Failure 3850 4050 gr Failure 41150 412500 mi Emm O Assertion Failure Summary A ssertions To view waveform information for signals in the Wave Window 1 Open a Wave Window by selecting Window gt New Wave Window 2 Drag and drop a scope of interest from the Hierarchy Browser to the Wave Window Getting Started 2 22 Figure 2 13 Dragging and dropping signal data into the Wave Window zl Sim inter vpd MEE Hierarchy Type FL Froot Root The Design Sf farbiter 2t 3 t Module offfarb inst D Module Parbitrate Named Begin Polk monitor Named Begin P parameter Named Begin Pregister Named Begin eE arbiter Bm Module LEdient 0 arb Modufe
113. nd line Interface Tabs Console Log tab currently displayed Overview 1 4 Status Bar The status bar in the lower left corner of the Top Level Window displays information about your simulation Figure shows the information displayed in the status bar boxes Status Bar Figure 1 2 Status Bar The number of selected objects in the Hierarchy browser source window or schematic browser Target window selection icons The current scope of the Hierarchy browser source window or schematic browser 1 load accum decoder stopped decoder Ox 100ps e agli E Li The name of selected The current fime objects in the Hierarchy The current status of the design browser source code of the simulator window or schematic browser Overview 1 5 Figure Overview 1 6 Source Window In addition to viewing source code in the Source Window you can open multiple tabs or freestanding Source Windows You display HDL testbench and assertion source code by double clicking an item in a list or by dragging and dropping a signal or assertion from another DVE window 1 3 Source Window Code Display Line Attributes 15 qifndet sc subtracter h 2 16 jdetine sc subtracter h 17 18 include systemc h 15 20 SC MODULE sc subtracter EI ad public 23 sc inisc lw lt 32 gt gt ina a4 sc inisc lw lt 32 gt gt inb ad sc outisc lvi325 gt outx ab aT SC CTOR sc subtracter au ina ina 29 inbl inb
114. new location e Click the middle mouse button to deposit cursor C2 in the graphical display Similar to cursor C1 middle click somewhere else in the graphical display and cursor C2 moves to this new location To move cursors place the mouse cursor on the round cursor handle in the cursor area hold down the left mouse button and drag the cursor to the desired location You can click either the left or the middle mouse button in the waveform or cursor area to move C1 or C2 respectively The interval between the two cursors is always displayed in the marker header area Using the Wave Window 4 15 Figure 4 9 graphical display Cursors 00000 400000 600000 SOL As shown in Figure 4 9 the simulation time and the delta between the reference cursor C1 and cursor C2 is shown in the marker header area Markers differ from cursors in the way you insert and move them Like cursors markers display the delta between the reference cursor C1 and the marker To insert a marker you can use the Markers dialog box see Using The Markers Dialog Box on page 4 18 or do the following 1 Right click in the graphical display This brings up the context sensitive menu CSM for the graphical display as shown in Figure 4 10 Using the Wave Window 4 16 Figure 4 10 graphical display CSM Trace 4ssertion Attempt 4 Search Backward Search Forward A Zoom In c Zoom Out amp Zoom Full Zoom to Cursors zi Create
115. ng briefly describes UCLI commands Halts evaluation of a macro file Creates an alias for a UCLI command change Deposit a value on a variable The tool may override this value eee Provides a unified interface to call both verilog vhdl task proc Displays default settings for user s variables Display a list of signals that drive the indicated signal dump opecify value dump information files scopes variables depth to dump rade dumping etc over the course of the tool processing senv Display the environment array or query an individual array element expr This command displays the result of a VHDL evaluating expression Finish end processing in the tool force Force a value onto a variable Activity in the tool does not override this value Return the current value of the specified variable Using the Top Level Window 3 72 help listing loads memory next onbreak onerror pause release restart restore resume run save Scope Show U 2 stack Display information on all commands or the specific command requested List n lines of source on either side of the tool active location If no number is entered listing shows five lines on either side of the active location Display the loads for the indicated signal for VCS only no VHDL support Loads or writes memory type values from or to files For VHDL code next steps over tasks and functions For Verilog nex
116. ng core components of DVE Top Level Window oource Window Assertion Window Wave Window List Window Schematic Window Top Level Window The Top Level Window is a frame that can contain the other windows A Top Level Window has menus toolbars and statusbar From the Top Level Window you can Use the Menu bar Toolbar and Status Bar to run and interact with a simulation or open view navigate edit and close a design database and set the target for new panes and windows containing source code waveforms schematics and ASCII data You can specify analysis and search parameters invoke TCL scripts run examples and access Help Use the Hierarchy Browser to view expand and select scopes of interest for display in a Waveform Window e View and filter signal information Double click a signal of interest to view source code or drag and drop it into another DVE pane or window Dragging and dropping is supported in the Data Pane oource Wave List and Assertion windows e View HDL or Assertion source code in the Source Window or in multiple Source Windows e View assertion failures and history e Perform TCL tasks by executing scripts from the DVE graphical user interface or executing TCL commands or sourcing scripts through the command line interface e Activate any open DVE window or pane regardless of where it is in the desktop window stack e Access DVE windows such as the Waveform Window and List Window to debug
117. ng of a signal Repeat Last Trace Follow Signal performed with the Follow Signal Command Trace X Window Menu The following items comprise the Window menu Console Pane Opens a new Console Pane for entering TCL commands viewing command logs and assertion first failure results summary if one is not already open Using the Top Level Window 3 15 Hierarchy Pane Opens a new Hierarchy Browser for traversing design and verification hierarchy if one is not already open Assertion Opens an Assertion window if one is not Window already open List Window Opens a new List Window or viewing signal waveforms in tabular format and analyzing assertion results with relevant signal waveforms if one is not already open Source Window Opens a new Source Window outside of the Top Level Window for viewing source files Wave Window Opens a new Wave Window for viewing signal waveforms and analyzing assertion results with relevant signal waveforms Schematic Opens a Schematic Window Window Path Schematic Opens a Path Schematic Window Window Console Hierarchy Data Displays the selected pane in the active top level window Assertion New Opens a new Assertion window Assertion Window New List Opens a new List Window for viewing Window signal waveforms in tabular format and analyzing assertion results with relevant signal waveforms if one is not already open Using the Top Lev
118. number of successes and attempts for all assertions and data describing failed assertions The display of failures successes and incomplete attempts is determined by the filter settings see the section Customizing the Display for more information Figure 5 3 shows an Assertions tab with the filter set to show 3 successes and 3 failures for each assertion if they exist Figure 5 3 The Assertions Tab of Filter Time Range 0 ee Attempts ee dy S 0 UON ERE n m Wu Al mr allure Ci outp1 inp 1 inp2 Failure2 3000000000 9000000000 UPIN ina sertion Failure Summar Working with Assertions 5 6 Figure 5 4 To expand the data click the sign next to an assertion name Figure 5 5 The Signal Pane lH File View Help arb testbench toparbl arb che arb testbench toparbl arb c arb testbench top arbl arb ch amp arb testbench top arbl arb che p arb testbench top arbl arb cher E arb testbench top arbl arb che lark heh top ar The display shows failure Click here to expand and success data p File View Help arb testbench tob arbi arb checker a reg followed by gnt arb testbench tgp arhi arb checker a regi followed by gnti arb testhbench Jop arbl arb checkera gnt must be preceded by req arb testbench top arbl arb checkera gnti must be preceded by req HH H A El arb Benea ops arbi arb checker a both asserted gnti Failure 750 grant 0 Failure 23850 g
119. oints in Interactive Simulation 3 56 Creating Line Breakpoints llle 3 56 Creating a Time Breakpoint ellus 3 59 Creating a Signal Breakpoint 0000005 3 60 Enabling Disabling and Deleting Breakpoints 3 61 Displaying Drivers and Loads 0 000 eee 3 62 Displaying an Active Driver llle 3 62 Displaying an Active Load 2 0 00 es 3 64 Displaying Memory 00 eee ee eee 3 65 Customizing Memory Display llle 3 66 Using the Console 0 00 eee 3 67 LOG VIEW FC 3 68 HISLON VIEW ous Chee oes bee eee a i eee Sood 3 69 Table of Contents V Errors Warnings View llle 3 70 Command LING 424 6 ak betes eee He theese AE an rire 3 72 4 Using The Wave Window Viewing Waveform Information aa 4 2 Setting Wave Window Preferences 4 4 Using the Signal Pane 2 4 5 ENE DIS PIAV EOD 3 naa Bahan eee Geet eRe POR Wong GANG 4 6 Expanding Verilog Vectors Integers Time and Real Numbers 4 6 Using User Defined Mnemonic Radices 4 7 Creating a User Defined Radix 000008 4 7 Managing User Defined Radices 4 8 Importing and Exporting a User Defined Radices 4 8 Setting Signal Groups aaaea ees 4 9 Using the Waveform Pane 0 00 cee eee eee 4 10 How The W
120. om a menu or dialog box or on the TCL command line is added to this command list You can copy text from the History view command list and paste it at the TCL command line by selecting the text with your left mouse button and pasting it with the middle button Press the Return key to execute the command You can use the Up Arrow and Down Arrow keys scroll through the command list oee Figure 3 25 for an example of History view Figure 3 25 Copying commands from History view Am Ib 1 2388 Bj a 20 Icommandsgui sq create a l gui sg create 22 qui list select id Hier 1 arb testbench top arbl arb checker arb testbench top 24 qui list action id Hier 1 arb testbench top 24 aui list select id Hier 1 arb testbench top arb testbench top arbl arb checker 22 qui list action id Hier 1 arb testbench top o set filelD open devinull w 0600 puts filelD qui create window type Wave parent qui qt az gui list action set filelD open dewnull w 0600 puts FfilelD gui create window type Waw okd Hier 1 arb testbench tonl hd 4 k Log AHistory AErrorsMfarninas ommand l gui list action id Hier 1 arb testhench top Paste at command line select text using middle mouse button Using the Top Level Window 3 69 Errors Warnings View The Errors Warnings view displays error and warning messages without including the comprehensive information provided in the Log view transcript This enables you to
121. on signal scope or bus Note If you are comparing two designs from root then the reference region and test region can be empty In the Test Waveform area select the test design and the test region If you are comparing two designs from root then Reference Region and Test Region can be empty Select Only Display Differences to display only those results that do not match in the Wave Window In the Options section you can choose one or both Ignore X and Ignore Z can be selected to ignore For example if you select Ignore X ifthe reference signal value is X there is always a match whatever the values of the Test Signal Choose signals to compare by selecting one or all of In Port Out Port Inout Port and Signals Click Apply to start the comparison and keep the dialog box open Or Click OK to start the comparison and close the dialog box you can open it at any time from the Signal Pane context sensitive menu Results display in the current Wave Window Using the List Window 6 11 Figure 6 5 Compared Signal Groups in the List Window m DVE TopLevel 3 List 1 I r File Edit View Simulator aa scope Trace Window Help Testcases er kts elem xlal a EET CT PET TI LOT Ls Hew Group test ecl men write lt gt test risel fetch test riscl mem_write lt test risel load_ir 100ps mismatch match mismatch mismatch pil Ook NA NA Haba 9 To review comparison infor
122. ore information on using breakpoints see Chapter 3 Managing Breakpoints in Interactive Simulation Getting Started 2 18 Viewing Assertion Data If your design contains assertions the Assertion Window displays when you start a simulation or load a database The Assertion Failure summary tab displays assertion failures and data describing any failures Figure 2 10 shows the tab with failures listed Note Use the VCS assert dve command line switch with the PP option to enable SVA tracing in DVE If you do notenable SVA tracing assertion value changes will still be dumped into the VPD file and be visible in the Wave Window but assertion attempts cannot be traced Figure 2 10 Assertion Failure Summary Filter Time L 0 10000000000 7000000000 7000000000 7000000000 7000000000 7000000000 7000000000 7000000000 7000000000 000000000 7000000000 7000000000 000000000 check O Check O Check O Check O Check O Check O Check VI top UT1 u5 VI top We ub V 1 top il uz v 1 top ig uz V 1 top ul V 1top u3 GT top ud zie Fail REL First Fail i Offending outp1 nplllinpa outp1 2 nplllinpa outp1 nplllinpa oautp1 2 nplllinpa outp1 nplllinpa outp1 z nplllinpa outp1 2 inp1llinpa mam eme eI fee fee eI Assertion Failure Summary amp ssertions To view an assertion of interest double click the assertion in the tab The result is e The Hierarchy Browser scrolls to the se
123. orm Pane This chapter covers the following topics e Using the Signal Pane e Using the Waveform Pane For information on using the Wave Window to view and debug assertions see Chapter 5 Working with Assertions Using the Wave Window 4 1 Viewing Waveform Information To view waveform information for signals in the Wave Window 1 Open a Wave Window by selecting EX in the toolbar or View gt Wave Window 2 Select a scope of interest from the Hierarchy Browser Variable pane Source Window List Window Schematic Window or Assertion Window to the Wave Window then right click and select Add to Waves Or In the Hierarchy pane or variable pane 1 Select a signal or variable in the list 2 Right click and select Add to Waves from the context sensitive menu Or In the Assertions Failure Summary tab double click on an item in the list Figure 4 1 shows the Waveform Window with signal information Using the Wave Window 4 2 Figure 4 1 The Waveform Window Im DVE TopLevel 2 Wave 1 ES File Edit View Simulator Signal Source Schematic Trace Window Help II a aang NEE EN ANN E IESSE SE CA AK 7 gx le Any Edge Name Value a O default D default i b H B grantin I pre lock Pana a pre lock l b DA ITI ee 0 MA NA EBANA oignal Pane 400000 600000 600000 r Waveform Pane Using the Wave Win
124. ou can optionally enter a condition to be met for the breakpoint to fire 8 Click Create The breakpoint is created and appears in the breakpoint list box Creating a Time Breakpoint To create a time breakpoint 1 In the Source Window line attribute area or from the Simulator menu right click and select Set Breakpoints to display the Breakpoints dialog box 2 Click Define to display the breakpoint creation tabs 3 Select the Time tab Figure 3 19 4 Inthe Time tab select Absolute or Relative time then enter the time at which to set the breakpoint Figure 3 20 Figure 3 20 Breakpoint dialog box Me tab Using the Top Level Window 3 59 5 Click Create The breakpoint is created and appears in the breakpoint list box Creating a Signal Breakpoint To create a signal breakpoint 1 In the Source Window line attribute area or from the Simulator menu right click and select Set Breakpoints to display the Breakpoints dialog box 2 Click Define to display the breakpoint creation tabs 3 Select the Signal tab Figure 3 19 4 n the Signal tab enter the desired signal Figure 3 21 Figure 3 21 Breakpoint dialog box Signal tab 5 Select Any Rising or Falling Edge to define the breakpoint event 6 Enter the signal ID to trigger the break Using the Top Level Window 3 60 T Click Create The breakpoint is created and appears in the breakpoint list box Enabling Disabling and Deleting Breakpoints
125. ponent list Draganddrop components from the Wave Window Signal Pane or the Hierarchy Browser Select components in the Signal pane select Edit Copy then click in the Bus Builder toolbar 3 To delete components select the components in the component list then click Mi in the Bus Builder toolbar 4 To move components up or down in the list select one or more components in the component list then click or 3 in the Bus Builder toolbar Using the Wave Window 4 28 To reverse the order of components relative to each other select two or more components from the component list then click D in the Bus Builder toolbar Click OK to save the bus and display it in the Wave Window Shifting Signals You shift a signal by creating a new signal based on a time shifted signal 1 2 3 Select a signal in the Wave list Select Signal5Shift Time to display the Shift Signal dialog box Enter a positive Tme Offset to shift the signal to the right or a negative number to shift to the left in the Waveform pane Time Offset 10 x 100ps signal Namets fest riscl datal 0 New Mames ftest risc1 data 7 0 5510 Cancel Apply Reset Tips gt gt The signal displays with the original signal name followed by the time offest In the above that is test1 risc daata 7 0 2 10 Using the Wave Window 4 29 Using the Wave Window 4 30 Working with Assertions The Assertion Window displays tabular assert
126. r select Delete in the Marker List dialog box Or Select View gt Delete Marker then select the marker from the list Customizing the Display This section covers the following topics e Setting Signal Properties Using the List Window 6 7 Setting Preferences You can customize the list display to e Turn on off grid lines e Truncate signal names e Display signals by levels opecify the space between columns To customize the display 1 Select Edit Preferences The Application Preferences dialog box displays 2 Inthe Categories pane select List Settings Figure 6 3 Application Preferences dialog box Application Preferences List Window Categories Global Settings Debug settings T Show grid Hierarchy Browser FE te T Data Pane Source Window Show signal name by level Al Schematic Window Value Annotation Minimum spacing between value columns 2 Waveform Window List Window ok Cancel Apply D Using the List Window 6 8 select or deselect Show Grid Full Name and or Left Justify checkboxes Click Apply to view your changes and keep the dialog box open or click OK to apply your changes and close the dialog box Click Reset to reapply the defaults Setting Signal Properties To customize signal display you set signal properties for individual signals 1 2 select a signal in the Signal Pane oelect Signal Signal Properties to display the
127. r compiler version enter the following on the command line ld V The system returns your linker version for example ld Software Generation Utilities Solaris Link Editors 5 8 1 283 e Use the gcc C compiler when compiling your design For example VCS eassert dve PP sverilog a v Ld goce Using the Assertion Failure Summary Tab When you open a design that contains assertions DVE displays the Assertion Window even if all the assertions pass If the design contains failed assertions the Assertion Failure Summary tab displays the a number of failed assertions dependent on filter settings This scrollable tab displays assertion failures along with the expression that might be the reason for the failure Working with Assertions 5 4 The Assertion Window is interconnected with other DVE windows To display failed attempts in other DVE windows double click an assertion attempt in the Assertion Failure Summary tab Figure 5 2 Assertion Failure Summary Tab Filter Time Range 0 10000000000 irs Fail ires First Fail B Offending Witop Wd ua outod inp 1 inp2 7000000000 7000000000 0 Check Vi ctop ua ub T cutp1 finp 1 inp2 7000000000 000000000 0 Check Vitopilu2 Al cutp1 finp 1 inp2 7000000000 7000000000 0 Check Vitopidu2 Al cutp1 finp 1 inp2 7000000000 7000000000 0 Check M 1 top ul AT outp1 nplllinpz 7000000000 7000000000 0 Check V 1 top u3 Ad cutp1 finp 1 inp2 7000000000 7000000000 0 C
128. rant 0 grant 0 SUCCESS hi SUCCESSA 150 sUccess3 call arh tecthench tan arhd arh checker a melo ane narant at monct aller Working with Assertions 5 7 To view assertion data in another window you can drag and drop assertions of interest to a Source Window or a Wave Window Or you can right click and select Show Source to view the selected assertion in a Source Window Customizing the Display Setting Filters You can set filters to control the data displayed in the Assertions tab 1 Select View gt Filter Data to display the Filter dialog box Filter Assertlons E mi Tips Apy Reset 0k Cancel 2 Inthe Filters pane select the Assertions as the type of data to filter 3 To set time filters Working with Assertions 5 8 Select the checkbox next to Show data from an end time of and enter a time to begin displaying assertion data Select the checkbox next to Show data up to an end time of and enter a time to stop displaying assertion failure data 4 Tofilter by results select or enter values for the number of failures successes and incomplete attempts to display 5 Click Apply to view your changes and keep the Filter dialog box open or click OK to apply your changes and close the dialog box 6 Click Reset to reapply the defaults Opening Assertion Display in a Top Level Window To view assertions in a top level window by defualt select Edit Preferences se
129. reports and other DVE output 5 Use the up and down arrows to set the maximum number of log lines displayed 6 Select and deselect the check boxes to set other global preferences 7 Click OK to save your selections and close the dialog box Using the Hierarchy Browser The Hierarchy Browser enables you to navigate within the design hierarchy and locate and select scopes used for viewing variables assertions and waveforms in other DVE windows This section describes the basic techniques for using the Hierarchy Browser in a simulation analysis The following topics are covered e Navigating the Hierarchy Using the Top Level Window 3 28 e Scope Types and Icons e Using the Data Pane e Rearranging Hierarchy Information Figure 3 3 shows the appearance of the Hierarchy Browser loaded with a database Figure 3 83 Hierarchy Browser Hierarchy Type E The Design Scopes Lo COMPONENTS COMPONENTS Pa 5 BO SOLE HD PUDE Ef TEST TEST TESTARCH Entity Event ETEST PO TEST Po Process Event Scope ESTART VALUES START VALL Process Event EE MOMITOR MONITORARCH Entity Event Types PEGLITCHY BUF2 MYBUFIF 1 M Entity Cytte Object amp fEGLITCHY BUF1 MYBUFIF 1 M Entity Cycle definition 1E Pit Pi Processtevent name in FE Pot PO Process Event parentheses 7RISC1 CPU CPUARCH Entity Event BALUHALU ALUARCH Entity Eve EE PA P4 ProcessfEvent ECLKS CLOCKS CLOCKSARCHEntity Event PG
130. rtion A menu that pops up when you right click on a particular item The menu selections vary depending on the particular item you clicked Position your mouse pointer on a GUI object such as a signal or scope name press and hold down your left mouse button move your mouse to a different location then release the mouse button In DVE you can drag scopes and signals from one window or dialog and drop them into another window or dialog Click on a plus symbol to expand or a minus symbol to collapse a hierarchy tree Overview 1 19 Overview 1 20 OVA Pane Scope Verilog Scope VHDL OpenVera Assertions a declarative method that describes sequences of events and facilities to test for their occurrence Panes are sub windows within DVE windows that display specific types of information For example the Waveform Window contains separate panes for signal names signal values and signal waveforms In Verilog a scope is defined as any instance of a module task function or named block in the Verilog Hardware Description Language HDL source code In VHDL a scope is any instance of an entity architecture component The entity architecture component is analogous to a module in the Verilog language Blocks Packages Processes Procedures and Functions are also considered scopes SVA Variable or Signal Verilog oystemVerilog Assertions a declarative method that describes seq
131. s the cursor for panning the window view The cursor becomes a hand shape Point and drag to pan the View Bom Zoomsn2e o UU Zomo Zomsodix o Using the Top Level Window 3 7 Zoom Fit Selection Zooms to area selected with the Selection Tool Zoom Fit Highlight Zooms to highlighted area To Selection Pans to area selected with the Selection Tool Pan To Highlight Pans to highlighted area L see in Zoom and Returns to previous zoom or pan Pan History setting Forward in Zoom Goes to next zoom or pan setting and Pan History Named Zoom and Allows setting zoom parameters Pan Settings Zoom to Cursors Zooms wave display to cursors C1 and C2 LN to Time Zooms to specified time range n Set Time Opens Set Time Units and Scale dialog Scale box for setting display units and precision Time Range Allows setting upper and lower tiime Time ag window values in the List Window Delta Cycle Expand Time View delta cycle information at the selected time Collapse Time Close view of delta cycle at selected time Collapse All Close all expanded delta cycle displays Moves the display of the Wave Window s to the beginning of the Go to Beginning simulation Moves the display of the Wave Window s to the end of the simulation Using the Top Level Window 3 8 Ports and Signals Displays the Go To Time dialog box where you specify a simulation time When you
132. scan messages at a glance To locate the origination of a message in your session transcript you can double click the error warnings message DVE will then display the corresponding Log view If you want to remove the messages and clear the view click the Clear button in the CSM oee Figure 3 26 for an example of Error Warnings view Using the Top Level Window 3 70 Figure 3 26 Viewing the origination of an error warning message mu ui Bl GEN P X ou 242 Invalid command name commandsgul sg create a 58 Error unknown option set CMD O10 a 58 Error extra positional option filede CMD 012 4 29 lt 62 gt 4 Log History AErrors VWarnindgs commands gui list action sd Hier 1 arb testbench top Double click aU F error warning x pL message Error extra positional option Tile12 CMD 012 Error Required argument id was nat found CMD 00 7 Origination of ommani message appears in Log view 4 Log AHistory AErrors Warnings command gui list action id Hier 1 arb testbench top Using the Top Level Window 3 71 Command Line You can use the command line to enter Unified Command Line Interface UCLI commands and TCL 8 3 commands for debugging a design Tip You can enter multiple command lines if you separate the commands with a backslash character Note The followi
133. schematic displaying where signals cross hierarchy levels Use the path schematic to follow a signal through the hierarchy and display portal logic signal effects at ports Overview 1 13 Figure 1 9 Path Schematic DE TopLevel 2 Schematic root ES File Edit View Simulator Signal Scope Trace Window Help ae uw Ea xX al T reum ore ewes SOBEE Jr RAO RAVE KI L DVE Usage Flow Debugging VCS and VCS MX Designs VCS and VCS MX in Post Processing Mode The following steps outline the general flow for using DVE with VCS and VCS MX in post processing mode Overview 1 14 For post processing using VCS MX mixed HDL Verilog only or VHDL only designs run the appropriate simulator to create a VPD file See the VCS MX User Guide or the VCS User Guide for complete instructions etart DVE and open the VPD file Use the Hierarchy Browser to find an HDL signal Populate the Data Pane and Source Window A single click populates the Data Pane A double click populates both the Data Pane and the Source Window Note that information displayed in the DVE interface is cross linked Investigate the design results by doing the following View source code information in the Source Window Trace signal waveform information in the Wave Window View signal data in tabular format in the List Window View the design graphically in the Schematic Window and
134. t Sst Std Std SUO d he Stl 4h 100 O0 5h00 endo SO Sto Std SO SEO Sti Std SEO SO ohxx Stl 4 h0 100 2 SOO shoo SO sto Sto std SO Stl mU SO Stl hx Stl P RA 100 45 5 h D0 shoo Sto std stl Std m Stl S0 A0 Stl Shet PhO 100 48 5 h D0 shOO Sto Sti stl Std m Stl S0 A0 Stl Shet PhO 100 FO PS hoo shoo Sto SO stl S0 mU Stl S0 S0 Stl Shs Stl 4 h0 100 12 PS hOO s h Sto SO stl S0 m Stl S0 SO Stl ohez stl 4h 300 ShOO shod Sto SO stl SO SO Stl Sti SO Stl Phea sti PhO E 400 ShOO bh Std SO stl Std SO Stl Sti stl St bhe stl dh 500 5h00 gh Std SO stl Std SO Stl Sti stl St bhe stl Jho 600 ShOO shod Sto Sto S0 S0 SO Stl Sti Sti stl hed stl PhO FOO 5 h00 shod Sto Sto SO Std SO St Sti Sti stl hes stl dh 600 5 h00 shod SO SO stO Std SO St Sti Sti S0 bhe3 stl PhO 610 5 h 0 shoo Sto sto stO St SO Stl Sti Sti S0 bhe stl 4h 900 5h03 shod Sto SO SO SII mU Stl Sti stl S0 bhbastl dhe 1000 5h01 FROD Std SO stl Stl SO Stl SOS stl ohzz stl dhe 1100 5h01 shod Sto SO stl Stl SO Sti Sti SUO St ox St inc EI 1200 4 4 Zi You can collapse either all delta cycle regions or a selected delta cycle region To collapse all delta cycle regions right click anywhere in the Wave or Time Pane and select Collapse All Time from the CSM To collapse a single delta cycle region right click in the region to open the Waveform Pane CSM and select Collapse Time Displaying Delta Cycles Displaying Values in Wave Window Delta Cycle Regions With a selected time e
135. t assign sequential numbers to all copies These copies shall contain the following leg end on the cover page This document is duplicated with the permission of Synopsys Inc for the exclusive use of and its employees This is copy number Destination Control Statement All technical data contained in this publication is subject to the export control laws of the United States of America Disclosure to nationals of other countries contrary to United States law is prohibited It is the reader s responsibility to determine the applicable regulations and to comply with them Disclaimer SYNOPSYS INC AND ITS LICENSORS MAKE NO WARRANTY OF ANY KIND EXPRESS OR IM PLIED WITH REGARD TO THIS MATERIAL INCLUDING BUT NOT LIMITED TO THE IMPLIED WAR RANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Trademarks Synopsys the Synopsys logo Arcadia BINMOS CBA CMOS CBA COSSAP DESIGN ARROWS DesignPower DesignWare dont use EPIC ExpressModel in Sync LM 1000 LM 1200 Logic Modeling Logic Modeling logo Memory Architect ModelAccess ModelTools PathMill PLdebug RailMill SmartLicense SmartLogic SmartModel SmartModels SNUG SOLV IT SourceModel Library otream Driven Simulator Synopsys Synopsys logo Synopsys VHDL Compiler Synthetic Designs synthetic Libraries TestBench Manager and TimeMill are registered trademarks of Synopsys Inc 3 D Debugging AMPS Behavioral Compiler CBA Design System CBA Frame chara
136. t step Specifies script to run when a macro hits a stop point Specifies script to run when a macro encounters an error Interrupts the execution of a macro file Release a variable from the value assigned previously using a force command Restart the tool and stop at time zero Restores simulation state previously saved to a file using the save command Restarts execution of a paused macro file from the point where it stopped Advance the tool to a specific point If some other event fires first then the run point is ignored Saves the current simulation state in a specified file Show or set the current scope to the specified instance With no arguments the current scope is returned Show information about your design You can specify multiple arguments Execute Specman commands Display stack information for the NTB or SVTB process thread Using the Top Level Window 3 73 Start the tool from within the TCL shell status Displays the macro file stack step Move the simulation forward by stepping one line of code step Will step into task and functions stop Set a stop point in the tool thread Display information regarding the current NTB or SVTB threads in the tool Using the Top Level Window 3 74 Using The Wave Window The Wave Window graphically displays waveforms of signal values and transition times The Wave Window is comprised of two primary sections the Signal Pane and the Wavef
137. ta for the assertion unit the failed assertion belongs to In the assertion tab expand the tree and review detailed assertion statistics such as assertion attempts failures successes and incomplete attempts as well as start end times and reasons for failures Double clicking also populates the Wave Window with trace information and displays all the pertinent source files Investigate the cause of an assertion failure by doing the following View source code information in the Source Window Trace assertion and related signal waveform information in the Wave Window View signal data in tabular format in the List Window View waveform information for selected signals by opening the Wave Window and dragging and dropping scopes from the Hierarchy Browser View additional assertion and scope information by dragging and dropping HDL signals of interest from the Hierarchy Browser or Data Window to the Wave Window Key Terms and Concepts The DVE User Guide uses the following terms and concepts in feature descriptions and procedures Assertion Assertion Attempt Context Sensitive Menu CSM Drag and Drop Expand and Collapse An OVA or SVA statement used to specify design behavior An assertion is used as a monitor to detect incorrect design behavior in dynamic simulation or as a property to be proven exhaustively using formal verification A specific instance of an assertion a specific firing of an asse
138. ted pane or By Levels window Multiple Find dialog boxes can be open at any time with each identified by in the dialog box name Finds the next occurrence of the search text Find Previous Finds the previous occurrence of the search text Goto Address Scrolls to a specified address Finds signals and instances in open detabases Search for Signals Instances Create Marker Displays a new marker in the Wave Window Using the Top Level Window 3 6 Markers Displays the Markers dialog box for managing markers Goto Marker ocrolls the Wave display to the specified marker Delete Marker Removes the specified marker Create Displays a reference marker at the specified location Reference Marker Show Marker Displays Absolute Adjacent or Relative values for signals at Values a selected marker Preferences Opens the Applications Preferences dialog box to allow customization of the display settings on a global or window basis View Menu The following items comprise the View menu Selection Prepares the cursor for selecting Tool objects the default cursor Zoom In Prepares the cursorfor zooming in The Tool cursor becomes a magnifying glass Drag a bounding box around the area to enlarge Zoom Out Prepares the cursor for zooming out Tool The cursor becomes a magnifying glass Drag a small box to zoom out by a large amount or a large box to zoom out by a small amount Pan Tool Prepare
139. the Path Schematic Window View waveform information for selected signals by opening the Wave Window and dragging and dropping scopes from the Hierarchy Browser View additional assertion and scope information by dragging and dropping HDL signals of interest from the Hierarchy Browser or Data Window to the Wave Window Overview 1 15 Overview 1 16 VCS and VCS MX in Interactive Mode The following steps outline the general flow for using DVE with VCS MX in interactive mode ji Forinteractive debugging using VCS MX mixed HDL Verilog only or VHDL only designs first compile your design See the VCS MX User Guide or the VCS User Guide for complete instructions otart DVE and open the compiled design file Use the toolbar commands to navigate through the design Or Use the command line to enter TCL and Unified Command Line Interface commands Use the Hierarchy Browser to view design structure and find HDL signals Populate the Data Pane and Source Window A single click populates the Data Pane A double click populates both the Data Pane and the Source Window Note that information displayed in the DVE interface is cross linked Use the Source Window or the command line to set breakpoints in your design Investigate the design results by doing the following View source code information in the Source Window Trace signal waveform information in the Wave Window View signal data in tabular format in th
140. the window you want to display The circle is removed indicating the next time you open a window of that type it will openinn a new top level window Using the Top Level Window 3 25 Docking and Undocking Windows and Panes You can use the Windows menu to dock and undock windows and panes e Select Windows gt Dock in New Row then select the row position to dock the currently active window e Select Windows gt Dock in New Column then select the column position to dock the currently active window e Select Undock to detach the currently acitve window or pane Setting Display Preferences You can set preferences to customize the display of DVE windows display in the Hierarchy and Data panes as well as in the Waves Window Wave Signal Group panes To customize the display 1 In the Top Level Window select Edit Preferences The Application Preferences dialog box displays the Global oettings category 2 In the Categories pane select a setting to customize Using the Top Level Window 3 26 Figure 3 2 Application Preferences dialog box Categories Data Pane List Window Eclobal Settings Debug Settings Hierarchy Browser Schematic Window P source Window Monospaced font used in console reports etc sat Font eee Wavetorm Window Value Annotation Application Preferences Global Settings Normal font used in menus dialogs eto set Font Helvetica 10
141. uences of events and facilities to test for their occurrence SVA is part of the proposed SystemVerilog extension to the Verilog language Note Use the VCS assert dve command line switch with the PP flag to enable SVA tracing in DVE If you do not enable SVA tracing assertion value changes will still be dumped into the VPD file and be visible in the Wave Window but assertion attempts cannot be traced In Verilog the term variable is used interchangeably with the term signal Variable was adapted from the standard VCD technology and can refer to any of the following Verilog terms Net Reg Real Number Integer Named Event and Time Variable Overview 1 21 Overview 1 22 Variable and Signal VHDL Verilog Language VHDL Language Window TheVHDL language distinguishes between signals and variables In general DVE uses the term signals to refer to both signals and variables There are some exceptions to this rule but these exceptions are either explicitly stated or implied by the context of its usage For example a dialog that has both a selection for Signals and a selection for Variables is obviously distinguishing between the two It is also important to recognize that because most variables are dynamic simulators may not trace them and consequently they will not show up in the hierarchy DVE uses standard Verilog and oystemVerilog terms including the language keywords syntax system tasks and
142. ul checker c aluout c 1 O Check test riscl alul alul checker o data 01 1 O Check test riscl alul alul checker c datas sc 10 O Check test riscl riso1 checker a SM test riscl tricon tm o tristate checker mel 10 O Check test risc2 alulalul checker pp a 4 Assertion Failure Sum mar Assertlons Double click a summary item to trace the failing attempt Filter Time Range 1 MAA Attempts F 3 S 0 10 z Code is displayed as follows The Source Pane in the Top Level Window displays the HDL code where the assertion is inlined or bound A Source Window displays the assertion code with the assertion highlighted see Figure 5 12 Working with Assertions 5 15 Figure 5 12 OVA source code Itest riscl tricon tm o tristate checker tri state u ov r parameter integer bw 1 edg e expr 0 parameter string msg ass ertion triggered parameter integer severity severity category category logic en lagic clk logic pw 1 0 inp logic mw 1 0 cutp Ji ff determine which sampling clk edge to use edge select edge expr clk tri stateren clk edge inp outp msg severity category endunit M 2 To edit the assertion in your default text editor select Edit gt Edit Source Working with Assertions 5 16 Using the List Window The List Window displays simulation results in tabular format For Verilog the List Windo
143. umber VECTOR H1115 0H reg test uchey 2 3 reset disab reset BASE wire test ucli2 v 3 z disab E stopped NG To view DVE commands enter help gui For complete information on using UCLI see the Unified Command Language User Guide For a quick view of the UCLI commands and their use at the DVE command prompt enter help ucli argument When entered without an argument a list of UCLI commands and a short description is displayed Enter a command name as the argument and a description and command syntax are displayed Getting Started 2 11 The UCLI commands and definitions are displayed Using the Hierarchy Browser Use the Hierarchy Browser to navigate designs When multiple designs are open you can select which design to display from the pulldown menu and filter the signals displayed in the hierarchy When a design is initially loaded in DVE the scopes will appear in a collapsed view within the Hierarchy Browser Expanding Scopes Individually 1 In the Hierarchy Browser click on a icon located to the left of a scope The hierarchy tree expands as shown below x im inter vpd EE Hierarchy Type 3E root Root The Design 5i Larbiter 2t 3 t Module f arb_inst D Module Parbitrate Named Begin P dk monitor Named Begin P parameter Named Begin Pregister Named Begin DF arbiter_0 m Module client O arb Module client 1 arb Module Dk client 2 tarb Module
144. vers the following topics Log View e History View Errors Warnings View Figure 3 23 shows an example of the Console Figure 3 23 Components of the Console Transcript of session ok commarncbgui list action id Hier 1 arb tesibench top command gui list expand id Hier 1 arb testbench tap grant 1 0 View in Console TCL command line interface Tabs control active Using the Top Level Window 3 67 Log View The Log view is the active view when you first start DVE This view which corresponds to the Log tab contains a complete transcript of all commands error and warning messages and reports generated by DVE You can copy text in the transcript and paste it at the TCL command line by selecting the text with your left mouse button and pasting it with the middle button You can use the Up Arrow and Down Arrow keys to scroll through the transcript oee Figure 3 24 for an example of Log view Figure 3 24 Copying commands from Log view A 5 comma nae NU CG Hier 1 arb_tesibench_iop comma nG et file ID Innen idevinull w 06001 outs amp TilelD lout create window he Wave narent mui 4 Log AHistory AErrorsAWarnings command aui list action id Hier 1 arb testbench top Select text Paste at command line using middle mouse button Using the Top Level Window 3 68 History View The History view displays a list of commands used during the current session Each command you execute whether fr
145. w Help Testcases a x DO select eaka Ae Sei vP iR e bdsasscuumrm RAK end wait iclock 1 b0 end ETC Erle or idata 7 0 alu out 7 0 vimem read PROS cClock2 7 muxzx5 muxzx5 raddress 4 0 fireghi 5 ireglo pcaddr fetch reseter reseter ireset reset req fetch clock2j register instreg ireghi ireglo clock data 7 0 load ir reset El Japo ne O dewexam ples m kediverilog cpu v 25 M M Reuse Sem 4 fetch TEST RISCI MA MA FABRE A Example In the following the signal result could be driven by one of three statements module one result A B Using the Top Level Window 3 63 module two result C D module three result EFE 1 The active driver for result at time t1 is requested Active drivers then looks up the three statements above then determines that A B C D E and F are contributors Next active drivers looks for the most recent change amoung these signals looking backward from time t1 Let s say at time t1 100 A changed value while all the other contributors changed values previously The statement result A B would be identified as A s active driver If you were not satisfied with this say this statement was within an if statement that was false then you would request to step back Active drivers would then look back for the next most recent change to any of the contributors starting at time t1 100 Displaying an Active Load
146. w supports nets and register variables For VHDL it displays signals and process variables The List Window is comprised of three sections This chapter covers the following topics The List Window Displaying Data Navigating Simulation Data Customizing the Display oaving a List Format For information on using the Wave Window to view and debug assertions see Chapter 5 Working with Assertions Using the List Window 6 1 The List Window The List Window is comprised of three sections he Signal Pane displays signal names as headers above the simulation data he Data Pane displays simulation results in tabular format e The Simulation Time Pane Figure 6 1 The List Window Time Pane Signal Pane Data Pane 4 DVE TopLevel List 1 File Edit View Simulator Signal Source Schematic Trace Window Help Testcases PICS rie 0xins os gel mx afl alo te ch tees Kean List 1 0 NA NA Hii T Using the List Window 6 2 Displaying Data This section covers the following topics e Dragging and Dropping Signals into the List Window e Opening a Database e Loading a Session Dragging and Dropping Signals into the List Window To populate the List Window with data from other DVE windows 1 Open a List Window by selecting in the toolbar or View gt List Window 2 Drag and drop into the List Window a scope or assertion of interest from the Hierarchy Browser the Source Pane the Wave
147. wing section Runtime Options for more information For a complete description of command line options see the VCS User Guide and the VCS MX User Guide Getting Started 2 2 Runtime Options gui Invokes DVE at runtime UG l1 Invokes the UCLI debugger command line if issued at runtime Also see the previous section Compile Time Options for more information 1 logFilename Captures simulation output such as user input commands and responses to UCLI commands i inputFilename Reads interactive commands from afile then switches to reading from standard command line input k keyFilename Writes interactive commands entered to key Fi 1ename which can be used by a later simv as i inputFilename Starting DVE To start DVE enter the gui runtime option For example to run DVE with a VCS simulation enter 6 SIMV gul The DVE Top Level Window appears displaying the Hierarchy Browser Data Pane Source Wndow and Console Note that to enable line stepping in your simulation you must use the debug a11 compile time option when compiling your design Getting Started 2 3 oee Figure 2 1 for an example of the initial appearance of the DVE Top Level Window Figure 2 1 Initial appearance of the Top Level Window DVE Toplevel Source 1 FT Edit View nm m scope Trace Window i Tan X mmo deceptis ene nm D COENA E rs NG 38 3 Hierarchy Variable commanda OOO a
148. xpanded click within an expanded time to display the signal values at the location of the cursor C1 Figure 8 3 shows cursor C1 at the falling edge of signal inc pc The value displayed in the Signal Pane is O If the rising edge had been selected the value would be 1 Figure 8 3 Wave Window delta cycle value displayed File Edit View Signal Trace Help 2 Ino po StU N4 deo eru v Displaying Delta Cycles 8 7 8 8 Displaying Delta Cycles Basic Navigation Techniques This chapter describes the basic navigation techniques for using DVE in a simulation analysis The following topics are covered e Using Mouse Buttons e Using Context Sensitive Menus e Using Workspace Windows Using Mouse Buttons You can use your left and right mouse buttons to perform a variety of tasks in DVE such as selecting and displaying data opening and closing windows and selecting analysis criteria Basic Navigation Techniques 9 1 Note If you are using a three button mouse the middle button functions the same as the left button The following table shows the various tasks you can perform using your left mouse button Task For more information Select scopes variables assertions See Selecting Scopes Variables Assertions or text and Text on page 1 3 Drag and drop scopes variables and See Dragging and Dropping Data into the assertions into the Signal Pane of the Waveform Window
149. xt grant Y 0 V2 arb testbench top Y2 arb testbench top arbl n 5tate 1 0 va2 arb testbencl Vecarb testhench top arn1 nxstate 1 i ad i a a testbench top arbl reset 5500000000000 jz a a StQO sco Z hl 100000000000900 jz a a E0 St0 hl 101000000000000 j2 a Ping C0 S0 hl 105000000000000 j a a StO St0 2 hl 10510000000000 2 a A StO Stl Z h2 110000000000000 2 Hr d StO Stl Z h2 11100000000000 2 a a StO sto h2 11500000000000 j Pali a StO stO Z hZ 11510000000000 ja a a stO S0 hl 120000000000000 j a a StQO St0 hl 125000000000000 j a a StO St0 hl 130000000000000 f2 a d sE stO Z hl 131000000000000 2 il d StO stO Z hl 13500000000000 2 oy Ag StO sto Z hl ni 4 i 4 I nxState 1 0 V2 arb testi WA EIB Scroll bar Using Markers oet markers in the List Window to speed navigation 1 Select View Set Markers to display the Markers List dialog box 2 Click New to create a new marker in the list table Using the List Window 6 6 3 Select the Time cell for the new marker enter the time at which to set the marker click Hidden if you don t want to display the marker in the Data Pane then press Return 4 Repeat steps 2 and 3 to create more markers 5 Select a marker from the list in the Marker List dialog box then press Jump to move the data display to the selected marker Or Select View Goto Marker then select a marker from the list 6 To remove a marke
150. y readability and analysis Typically you access and view an assertion by double clicking a particular assertion in either of the following windows The Assertion Window located in the Console of the Top Level Window e The Hierarchy Browser by navigating to the assertion Overview 1 9 Overview 1 10 Or you can drag and drop an OVA assertion unit from the Hierarchy Browser or an OVA or SVA assertion from the Data Window into the the Wave Window double click to display the source code in the source Window You can then view a trace of a failed assertion by double clicking a failed attempt a red up arrow in the Wave Window Figure 1 6 shows an example of the Waveform Window displaying a trace of a failed assertion attempt The cursors mark the start and end times of the failure and the background color is also different to indicate the assertion time region This lighter color persists if the cursors are moved to make it easy to identify the assertion region Figure 1 6 Waveform Window displaying a trace of a failed assertion attempt Assertion and Start time of related signals assertion failure Fl File Edit View Simulator Signal Scope Trace Window Help Testcases Time 44250 xin oF amp Gs MX d EL V v Pe Any Edge E gt e SSH DBRRA acgeiagdcaiaiagal 4 E wW E Bdk e se ff Bpre r Ib1 s1 b0 Dpre r l b Bpre r b1 gt 1 b0 epre b0 s1 bi Breq l b
151. ying glass Drag a small box to zoom out by a large amount or a large box to zoom out by a small amount di Pan Tool Prepares the cursor for panning the window view The cursor becomes a hand shape Point and drag to pan the view N Zoom Full Zooms out to display entire design ap Zoom In Zooms in 2x ep Zoom Out Zooms out 2x Zoom to Selection Zooms to area selected with the Selection Tool Using Schematics 7 3 Customizing the Display To customize the schematic display you can e Set the maximum number of cells in the schematic e Change the text style and size displayed on your schematics e Change the visibility and colors of cells hierarchical crossings nets busses ports pins and rippers To customize the schematic display 1 Select Edit Preferences then in the Category pane select Schematic Window f 2 Clickthe up and down arrows to set the maximum number of cells as shown in Figure 1 Figure 7 1 Setting Application Preferences Application Preferences schematic Window Categories Global Settings Maximum number of cells in schematic 50000 4 Debug Settings Hierarchy Browser schematic Object Visibility Color Line fe Data Pane be Source Window Schematic Window 3 Value Annotation Wavetorm Window I I List Window M I I Iv OK Cancel AnI l NG 3 Check and uncheck Visibility checkboxes to filter and inflater design elements from the disp
152. your design The basic techniques for using the Top Level Window are described in detail in Chapter 3 Using the Top Level Window Figure 1 1 shows an example of the Top Level Window Overview 1 3 Figure 1 1 DVE Top Level Window Initial View Hierarchy Browser Menu Bar Data Pane Source Window Toolbar DVE TopLeval 1 Data 1 A File Edit View Simulator Signal Scope Trace Window Help Testcases Jo cc a x mm i SENE L e b ua mENNN Z 5 x 5 ee Ainedule top parameter Pl T P2 31 reg P1 0 a b wire P1 0 c rey P2 0 x Y wire P2 0 z reg clk ING H1 CHIL diti CHIL Bul n8 child pl ilap eli el ma ANA aa a AA AA praduct avista 2 0 dewexamples ovafovasim MX VLiswitches switches i M Reuse switches w B FE arbiter 2t 3 tb ME x Filter Time Range 0 10000000000 ua co rm cn i CO 3 2 cw 7000000000 7000000000 OCheck Vitopdilus5 At Qutp1 inp1 inp2 7000000000 7000000000 OCheck Vitopji2 u6 At oot Ne tinp 1 linp2 7000000000 7000000000 OCheck Vitopitu2 At outp1 kinp1 linp2 000000000 7000000000 OCheck Vitopi2u2 At outp1 Jrinptllinp2 eresertion Failure Summar Ni Assertions ss u praduct avista 2 0 dev exampNs ova ovasim MX VLiswitches switches vod opened successtully J fee O ok e terminated arbiter 2t 3 RE Banag Assertion Window Tabs to activate associate window TCL Comma
Download Pdf Manuals
Related Search
Related Contents
Telecharge la fiche technique 株 主 各 位 第66期定時株主総会招集ご通知 Samsung Samsung GALAXY Black Box Dual-Input Thermometer User's Manual 取扱説明書 - Pioneer DJ Resultado Prego 084 Dell OpenManage Server Administrator Version 7.2 Read me turf truckster Evénements dangereux lors d`activités forestières Copyright © All rights reserved.
Failed to retrieve file