Home

Questa Debug Essentials

image

Contents

1. di clock EB DUT Inputs reset clock address rdb GM Drag amp Drop Drag amp Drop works between every window m Dragging an any object to the transcript prints full path Objects Su E A Transcript SHA reset TO PIE e e an oo en clock Stl Loading work mode two control variable address 10011010 Loading work fifocell rtl 43 variable write 1 Loading work bd4stibd4st arch variable read Y 1 5 variable save 0000000 1 variable restore oo0000000 O ns Pepe 105 us data_mode Fs_write VSIM 3 describeg sim test_delta CHIP preproc_INST variable_ restore Fedatenh trnhe case SOUT is 157 when 00000 gt 159 SFULL lt 10 160 BIT STROBE B lt 1 D m Cursor 1 Ons 4 Ln 152 Col 12 READ 4 W 3 gd mu J n 2012 Mentor Graphics Corp Company Confidential 15 GE Tech Day September 2012 www mentor com oMshlet Strokes m Mouse strokes are a quick way to execute Hint If you don t zooming functions in a window dese Supported in wave amp dataflow windows press the left amp Functions slightly different depending on window right button Functions labeled for easy identification simultaneously Just hold down MMB and drag in any direction mouse you can ND PA A O ALL ben Cen Ce ee 2d nannnnnnnann Sale ECH Pcia ms per S Ee ux Zoom In to 3
2. gl 2 bookmark 34433 ns gt 36 Ed Add Custom BR bookmar ns 364d r TE Available Bookm Delete All E 3 bookmark2 34433 ns gt 36 P gg 1 bookmarko O ns Manage PS 2 bookmarki 34433 EA Reload from File Ha E 58 3 bookmark2 34433 Available Bookmarks Wave gg 1 bookmark O ns gt 105 us gal 2 bookmarki 34433 ns gt 36507 ns PR 3 bookmark2 34433 ns gt 36507 ns a crc write crc read D crc address fifo out clock DUT ei utputs 00011 JD 0100 a reset fifo micro interrupt aS Exc a iom du IJ e lt STS do E Ov O 2012 Mentor Graphics Corp Company Confidential 18 GE Tech Day September 2012 www mentor com Mena Bookmark Menus Bi l Can be added as is y seve Ee or customized gt sis C Delete All Can be reloaded ees l from previous session toolbar m Shortcuts are rbd een bier is st to the pull down EEN r Windows menu AN MAN s Corp Company Confidential Menia 19 GE Tech Day September 2012 www mentor G j 20 Managing Bookmarks m User has full control Ss x over their bookmarks on saa smen Named given an alias R me m Edited Wave foo e Deleted SE lw Bookmark name lw User defined alias m Sets of bookmarks can P de tri be saved and loaded Onlyifro aas is set for re use ther Base name for bookmarks bookmark m Auto save
3. ax bon c from dut valid 1 hO 11 logic 15 0 data to dut 0 ta to dut vet H ho 16 h0000 face i dut busy I hu as logie te ue TT A Pee jinstr ction EU READ JREAD JREAD JREAD 13 logic 7 0 T nterface i clock 1 h1 8 h01 8 h00 interface ifreset 1 hO LA logic data from dut valid 0 1 ho 15 logic E de dut valid 0 d me Now P470 ns 12 il Ed Cursor 1 1350 ns ih mem_interface sv E uvm root svh x TT ER Values tied to active cursor Source Object Dataflow and Schematic windows Focus on events in time rather than which window to search In 2012 Mentor Graphics Corp Company Confidential Menia 41 Questa 10 2 Customer Update Feb2013 Www mentor com G j New Wave Window Options Undo redo of adding moving grouping or deleting signals Ctrl Z undo and Ctrl Y redo ga Wave File Edit View Add Format Tools Bookmarks Window Help BE Wave Default SEET EES Dev 49 xe u e a NJ a au al d amp 5e 3x2 RES Ze ia ftop stream 1 00000001 0000 top stream2 00000002 top stream3 00000003 00000004 00000005 00000006 i Search TA 00000007 0000007 0 ES E o EE 00000008 00000008 To O LLL top 0000000a DEN EE 5 00000001 onn SE Fin D Zoom Between Cursors ga Wave File Edit View Add Format Tools Bookmarks Window Help BB Wave Default BAE dt 4mm ER io mt HRS 9 Op 2012 M
4. l Change the Active Time to wave window 00000 00000 72 end if Use Now time to show values 73 if RESET O then f OK Cancel 70 NCAT To pan FP e e E d Ln 25 Col O READ 2012 Mentor Graphics Corp Company Confidential or www mentor com a y GE Tech Day September 2012 Source Hyperlinking m Hyperlinking provides easy navigation through source Double click when pointer changes to pointing finger amp Can also set preferences to underline hyperlinks Jump from Usage of a signal parameter macro or variable to its declaration VHDL architecture to its entity Entity module instance to its declaration 34 GE Tech Day September 2012 ka E parts tool code_coverage basic srcitx_process vhd Default a ki ES a a gag Ln 27267 ns X Als 45 46 architecture NEL of TX PROCESS is 47 48 type STATESIX is DI 49 constant IDLE STD LOGIC WECTOR 1 downto 0 00 50 constant MC NEGOTIATE STM LOGIC VECTOR 1 downto 0 Di Sa constant WIDEBAND BUILD D LOGIC VECTOR 1 downto O 10 52 constant DATA STD LOGIC WECTOR 1 downto DO re il 53 constant ZERO STD LOGIC NECTOR 1 downto 0 00 54 constant ONE STD LOGIC VECTOR 1 downto 0 re 01 2 constant TWO STD LOGIC VECTOR 1 downto 0 re 10 56 constant THREE STD LOGICIVECTOR 1 downto D re 11 57 Signal SOUT STD LOGIC WECTOR 4 downto 0 56 Signal SFULL STD_LOGIC 59 signal RETI
5. RMB click for toolbar menu v Simulte a M A v Step Select individual toolbars to display c Wave Wave Compare m Drag individual toolbars in amp out of frame AES v Wave Expand Time Keeps high use buttons handy don Reset 2012 Mentor Graphics Corp Company Confidential Mahler GE Tech Day September 2012 www mentor com a e 14 Resetting the Toolbar m he menu groups within the toolbar often get jumbled especially after the window is repeatedly resized RMB in menu area and select Reset to tidy this up m This will re pack the menu groups GE Tech Day September 2012 a B 4 Ga 3 B 313 Bo eshold 100 4 Ux 242 E Eesti a Erie ES Memory List 5 itest deltafREG STORE 4 test delta IC FIFO DATA lest delta FRAME STORE RAM FS STOR ES Memory List prlinstance nn PW test deltajREG STORE 0 6 4 Jet dekaj1C FIFO DATA 0 255 gt test dekajFRAME STORE RAM FS STORE 0 65535 gt test dela RX VARIABLE RAM VAR STORE 0 255 test dekajTX VARIABLE RAM CRC STORE 0 31 2012 Mentor Graphics Corp Company Confidential www mentor com So arks Window Help B DUT gn e w Standard w Bookmarks w Changecolumn w Compile Coverage w Help w Layout w Mode Profile Simulate vw Step wv Wave Wave Compare w Wave Cursor Wave Edit w Wave Expand Time vw Zoom th
6. Search and Match Count Options m wave e E mp search Forward Search until END of data Stop after 1 matchs a 5 qmisearch Reverse File Edit view Add Format Tools Bookmarks Window Help Cut SUR Search until time Stop Search Copy Ctrl c al EI Tz BE l f HEEEL JE Paste Ctri v lw Move active cursor to location of match I Delete De 9 z Search Edit Cursor Megs Search Results z Delete Cursor mio ag Status No matches between start end times Delete Window Pane e Remove All EA Msgs Select All Ctrl a S eer E DUT Inputs DUT Inputs Expand UT o elk e gt cpu rd SCH on 7 Cursor automatically Clock E3 4 mem data at Ak cpu address n wee Do e uroxus i placed at pattern match next state HIT HIT A Cpuwait cache address X a mem rd mem wr mem address 03 BL DUT Bus DUT Bus p i4 j a cpu data ZZ EN wa mem data ZZ l4 WE Now 1130 ns NOD curso or 610 ns i ja SE No 9 2012 Mentor Graphics Corp Company Confidential or www mentor com G e 50 GE Tech Day September 2012 Displaying Signals with Analog Formatting The wave window has several options for viewing signals in an analog format add wave ues Ob minas O Satie Sess D n oe Cp a gam EP ana SLT LRE Kaye tatik The min max arguments control the limits on the y EECA EF or al
7. GE Tech Day September 2012 www mentor com Docked and Undocked Menus e M en d O pti O NS File Edit view Compile Simulate Add Wave Tools Layout Bookmarks Window Help are based upon l 8 4 27 EU i Configure reset the current SE am M a JI Combine Signals Color active docked gon Height F Ungroup Toggle Leaf Names WIN d OW DUT Inputs Object Declaration Refresh Display l Assertion Debug clock ES LS When undocked the same options are available but under multiple Sr UM z clock m e hn u S address rdb csb wrb fifo ram data LUUUULUUUU fifo Full indicate 1 oe inci E Ete o 22 E n File Edit View Add Format Tools Bookmarks Window cs nave Default lap Radix b Se me EEA Height Msgs Toggle Leaf Names wrb EL gt io x al 4 a 2012 Mentor Graphics Corp Company Confidential Menia 12 GE Tech Day September 2012 www mentor com G Questa s Toolbar m Toolbar has controls for many common simulation tasks Compile simulate run restart step zoom etc lolx File Edit view Compile Simulate Add Wave Tools Layout Bookmarks Window Help Ea CEIC RL Fosse Ac culo tat Las v Standard SE Bookmarks test delta rtl1 DUT Inputs Changecolumn delta rtl m TW v Compile test delta rtl1 E Coverage cer vn Sid M est deltair L di w Layout v Mode Profile
8. R E axis if signal s amplitude is larger than the limits use lt E the clampanalog 1 0 switch to control clipping MME UI Pda LUTT O05 HIT E The height argument controls drawing space in pixels signals will automatically size themselves within this space 1 76336 WV 1000ns RER 170 ns YI da y d DEE SE O ns to 1018 ns sim sine genfsin x 2012 Mentor Graphics Corp Company Confidential Mahler 51 GE Tech Day September 2012 www mentor com a s Smoothing Out the Waveform By default analog formatted signals are displayed using a step function 2222 To smooth the waveform select signal and use RMB menu to open the Properties dialog select Analog Interpolated 17 EITE AOU OL il 2 67035 OTO OTO TOOT OTO m Wave Default AA amp toe Fosse SBD e t Kae A uses jaststara e mimo EEIT TTT CS Msgs DEELER DETRESSE POUGOUDOOOOUOOOON OOOOOOODOUOOOOOOOOOOOOOOUCOUDOODOOOOOODOOGOUOOOOOUUOOOOOOOOOOOOOUUOOUGOOOUOOOONOOE Wave Properties signal sim sine gen sin x View Format Compare Format Literal Logic Analog 1 76336 Analog Display Analog Step Height ax ja s Ce Analog Interpolated 300 C Analog Backstep Min A Clamp waveform within row ome Now 1000 ns C Cursor t 170 ns Sp OK Cancel Apply 1 gt x H
9. Tech Day September 2012 www mentor com GNishier The Source Window m The source window in Questa serves many purposes Ei E partslassertionsfOM sync fifojsrc fifo bad e Default ES Zu Source code in ts displayed with syntax always ff Giposedge clk negedge rst n if rst n begin highlighting eege Set simulation time for E empty lt l all lt 10 viewing signal values Red line numbers 26 e J gt 19 e S ZT else begin indicate executable 25 case vrite read 2 2 b00 J NO fifo read or write lines s a c fifo read 2 2 EPEL Gare Tol Breakpoints and Q e TT a 35 end ifo ul cnt current line indicator ducem fifo write 36 1f eaei begir Balloon popups show l koni T signal values or use i TIT a an bi source code bin begin 7 7 simultaneous fifo read amp write S 45 if full begin annotation s e 45 end Can also be used as an editor Read Only by default 2012 Mentor Graphics Corp Company Confidential Mahler 29 GE Tech Day September 2012 www mentor com G Setting Breakpoints m Breakpoints can be set on any 236 executable line isa shown with red D 240 241 line numbers 242 BP shown as red ao ball a LMB click to add BP 23 RMB click for menu risk 239 RMB menu to Ss 242 manage breakpoints 244 30 GE Tech Day September 2012 RETIME STROBES RISE FALL process begin wait until FALLING EDGE CLOCK if RESE
10. X Z Es partsitoolicode coveragejbasic src delta vhd test Waveform Log File Mian on RM test delta i j 51 9 ARCHITECTURE RTL OF delta M CHIP View rcu 52 WLF database P e O ENE d A o 54 t CLOCK STD LOGI SR bor INST Add Wave Ctri w pent 3 I 55 RESET in STD LOGI 24 preproc INST Add Wave New l S E I 56 PRE PROC WR REQUES postproc INST Add Wave To D r IN on Fsarb INST a S 57 POST PROC RD REQUE d fsarb_ Add Dataflow Ctri d co dert do ne CPU WR in STD LOG p feno Ns ven O RD im STD gf control 126k INST CPU RD in STD LOG the WLF any tim Pac MEN o onm e d y e you bal MN nio Find BE All items in region L out 89 CELLTXI M LLL TO CO Amado All items in region and below 1E OE o T a ceu Expand Selected Watch gt All items in design E WE o d el O e e CELTXS Collapse Selected T 64 FRAME STORE STROBE CELLTX4 Collapse Al 65 FRAME STORE CS o l d XR CELLTXS RD 66 CPU READY out STD wave list window or pam cur Ee mann ja CPU FS VE out STI MM CELLTX Test Analysis 68 CPU FS RD out STD E EN CELLTX8 XML Import Hint 69 end component J U ST log th e m EN CELLTX9 Show E 70 component FIFOCELL W CELLTX10 i T port CLOCK in STD LOGI 72 RESET in STD LOGI 73 STATUS IN in STD 74 SHIFT IN out STD WLF Wave Log File Default name vsim wlf 2012 Mentor Graphics Corp Company Confidential GNishier 36 GE Tech Day September 2012 www mentor com
11. log P virtual nohide P virtual nolog P virtual region P virtual save P virtual show E Bookmarks R Questa SIM Reference Manual Incllttg Support for Questa SV AFV Software Version 10 1c vsim options options absentisempty assertcover noassertcover assertdebug noassertdebug alt path delays assertfile filename assume noassume autoexclusionsdisable lt exclusion_type gt A Nice SE vsim lt info gt KE vsim break kil vsource E wave KE wave create E wave edit E wave export KE wave import KE wave modify E wave sort bitblast iopath tcheck c capacity classdebug colormap new coverage covercountnone cppinstall lt gecig version gt cpppath lt filename gt debugdb db pathname defaultstdlogicinittoz delayed_timing checks display lt display_spec gt displaymsgmode both tran wif do lt command string lt macro_file_ name gt donotcollapsepartiallydriven dpicppinstall gcc g version dpicpppath lt pathname gt o m x ebem aneng wel m The Command Reference contains a list of every command with every possible option to that command m Organized by command m Every command option is explained in detail some with example usages ModelSim DE Reference M
12. m Show Cause needs vsim voptargs acc Find cause of change one clock cycle back in time Show Root Cause needs vsim voptargs acc Perform multiple show cause automatically m Show X Cause needs vsim voptargs acc Similar to Show Root Cause for X only e CS LI a aen onon a 2012 Mentor Graphics Corp Company Confidential GNishier 56 GE Tech Day September 2012 www mentor com y 57 EE Wave Place curser at event Show Cause File Edit View Add Format Tools Window of interest event occurred at 225ns PR itop padar DODODOO1 DODOODOO br lr hr ke Itop srwi U topi Ssstrb 1 hop fsrdy 1 B jtop saddr oooo0000 DODogDDO KW Ei kouw 2820 ns jtopipdata E HT CM CC Ci O O TH T IU RIUM Process Initiated from Wave Window OG tes EE CET GL SES Ap Show Cause J a a a a x m I 2 OER Show Driver DG B Show Root Cause E GO Show w Cause LCT Architeckul Module 2e Show All Possible D Task Task Binnie T E Process DER Show Driver From Begin tracing by 1 Event trace back button 2 Double clicking event or Show Cause from op a Show Root Cause f Process Process View Path Details Process Preferences DODOOOO 1 an Z ae 225 ns 225 ns E Active Driver Path Details X 132 ns to l The path details sta
13. 7 GE Tech Day September 2012 www mentor com Y Wave Cursors m Wave cursors have lots ways to control their behavior m hey have many helpful features Add Delete Move between useful during debug Cursors edges ESSES Values linked to Lock Unlock active cursor Properties Active cursor Add Remove CZ mn ERR L E highlighted Gridlines 1 Leaf names Pie crc_write i csb CTC read ff crc address 00000 Ti me at each cursor and Toe eons l distance Hors SS between i cursors 2012 Mentor Graphics Corp Company Confidential Menia 38 GE Tech Day September 2012 www mentor com G Cursor Properties L address pood rdb csb wrb CC Write CrC read ES crc address RMB click amp select Cursor Properties Cursor 1 20069 ns clock address rdb csb wrb A Crc write ES crc address MT CRC Read B Cursor 2 20069 ns LL Ba user Properties x Cursor Mame ICRC Read Goto Now on us Activate Now Ge ae Time Lock Wow Delete Now 20069 ns ns New Cursor 20065 ns EE Lock cursos to specified time Cursor Properties Grid amp Timeline Properties Filter Waveform OK Cancel Sync All Active Cursors Cursor Linking DO Cursor can be uniquely amma Named and lock in position i Locked cursors never move 39 GE Tech Day September 2012 2012 Mentor Graphics Corp Compa
14. 8850 ns E PR E REN LN t E Ss DL LL LL PP emer 1 mann mn A ronn RN i U Zoom Full Zoom Area Zoom Out drag up amp left drag down amp left or drag up amp right d ra g d OWN amp rT g ht 2012 Mentor Graphics Corp Company Confidential Menier GE Tech Day September 2012 WWw mentor com G 17 He Keyboard Shortcuts Each window has a variety of keyboard shortcuts Toggle menu ON OFF using Ctrl t DUT Inputs clock address rdb csb wrb fifo ram data fifo Full indicate fifo empty indicate iom sdsi iom_sds2 iom dck iom dd memcs t txd i txd E DUT Outputs crc_write m crc_read crc address U o or Now DUVUUUUL Q O Fe re Era EH m 1 1 00000 100000 ns 20000 ns av Curs 4 1 gt xi DUT Inputs UUUUUUUL DUT Outputs Seen Se ep Seen CS WEE ee E Dataflow De Scroll Down Scroll to End Scroll to Start Scroll Left Scroll Right Scroll Up Scroll to Active Time zoom Cursor Zoom i Zoom In Zoom Last Zoom Out Zoom Dialog Extract Pad Bus Group Signals Split Bus Add Cursor Goto Time Sync Other Waves View All Shortcuts Toggle Help GE Tech Day September 2012 L ee PSEUDO RAM S DO FRAMES acc fu f I VAT GENERATE IOM mmm TON vd 1 3 Drive pi STROBE UNTER 5 Bit StrWbe Counter SC
15. ME CRC RISE MID LOGIC 60 Signal RETIME CRC FALL D LOGIC 61 signe 1 Cn Gre 44 ACT 62 signe E E parts tool code_coverag basic src tx_process vhd Default nu a m xc 63 signe r 64 signe B Phe S 65 signe Ln 27267 ns X 4 4 t library IEE A 2 use IEEE rn LOGIC 1164 all 3 use IEEE BTD LOGIC ARITH all 4 use IEEB D LOGIC UNSIGNED all D 6 tity TX PR ESS 185 7 port RESET in STD LOGIC 3 CLOCK in STD LOGIC 9 CRC WRITE out STD LOGIC 10 CRC READ out STD LOGIC 11 VARIABLE ADDRESS out STD LOGIC VECTOR 4 downto 0 12 STATE CONTROL in STD LOGIC VECTOR 1 downto QO 13 MODE CONTROL in STD LOGIC VECTOR 1 downto 0 14 CHAN ADD BIT in STD LOGIC 15 CHANENB in STD LOGIC VECTOR 4 dounto 0 16 FIFO RAM DATA in STD LOGIC VECTOR downto 0 13 FIFO FULL INDICATE in STD LOGIC 18 FIFO OUT CLOCK out STD LOGIC 19 MICRO INTERRUPT out STD LOGIC 20 CRC IN in STD LOGIC VECTOR 3 downto 0 21 CRC OUT out STD LOGIC VECTOR 3 downto 0j w ain ne pe 7 Graphs 2012 Mentor Graphics Corp Company Confidential www mentor com Agenda Questa Debug Essentials Viewing and Working with Waveforms 2012 Mentor Graphics Corp Company Confidential 35 GE Tech Day September 2012 www mentor com GNishier Logging Objects Signals E In O rd e to VI EW a File Edit view Compile Simulate Add Structure Tools Layout Bookmarks Window Help history of an object it must be in the E amp sim Default Eg
16. OUNT process begin wait until RIS INGNEDGE if COMMON BUS RESTE SOUT lt 00000 else _STROBES OM DU OM SDS1 OM SDS2 SOUT lt SOUT 1 end if end process Strobe Decoder And Generator STROBES process SOUT begin case SOUT is when 00000 gt CRC READ B lt DI SFULL lt O BIT STROBE B lt 1 CRC STB lt Q D r O then Ctrl Ctrl a Ctri h Zoom Full Zoom Highlighted i Zoom In Zoom Out Zoom Selected Toggle Highlight 1 Toggle Highlight 2 Toggle Highlight 3 Toggle Highlight 4 Toggle Highlight 5 Toggle Grey Mode Remove Highlights Tanala E alt Les ee Select Al Replace Delete Line view All Shortcuts Toggle Help 2012 Mentor Graphics Corp Company Confidential www mentor com Bookmarks Bookmarks allow you to save different views in the GUI Quickly move between these different views Bookmarks done on a per window basis RR zai Supported Windows jut Bookmarks Window Help pen EE Source Wave T ped vut Bookmarks Widow Heb Objects Process Manage E cb sda RT 100 ns SH sh SE SE 9 re SN gn Files Structure OOOO O E Reload from File Eb Add Custom iv CB Delete Al yout Bookmarks Window Help Available Bookmarks W E Manage a s Add o EE 1 bookmarkO O ns gt 105 us E H Reload From File E li
17. Questa Debug Essentials Joseph Rodriguez joe_rodriguez mentor com d FPGA Market Development Engineer J Design Verification Division K eem Yon en e qe e e m Let ey e w e Ger e 7 ZAN JO ie us ie w Kue Kos ye yen yen en ww w w GAN ics clase A mena E q a SCH M ad Y Ech t MES EE E eie Sht ES Tous May 21 2013 Agenda Questa Debug Essentials General Questa Operations Managing Simulation Messages Source Level Debugging Viewing and Working with Waveforms Root Cause Analysis 2012 Mentor Graphics Corp Company Confidential Menia 2 GE Tech Day September 2012 www mentor com G Agenda Questa Debug Essentials m General Questa Operations 2012 Mentor Graphics Corp Company Confidential 3 GE Tech Day September 2012 www mentor com GNishier Questa Infohub wen 8 ma Die File Edit View Compile Simulate Add Library Tools Layout Bookmarks Window Help 1 m The Infohub is our Simulation Library Access through the tool s Help menu 444444 MODEL_TECH ovm 2 1 2 library MODEL TECH pa lib Id Syntax Library MODEL TECH upf lib Library SMODEL TECH uvm 1 1b Library MODEL_TECH sv_std Library MODEL_TECH vital2000 library MODEL TECH ieee MODEL TECH modelsim lib vii E m Access or search all synopsys Search Tips l TM Q Type keywords here to search l
18. T O then RETIME CRC FALL lt OI else nrmr s7 po FALL lt CRC STB Set Breakpoint 240 SS SS Edit Breakpoint 240 Edit All Breakpoints R Run Until Here Counter Cancel Add Remove Bookmark RETIME STROBES RISE FALL process begin wait until FALLING EDGE CLOCK if RESET O then RETIME CRC FALL lt 0 else RETIME CRC FALL lt CRC STB Disable Breakpoint 240 Remove Breakpoint 240 Edit Breakpoint 240 Edit All Breakpoints punter Run Until Here Cancel Add Remove Bookmark 2012 Mentor Graphics Corp Company Confidential or www mentor com a d 31 Single Stepping Source Code E Once the tool IS mn Sm process stopped at a Kat gd breakpoint you can oe et ene o cre sm walk through the JD COLUMN COUNTER source a line at a war eoat rere d time maca m Several different types of stepping Step Into process Step Over process Step Out of process i aen W ei Thread Aware Flow Stay in the current thread Normal Flow Follow execution order of simulator regardless of threading 2012 Mentor Graphics Corp Company Confidential GE Tech Day September 2012 Www mentor com GNIBHISE 32 Managing Breakpoints Modify Breakpoints x Breakpoints Led Breakpoint Ucessar v hd Line 102 F acessar vhd Line 94 co add mu hd Line 38 Jsrcimicra v Line 62 Jsrcimicra v Line YO retime so
19. TIVE yo LO 2 feci can AV E cover O E H Ge c ps pi C TIVE i S 3 Triangles Assertions an 1 Chevrons Cover Directives 2012 Mentor Graphics Corp Company Confidential Mahler GE Tech Day September 2012 www mentor com a e Basic Window Operations Windows Placed in any position Can be grouped with any other window JD x lavos Simur BIT File Edit view Compile Simulate Add Structure Tools Layout Bookmarks Window Help 3 Ba 20v O d E 3 Te SA 100 ns SL SL ed 9 5 iX S m Z a Veit XLS EIE SE EE a Lo vo t au 9 8 sim Default uu DD H A x Bam Wave Default r rlinstance pean unit Geo unit typ LG test delta test delta rti1 Architecture RESET H CHIP deltafrth Architecture ADDRESS gf control INST micro Module RDB txproc INST tx process rtl Architecture CSB af preproc INST pre_processor Module WRB H postproc INST post processor rtl Architecture FIFO_RAM_DATAD UUUUUUUU Mi fsarb INST arbitrator rtl Architecture FIFO FULL INDICATE 1 fsaddmux INST fs add mux rtl Architecture FIFO EMPTY INDICAT 0 gf control 126k INST mode two control Module IOM DD CELLTXO FiFacell rtl Architecture MEMCS CELLTXI fifocell rtl Architecture TXD 1 CELLTX2 fifocell rtl Architecture PDATAD 0000001 1 CELLTXS fifocellirti Architecture YARIABLE DATAD NAAR CELLTX4 FiFacell rtl Architecture CRCD DUT Inputs reset cloc
20. a i 0 ns to 1018 ns sim sine genjincr 31 0 Al 2012 Mentor Graphics Corp Company Confidential Mahler 52 GE Tech Day September 2012 www mentor com G r Agenda Questa Debug Essentials Root Cause Analysis 2012 Mentor Graphics Corp Company Confidential 53 GE Tech Day September 2012 www mentor com GNishier 55 Automatic Causality Tracing Two visual aids Dataflow window Schematic viewer age H Show Cause DDE B Show Driver DG 8Show Root Cause BUR Show X Cause ChaseX Can be initiated from multiple debugging windows J Show All Possible Drivers Wave Source Objects Schematic Structure agoi Show Cause from Time i i nop Show Driver from Time Find the cause of an unexpected output quickly anf Show Root Cause from Time Tracing to the First Sequential Process Show Cause view Path Details Tracing to the Immediate Driving Process Show Driver Preferences Tracing to the Root Cause Show Root Cause Tracing to the Root Cause of an A Show X Cause Finding All Possible Drivers Show All Possible Drivers Causality tracing flow GE Tech Day September 2012 vlib work vlog vcom f files f vopt debugdb acc top o dbgver vsim debugdb dbgver 2012 Mentor Graphics Corp Company Confidential or www mentor com a y Causality Terminology m Show Driver vsim novopt will activate only this option Highlight current active driving RTL
21. amp auto restore can be selected from Options menu Saved as bookmark do C When exiting the application Restore bookmarks when windows open lw Show informational messages after bookmark actions 2012 Mentor Graphics Corp Company Confidential GNishier GE Tech Day September 2012 www mentor com Failure Isolation Transfer Chip level simulation to block level simulation Provide portable debug IP for developer s Isolate a top or sub block from an environment Save extended VCD data for top level you want to isolate c Re simulate only sub block with extended VCD eVCD file Best debug throughput with smaller block Improved throughput for team responsible for bug fix Use bookmarks and wave do scripts to paint picture for them VSIM 1 vcd dumpports file c vcd top c VSIM 2 run all e csh9 o vsim c vcdstim c vcd 2012 Mentor Graphics Corp Company Confidential r com 21 FPGA Verificationy September 2012 www mentor c SUE Agenda Questa Debug Essentials E m Managing Simulation Messages E E 2012 Mentor Graphics Corp Company Confidential 22 GE Tech Day September 2012 Www mentor com GNIBhISE Simulation Messages m Transcript Wind Jo e Ta Fanscript WINGOW SCE aa AE A running history of Time 50 ns Started 50 ns Scope fifo_th ul a0 ERROR_FIFO_RESET_ERROR_RPTR A O WPTRO EMPTYl FULLO File src assert sva sv Line 19 Expr rptr Error Assertion
22. anual v 10 1 5 GE Tech Day September 2012 2012 Mentor Graphics Corp Company Confidential or www mentor com a y 6 Questa s Multi Docking Interface MDI Questa has many tools for different simulation tasks Each tool has can operate in one or more windows Questa s GUI is very configurable allowing for best window placement during each task There are several default views for common tasks Create as many custom views as needed m Any window can be positioned inside Questa s main window frame or as separate window outside the main frame m Windows can be alone or grouped with other windows in tab groups 2012 Mentor Graphics Corp Company Confidential GE Tech Day September 2012 www mentor com GNIBhISE 7 Descriptive Icons m Different colors represent Light Blue Verilog SystemVerilog language Dark Blue VHDL Green SystemC Different shapes represent Magenta PSL object type P Testbench Testbench test ringbur Sa uares Scopes e si 16 ring INST s T EN Geier Diamonds Signals gf Storer rxda di ALWAY5 37 Storer e Diamonds WI d A Add ME block2 INST a outstrobe m DO rts amp d Irection Incrementer Enable gen OutStrobe gen EB Store Store Circles Process txda line 81 h 3 ipa Gt ramais BE g ni pees e ssertions amp Coverage a ke ES assert sva pi AC
23. ave childrowmargin 2 Ot er Wave 30 configure wave gridoffset U a a 3l configure wave gridperiod 1 confiurations 32 configure wave griddelta 40 configure wave timeline U configure wave timelineunits ns update WaveRestoreZoom 24384 ns 28651 ns GJ GO OJ GO GO J C CD da GO 2012 Mentor Graphics Corp Company Confidential www mentor com 45 GE Tech Day September 2012 GNIBhISE Concurrency in Sequential Software m While we are modeling concurrent HW simulators must still execute events sequentially Delta delays m his creates unique debugging challenges regl PROCESS clock BEGIN IF clock EVENT AND clock 1 THEN IF reset 1 THEN data in data out dl lt data in END IF END IF END PROCESS reg2 PROCESS clock 2 BEGIN IF clk2 EVENT AND clk2 1 THEN THEN END IF END PROCESS reg2 k clock lt clkl data out d2 2012 Mentor Graphics Corp Company Confidential Menia 46 GE Tech Day September 2012 www mentor com G Traditional Viewing of Delta Delays Simultaneous events delta delays are not visible in typical waveform displays All signals change in the same time step Laas ZE List Default EE Ban sae DO DS A list format can dik a show you the order signals change pr 1 10010 D D 550 42 11011 0 0 550 3 Pili o T Delta Delays 550 4 13174 1 T 5 Sni 11111 1 2012 Mentor G
24. entor Graphics Corp Company Confidential Mahler 42 Questa 10 2 Customer Update Feb2013 www mentor com a y Display Properties ftest_delta CHIP reset jtest delta CHIP clock itest_delta CHIP address GNE AEE E EE EE test delta CHIP rdb ftest_delta CHIP csb jtest delta CHIP wrb Control how names a jtest delta CHIP crc write are di S ave d a test delta CHIP f m D y a Test deltajCHIP test deltajCHIP i reset PZ test deltajCHIP clock ES jtest deltajCHIP address Z test deltatCHIP rdb Wave Window Preferences q Ka Display Grid amp Timeline alal Display Signal Path Snap Distance l elementos 10 pixels e ms Use O for full path IS RE ES f wb 4 pixels amp e crc write Justify value Child Row Margin T a CC read Left O Right 3 pixels g crc address B4 address 3 Enable Disable pf data in SZ dn v Waveform popup showing data value 3 data out ce waveform selection highlighting E rd v Scroll to end when run completes Cursor 2 ODC on close ask about saving window contents e dE T Cpu Zo when a waveform is K ENE double clicked Double click wil Find Active Driver Ui EU T eee n Also togg les Do Nothing sig nal path Show Drivers in Schematic Show Drivers in Dataflow n Dataset Prefix Display Display Signal Array Size E Always show Sh
25. error COI 1 lah S execute Time 350 ns Started 350 ns Scope fifo tb ul a0 ERROR FIFO SHOULD NOT BE E MPTY File src assert sva sv Line 31 Expr empty Sil ulation out ut as It Error Assertion error Time 450 ns Started 450 ns Scope fifo tb ul ad0 ERROR FIFO SHOULD NOT BE E MPTY File src assert sva sv Line 3l Expr empty OCCU rs Error Assertion error Time 550 ns Started 450 ns Scope fifo_th ul a0 ERROR_FIFO DID NOT GO FULL File src assert sva sv Line 34 Expr full Error Assertion error m Message Viewer e SSN Organized Dy message K pe 2 dy DE mE 07i ae ER type and severity E Error Assertion E EXPECTED data aa full 0 empty 0 849 ns 0 Jerciffo tb sv 116 fi 849ns FIFO data xx Full 0 empty 0 849 ns 0 Jsrc fifo_tb sv 115 A 1049ns FIFO data xx Full 0 empty 0 1049ns 0 Jjsrcjfifo tb sv 115 fel EXPECTED data aa full 0 empty 0 1049 ns 0 srcjfifo tb sv 116 fy EXPECTED data aa full 0 empty 0 1249 ns 0 JsrcjFifo tb sv 116 fe 1249ns FIFO data xx Full 0 empty 0 1249ns 0 Jjsrcjfifo tb sv 115 GA EXPECTED data aa full 0 empty 0 1449 ns 0 jsrcjfifo tb sv 116 fe 1449ns FIFO data xx Full 0 empty 0 1449ns 0 Jjsrcjfifo tb sv 115 wa m Time 650 ns Star pa Misc 6 Ca n be fi Ite red a nd File src assert sve Error 6 s Mutin i em fe Assertion error Jsrclassert sva sv 19 sorted for ea
26. ert_sy2sut21 sfOVLisync_Fifofsrcfassert_sv ERROR FIFO DID NOT GO FULL assert clk cnt 15 amp amp write E ERROR FIFO DID NOT GO EMPTY assert clk cnt 1 amp amp read amp amp ERROR FIFO FULL WRITE CAUSED FULL FLAG TO CHANGE assert clk full amp amp write amp amp a s Default write read full gt empty read gt full EE Wave Default x eal a 6 Testbench p CIK 4 rst n amp FIFO Inputs 4 write 4 read 4 din FIFO Outputs 4 ful A empty A dout E FIFO Internals J A wptr e mr B cnt L ERROR FIFO RESE ERROR FIFO SHO ERROR FIFO SHO ERROR FIFO DID message occurred ET AE t E en A DE 2012 Mentor Graphics Corp Company Confidential www mentor com Graphs Wave Window to Message Viewer Linking m Wave window marked when messages occurs TX ml al Bp Testbench 4 clk 4 rst n E FIFO Inputs 4 write 4 read din FIFO Outputs 4 full d empty Double click the message n MORG to automatically filter the message viewer erg Messages 3 File Info Jsrclassert swa syi28 Assertion error 3D ns Assertion error 20 ns O 2012 Mentor Graphics Corp Company Confidential Mahler 25 GE Tech Day September 2012 www mentor com G s How to Enable the Message Viewer By default messages are only printed in the transcript Mes
27. expand group DUT Outputs test delta CHIP crc read 5 add wave noupdate expand group DUT Outputs test delta CHIP fs address 6 add wave noupdate expand group DUT Outputs radix unsigned test delta CHIP crc address 7 add wave noupdate expand group DUT Outputs test delta SulP fifo out clock 9 add wave noupdate expand group DUT Outputs test delta CHIP rxc 10 add wave noupdate expand group DUT Inputs test delta CHIF reset 11 add wave noupdate expand group DUT Inputs test delta CHIP clock 12 add wave noupdate expand group DUT Inputs test delta CHIP Z address 13 add wave noupdate expand group DUT Inputs test delta CHIP rdb Y n 14 add wave noupdate expand group DUT Inputs keet delta 15 add wave noupdate expand group DUT Inputs 16 add wave noupdate expand group DUT Inputs Ateet delta 17 add wave noupdate expand group DUT Inputs test delta 18 add wave noupdate expand group DUT Inputs test delta memos 19 add wave noupdate expand group DUT Inputs test Selta CHIP ted 20 TreeUpdate SetDefaultTree 1 WaveRestoreCursors Cursor 2 0 ns 0 Cursor 4 25803 ns 0 Cursor 5 26597 ns 0 22 configure wave namecolwidth 150 23 configure wave valuecolwidth 68 24 configure wave justifyvalue left 25 configure wave signalnamewidth 1 26 configure wave snapdistance 10 27 configure wave datasetprefix U h 28 configure wave rowmargin 4 29 configure w
28. fferent Simulation Modes m Each Simulation mode has a default layout m Use the Configure dialog to assign your own saved layouts to a mode File Edit view Compile Simulate Add Structure Tools Layout Bookmarks Window Help KR See io CD d Reset a TE Save Layout As Configure Window Layouts X az Configure t Ee R g Delete Specify a Layout to Use sim Default ST MODEL Delete All When no design loaded Wobesiqn wi wnstane Designunit TE BM test delta test delta rtl NoDesign When a design is loaded Simulate wi CHIP delta rtl Simulate When a design is loaded with coverage enabled C wr J control INST micro Coverage a overage wi EN txproc INST tx process rt VMgmt When a dataset is opened with testplan DS wi M preproc INST pre processo my layout Architeckure Architeckure Architecture v Save window layout automatically Hint If you don t want the tool saving all changes W Save window layout by current working directory Chitecture Window Restore Properties Architecture Cancel to window layouts when you exit uncheck these boxes Architecture 2012 Mentor Graphics Corp Company Confidential Menia 10 GE Tech Day September 2012 www mentor com G Context Sensitive Menus File Edit view Compile Simulate Qu Library J bols Layout Bookmarks Y m The main pulldown me
29. irdy Sto ge ftopipjaddr IRR loodoio01 jooodh TTT jonn0n JOOOUD Jnanon 100000 JOODOD FS ftopioidats OO 0000000000001 Wave Editor gt lO Zoom In Now 2820 ns Zoom Out c 2065 ns S Zoom Ful F mees E Zoom Last L ce ETE Imi CO i Zoom Range R m WW Expanded Time d m Automatically do many Show EEE nrar Cause functions all the way to o Vin 1n GO LOU vaye y Annotate DIFF Show X Cause ChaseX th e r O ot Ignore Diff Clear Selected WNZ IT Select Related r X cause is a sub function of uc c Select Chain E root cause Select Meta Transaction Properties Transaction view View Aly d 2012 Mentor Graphics Corp Company Confidential Mahler 59 GE Tech Day September 2012 www mentor com G 60 Show X Cause Schematic Path Dono Ce CERE Do Hs AL ASS VAL Dr 0 35 ut ns Di RH P ch Times 2065 D Hir keep U Start 2065 ALL gt GE Tech Day September 2012 Input to OR gate shows Hiz KE Esfpartsitoolicausality tre Ani x ai Result of last X value shown in source E E parts Enol causali File Edit View Tools Wi Ln al ass ide E St ot 22 m assign test rw EC Leste SIX Sti Stx ad assign teste rw test inl StA SO L 24 assign t out test strh Si Ln 22 Col O READ EI 2012 Ment
30. k address rdb csb wrb fifo ram data l a full indicate l fife empty indi lom S i iom sdsz iom dck iom dd memcs txd ine 358 VECTOR STORE line 1153 TD DCS ELTE line 1151 m CELLTX18 FiFacell rtl Architecture line 1150 CELLTX19 FiFacell rtl Architecture line 1149 n FiFacell rtl hi za cura scree Mao Undock line 1 121 amp Close buttons Loading work fifocell rtl Loading work bd4stibd4st arc Tab Groups VSIM 3 gt Now 100 us Delta 0 Fifocell rtl 2012 Mentor Graphics Corp Company Confidential Menia 8 GE Tech Day September 2012 www mentor com G 9 Working with Window Layouts m The Layout menu offers the ability to Reset the tool to the default ture Tools Layout Bookmarks Window Help Hint Reset can be very helpful o CHE when your windows get messy T Spee k Delete Al Save any layouts that you like est delta rt NoDesign delta rtl Simulate icro Coverage x proglksirti vMgmt bre Mrocessor my layout m Saved layouts as well as several predefined layouts are E available from the menu or using the Layout gadget in the toolbar oDesign ki Es P Simulate Architecture Module Architecture Module Architecture 2012 Mentor Graphics Corp Company Confidential GE Tech Day September 2012 www mentor com GNIBHISE Layouts for Di
31. n do Default E the simulation 3 4 94 3 Tel Execute Macro 1 pd E parts assertions OVL sync fifo Wildcard Filter 2 vlib work A 3 vlog sv f src comp sva lst Edit Preferences 4 vsim fifo tb bound assertdebug msgmode both displaymsqmode both 5 add wave expand group Testbench 6 add wave group Testbench fifo tb clk 7 add wave group Testbench fifo tb rst n S8 add wave expand group FIFO Inputs a add wave group FIFO Inputs fifo tb write 10 add wave group FIFO Inputs fifo tb read z PT add wave group FIFO Inputs hex fifo tb din After creating the com ma nd 12 add wave expand group FIFO Outputs T add wave group FIFO Outputs fifo tb full 14 add wave group FIFO Outputs fifo th empty histo ry file all com Ma nds 15 add wave group FIFO Outputs hex fifo tb dout 16 add wave expand group FIFO Internals m 1 add wave expand group FIFO Internals unsigned fifo tb ul wptr executed In Questa are 18 add wave expand group FIFO Internals unsigned fifo tb ul rptr 19 add wave expand group FIFO Internals unsigned fifo th ul cnt m m 20 pam call saved in that macro file 21 wave zoomfull 22 1 Ln 1 Col 0 e 2012 Mentor Graphics Corp Company Confidential Menia 27 GE Tech Day September 2012 www mentor com G Agenda Questa Debug Essentials E BR m Source Level Debugging E 2012 Mentor Graphics Corp Company Confidential 28 GE
32. nu s EE selections are iea 0 o ki Name based upon the s HE arbitrator current active 282 n E f File Edi view Compile Simulate A M Ms Layout Bookmarks window Help ES E u p i Six a SPT Jou Coverage Gus d SN ss Memory List Layout Coverage vi Wave ditor Ix tel ad b Combine Wignals K nstance PP wave Default Group EI fifocell test dekajREG 5T eo HE fs add mux test delta IC FIFC Object Declikation WI n OW Le dan test dekajFRAME AL AN e E ED i test dekajrX VAR reset eect Hi mode two contrg E post processor Z kest deltajTx VAR E Se ect A d Ha pre processor sp test delta SETUP t address Zoom Sm g 4 test delta SETUP F rdb Assertion Debio csb different a sv_std window will activate this and adda h vital2000 hi ieee specific menu pick wrb fh modelsim fib iom sds BJ std jom sds2 xli std deffeloperskit om dck AM synop iom dd memes DUT Outputs CIC write A CC read crc address fifo ram data Force fifo full indicate fifo empty indicate Cursors Signal Search virtual Builder Filter Waveform h Wave Preferences Examine NoForce Clock Mouse Mode Delete Window Pane Lg Remove All 2012 Mentor Graphics Corp Company Confidential GMishier 11
33. ny Confidential or www mentor com G j Cursor Linking address rdb csb wrb Crc write a cre_read gs crc address WK Now 100000 ns a Posedge CLK Bw Negedge CLK 20008 ns address rdb cb Both cursors m move together crc_write a CTC read ES crc address HH II 100000 ns 20069 ns 20130 ns me Now a Posedge CLK a Negedge CLK 40 GE Tech Day September 2012 Yo A A Goto Posedge CLK Activate Posedge CLK Lock Posedge CLK Delete Posedge CLK RMB click amp select New Cursor 19965 ns Cursor Linking Cursor Properties Grid amp Timeline Properties Filter Waveform Sync All Active Cursors Cursor Linking Link Unlink all cursors or select Configure to link only specific cursors Unlink Poseqge GLK Unlink All Configure ZUUBS ns 20130 ns 2012 Mentor Graphics Corp Company Confidential www mentor com Kat Cursors Based Navigation e IS srface sv testbench mem interface Jefault DEES mm Wave Default nri nna H e NI Leg 1e 92350 ns 3 Kate iaia NL L AA erface i address dshoo iehdb lape l h0 1 hl a e i data to dut H 16 h0000 3 logic reset 4 data from dut 16 hi i6hboz3 jishcsfb L Du erface iflatency 8 Ter Jghoi Jshoij e hol 10 logic 7 0 address Os
34. ocally installed GMshier InfoHub documentation based on scope Support for Questa SIM v10 1c t Choose Search O Local by Scope SupportNet OO TEXTSIZE A A Questa SIM Documentation m Re ed se n otes Femen ANN User s Manual Quest Tue Command Reference Geng Licensing and Installation Choose Scope Documents SupportNet QuickLinks Training Custom Info Questa SIM Release Information My Document List All Questa SIM v10 1c Installed Documents Questa SIM Tutorial Questa SIM scope supports these products Questa SIM Power Aware Unif ied Coverage Data Base Verification Run Manager SA e THE EDA TECHNOLOGY LEADER InfoHub Help InfoHub Overview movie Browser Settings Custom Tab About InfoHub Preferences Send Feedback on Documentation vi Z a i amp Mentor Graphics Corp All rights reserved 2012 Mentor Graphics Corp Company Confidential GNishier 4 GE Tech Day September 2012 www mentor com v A Reference for Any Operation File Edit View Window Help amp f DE amp L Bookmarks E PE 4 D vcover merge P vcover ranktest P vcover report D vcover stats P vcover testnames P vdbg P vdel P vdir D vencrypt P verror T vgencomp P vhencrypt P view P virtual count P virtual define P virtual delete P virtual describe P virtual expand P virtual function P virtual hide P virtual
35. or Graphics Corp Company Confidential www mentor com oMshiet Searching the Source ES E parts Eonl causality tracing proc y ml x File Edit View Tools Window km E partsitanl causality Eracing prac v TUE SE Ln le 2065 ns al assign rw LW sto ot 22 E oo assign teste 1 StA St at assign t out itest SE strh SH sta SIX St St1 zi E parts Eonl causality Eracing prac v mi x SS He Edit view Tools Window km Esfpartsitoolicausality Eracing prac v aie SE a initial begin Ln Snes ns A E 1 27 Z Set initial state of outputs la wire t out t set rw OWM ml stl Stl Stl Stxst0 aa TE a H 19 Wire test teste rw e L StA SIX SU HiZ Z U LZ Ln 19 Col 34 READ P Ir X Find d test in EP J 4l Aa T ja E 2012 Mentor Graphics Corp Company Confidential GNishier 61 GE Tech Day September 2012 www mentor com y Questa Update Summary Improved productivity for very day tasks Essential root cause analysis tools Foundation for adopting advanced verification processes 2012 Mentor Graphics Corp Company Confidential 62 GE Tech Day September 2012 www mentor com GNishier
36. ow vector and array indicies f Show if 2 or more Never show Find Immediate Driver Find Active Driver Find Root Cause Find All Drivers Cancel Apply 2012 Mentor Graphics Corp Company Confidential Mahler 43 GE Tech Day September 2012 www mentor com a i Saving the Wave Window Setup m Once you have the wave window setup the way you like you can save it for future reloading Signals zoom cursors radix groups dividers etc n ag Wave Le ie zl Edit View Add Format Tools Bookmarks Window Help New Window Open 100 ns EL EX EE 9E 5 i XS S o 9 a amp amp amp n m H H mr BEeTRELE an Sege Save Format Ctr4S Import Pro pa Print Postscript Close Window C ql02a examples verilog transactions relationa wave do Browse VUVVVVVG Ann nnum Save contents vw Waveform formats Waveform edits OK Cancel Default file name wave do RE NA BIR 1 4ns to 7ns sim top stream1 31 0 2012 Mentor Graphics Corp Company Confidential Mahler 44 GE Tech Day September 2012 www mentor com G s The wave do File x test delta CHIP crc write Signals wave do 1 onerror resume 2 quietly Wave ctivateNextPane U 3 add wave noupdate expand group DUT Outputs 4 add wave noupdate
37. process vid Line 240 SI File Breakpoint Add We r Modify Disable Delete El Breakpoint Label retime strobes proc else Break Point Label Jsrcits process ld Browse File Line SE i mmm 240 Po Condition CRC STE 1 AND P Breakpoint Condition CRC STB 1 AND P4 STROBE 0 Command acr Breakpoint Commands da atrobes do GE Tech Day September 2012 OK Cancel m Full control of each BP in design Add modify disable or delete BP can be saved for later reload m Each BP can have several attributes that controls its behavior Condition when BP happens Commands to execute when BP is hit 2012 Mentor Graphics Corp Company Confidential www mentor com Kat Source Code Annotation m Maximize amount of information in eed a imeem ka one window Serien mu M n m ize Wi nd OW ko E parts tool cade coverage basic src post processor vhd Default ka Ea SC kuid Ia ei ee 3 switching m 65 wait until RISING EDGE CLOCK 27267 ns gt m Can be set to Signal Transition fas m Can be linked to 00000 00000 33 display value at any anim Values displayed at 00000 simulation time nur italiae time Click to change 0 69 RCOUNTA lt POINTER 4 downto 0 elsif DECREMENT 1 then enter Yale A the active cursor in RCOUNTA lt RCOUNTA
38. raphics Corp Company Confidential 47 GE Tech Day September 2012 www mentor com GRIBAIZ Deltas Viewing Mode m Wave window can expand time to show delta delays la Wave expand time E cm Z clock al clk1 clk2 data in SC enn pen Expand on d2 lt active cursor E E ware Des Expanded Time E 1 1 l l Blue shaded area indicates me PS expanded time Deltas mode 2012 Mentor Graphics Corp Company Confidential Mahler 48 GE Tech Day September 2012 www mentor com a Events Viewing Mode The deltas mode can still have signals that change at the same delta m Events mode does the next level of expansion a ciki amp di both E EGE em change at bk Ge 550ns 2 5 Fe 9o E 9 Actual order of MES events ES Green shaded area indicates expanded time Events mode fi entor Graphics Corp Company Confidentia Mahler 49 GE Tech Day September 2012 www mentor com G s Searching for Signal Patterns X Wave Signal Search window Wave o m Like a logic analyzer you WERL cpuwait should only No Signals Selected i be active when can search for patterns in em m cpu rd is active E Any Transition the wave window Gite Falling Edge C Search For Signal value value Search For Expression Expression top DUT cpuwait li se top DUT cpu rd oi Builder
39. rted From S g n n m amp V nt LI m Signal sim top pstrb a a e e e e At time 225 ns le Type Scopp Signal Name Line Source Line 220 ns Gate jtopip strh r A55IGN 66 proc 66 assign 05 rw Pai 220 ns Gate itopip INITIOL 26 proc 31 strb_r 1 B E All processes within 1 v Automatically show Path Details after a trace completes cl OC K th at d rive S g n d GE Tech Day September 2012 Select All Signals in Path view Path Details in ml eal AA pstrb II 2012 Mentor Graphics Corp Company Confidential for www mentor com G e Show Cause from Wave cont tool causalit Y tr cing proc y Bl x Sou rce window updates to iew Tools Window Show process that Ca used oolfcausality Eracing prac v Si event sign 15 addr addr r 00000000 00000001 65 assign data r ODOOOOOOODOODODO0 zzzzzzzzzzzzzzzz 66 EC assign 15 rw Du r strob strb r st D sti 1 0 Second cursor added to wave window showing time causal process happened in this case 5ns earlier at time 220ns o E B task re m 0 READ de oen ii Now isons O ns fa dye Cursor 1 225 DL c B25 S ed nas 20 ns 2012 Mentor Graphics Corp Company Confidential Wielt 58 GE Tech Day September 2012 www mentor com G Show Root Cause amp X Cause 3 menu Riri DERI 4 jtopipirw Sti itop pirw out SEX 4 Itoplp
40. sage viewer enabled by modelsim ini variable or command line switch Provides message viewing in an organized and filterable form Saves messages for post processing debug Provides links in the wave window Two types of messages vsim displaymsgmode both tran wlf display fdisplay Message strobe fstrobe l Desired for Types monitor fmonitor MN 2 Default write fwrite full debug A A vsim msgmode both tran wlf All other types of messages assertions etc 2012 Mentor Graphics Corp Company Confidential Menia 26 GE Tech Day September 2012 www mentor com G Creating a Macro from Executed Commande Enabling Command history builds a simulation macro Add Library Tools Layout Bookmarks window Help di E Waveform Compare b A 43 4 E K Gode Goyerage Sis HE File Edit view Compile Simulate Add Transcript Tools Layout Bookmark X ot gi x Gees Adjust Font Scaling 7 Command History Transcript File Iny s imulation do san el 3 MED no TP XE fo log t9 e Path Command History goggle Coverage 4 Reading C tools modelsim de Save File pora ary Se E HN Saved Lines si non UNDE Report iae Line Prefix E Coverage Configuration gt Modelsim gt Update tna You can then execute E w Modam Pp VSIM Prompt that macro to rerun ereto Paused Promot EN E lparts assertions OvL sync fifojmy simulatio
41. se of S A Assertion error NE pat sd a A Assertion error Jsrclassert sva sv 31 d e b U g g n g gait kris e d Assertion error Jsrcjassert sva sv 28 E AA Assertion error Isrclassert sva sv 34 ME LI n ked to both the W a ve E fel Assertion error Jsrcjassert sva sv 28 wen Ce zy Display 10 amp source windows hate 10 p i LA EXPECTED data aa full 0 empty 0 649 ns 0 jsrcjfifo tb sv 116 GEES deita fe 649ns FIFO data xx ful 0 empty 0 649 ns 0 Jsrcjfifo tb sv 115 8 He be in in D La lt Ui He e Co v E 2012 Mentor Graphics Corp Company Confidential GNishier 23 GE Tech Day September 2012 www mentor com Y 24 Message Viewer to Source or Wave Linking m Display 10 gm Note 10 m Misc 6 a Error 6 IL RMB click on messages to see options KA Assertion error fai Assertion error ES Assertion error G Assertion error Es Assertion error fe Assertion error Uv d we L ven View Source View Verbose Message Object Declaratiar Goto Wave view Aly Display Reset Display Options Filter Clear Filter Expand Selected Collapse Selected Expand Al Collapse Al Cursor automatically inserted at time GE Tech Day September 2012 E E Q Messages Time 3 E partsfassertion Ln 40 J srclassert si J srclassert si Jsrclassert si J srclassert si fsrcfass
42. y Adding Signals from Different Windows m Adding signals can be done from several different windows PER wave Default 8 sim Default pan wnsane Design uit RESET test delta test delta rtl1 CLOCK M CHIP delta rtl CRC READ 3 VARIABLE ADDRESS E STATE CONTROL E MODE CONTROL CHAN ADD BIT ge CHANENB 00000 EX FIFO RAM DATA UUUUUUUU FIFO PL INDICATE 1 gf control INST micro DE txproc INST tx_process rtl Ea A preproc INST pre processor RESET Signal I E List Default AAA pwe GER CLOCK Signal ns RESET 4 CRC WRITE Signal delta CLOCK 44 CRC READ U Signal E3 VARIABLE ADDRESS ULUUL Signal JS parts tool code_coverage basic src tx_process vhd test deltafCHIPftxproc INST Default 1 CRC READ VARIABLE ADDRESS St 488 l 008 1 00000 Lg a ee E manto 142 STROBE COUNTER 610 1 008 1 00000 143 5 Bit Strobe Counter 00 amp 1 00000 144 SCOUNT process 611 3 0 0 M 1 00000 145 jegin 61l 4 008 1 00000 S 671 41 o 1M 1 00000 146 wait until RIS ING EDGE CLOCK 732 41 0 0 M 1 00000 147 if COMMON_BUS_RESET 10 or RESET O then 793 l 0 1M 1 00000 148 OUT lt 00000 654 1 008 1 00000 149 855 2 o of 1 00000 150 SOUT lt SOUT 111 915 1 0 1 1 00000 i 976 1 Q O 8 l 00000 151 end if 1037 l 0 1H 00000 152 1098 1 oof 1 00000 2012 Mentor Graphics Corp Company Confidential GMishier 3

Download Pdf Manuals

image

Related Search

Related Contents

  boxeparco - Site interministériel sur l`assainissement non collectif  Digital goniometer G-1D  3035671 es fr de gb it 1g1fapg manuale d'uso e installazione use  1600 Maintenance Manual  Final Code Generation  User Manual - Voicesource  Discovery tmax Instructions For Use  ACCESS.2 USB  

Copyright © All rights reserved.
Failed to retrieve file