Home
ModelSim SE Tutorial - Colby Computer Science
Contents
1. Chapter 2 Conceptual Overview introduction Malin ia vesicam and small for VHDL Verg Spten Verdog System and mic lngunge desig Tis enon provides bif concepti eve of te Modem simulation enmment tis cine opc wc you Wil sen more out in quen lea Design Opinizatins Refer 0 he Optimizing Designs wih yop cher inthe ier Manual asc simulation ow Refer to Cape ac Sin jc Mow Refer to Chapter 4 Per Muti lb Bow Refer to Chaps Working Wah Maple Libraries Depging ols ler to remaining esos Design Optimizations efor acing the hase simulation ti portato understand design optimalen By def ModeSim options ie statically performed nal design Thee pumas ae desig mats lar plan veg improve upto Xin seme Verog designs ner ao otized mun Gi opinions however may have an impact on he vbi uf the design simulation Fels you can ew Grin als and processes ms athe vie I these spas nd ete ate para fr ding the eign a be near Vo cto the ubon by removing iran t specie es ni important ers mak an formed decidon usw era apply tization to Sour design The ol tha pero global otimztins a MadeSa i calla vpl Peu earth Optiniring Desigos it va chaptr ine ModeiSi User s Mana ara Complete cut of opomabon del nd euumsza For det on command ptos ond sage ps eer io ap in the Releence Ma Basic Simulation Flow Tie following diagram stows debui steps fr sulting a design in Modlin Figure 2 Basic Si
2. E us p Crea Working Location m Cose e Source Fl he Doi i andae Power laca m Spec Power Ava Opin m Suites Baer Aware Ded m Ale Ress m List of Figures igure 21 Base Simulation Flow Overview La Figure 2 3 Maluple Library Flow ipse 52 wok Library Added he Library Window fun 13 Compile Sm Fes D log Hz 15 The Dein Merry His 36 The Object Window and Process Winden ipse 1 Us the Popup Menu to Add Signs to Wave Window ipse 5 9 Seng Brckpeit i Sore Window iure 11 Bhe Are Indien Woo Simon Kuppe ig 3 12 Valier Shown in Objects Window His 313 Parameter Name and Vale Source Examine Wao He CL Crete Projet Dalog Projet Lab Figure 4 1 Au file w Project Dialog ipse 4 Newly died Project Pex Display for Sa ipse 6 Libary Window ei Expanded iar ipse 1 Sistem wind fora Lea Dee ipse CK Ang New Folder Pf gine 0 Creating Saar Hu 11A older wth Sub er iu 112 Changing File Location vs the Pc Cir Sings Dialog iure 4 13 Simulation Configuration Dialog ipse 14 A Similion Contigratios he Prog ino Figs 15 Teaco Shows Op ons or Slaton Configurar ipse S L Cant New Resoure Libary Baise 2 Comping ithe Reouree Li gu 3 VHDL Simulation Waring Reported in Main Window i 54 Speihing a Seach Lita he Simile Die His tL The System Fle Aller Means ize 62 Ean he Spt Healer Fle iu 63 Tie rng Fe iue 64 Tie tt singtat ga Ele i 65 Tie tet gh Den un 6 SystemC Objets im he work Li
3. Wave window m ses 788 uring ii Wovelons Congare prov ABCDEFGHIJKLMNOPORSTUVWXYZ woking lan eating 18 23 x z ming Ware window 7 03 ABCDEFGHIJKLMNOPORSTUVWXYZ End User License Agreement Ust or ALL sor WARE SUCI 10 LICENSE RESTRCTORE canerULLY READ Ti LEER EHER ea Moms Cu I wast ig i aay men ae eh A tue sm
4. i Select View Profiling gt Design Unit Profile The Desig Unis pro window provides information iro he Stt ole wide ba oranzed by design un rater on eral Da ove by deat acorn o be Under ola Figure 12 Design Unt Performance Profile View Source Code by Clicking in Profile Window Te prone ple windows are dail lke to the Source window Yon ean buble ik specie ance ann dein nt ine a np direc tote relevant eure dein a Saure window Yu ca perfor the same ak by right chang my funcion niano design ut or ine nana c feofde wind and electing View Sure nn he Velo Doiicic est 205i be Design Unite pile wind The Scan wind opens wi ine 105 aye Fre 120 VHDL Doubleclick tum The Sous window opens wi ine 203 played esi Pere Wh Te sir Figure 124 Source Window Shows Line from Profile Data Devers gesti 7 any chem of cater View Profile Details The lle Deal window nee vit no mul performance Right liking any function in e Ranke or Cal Tice windows spem s popup mena at includes 3 Punti Usage selon When sou ee Fancin Use b Prol Deal window opens and sal stances hat we e Sele Tce 4 Richie T WaiorBven anton nd eet Function Lage fos the The Po Deas window pay al nstnces using con Tel Walonent Figo 127 The al perfomance daa show bov much sation ine id by Te Waren nach nts Figure 12 7 Profile Details of the Function Tel Close rire Be en Fr 05 UR nm Ebenen When you
5. Te sample design fr sesso i simple it binary upcoune ian asocia eit enc The palbsamcs ae fll Verl cili Ar gt tesmplentsrilchegf rrieemumer unter DL lt inal icenampleiaoral halber ls traer This esom sedie Vendo ies um coute in he examples M you have 3 VHDL Mesi ta rer sid and cnin ed tad Related Reading ses Manual Chapter Design Lice Creating the Resource Library efor creating be resource ary ike sre the dei n our tll distr ie Read Only Tha wl prevent permanent mapping o eure lira to mar meiden iie See Pel Mapping VHD Resource Lace 1 Gee a dete fr the eu rar Crates cw decry aid resource iar Copy courte om Cll drotesamplesateriakterigtbarer the em dec Wing Vit Mig arai retin the Resource Lira Ce a ny dissi called tesbrch at wil bold htt beech and pro fle Copy one om mtl srrexanpleatraeherog raise new p resource ray una ind pay As dear We into tbe nonae 3o Sat Models and change o the ee vary dict 1 you just aided de pron sn Model bold aad bung Int 4 Type im ala UNIX ll prompt ors the Mali iom ia Window I te Welcume o MaleiSim dig apa click Cine 2 Solet Change Dirctry nd change m tbe eure vary ditur you Senet A Chen the react 2 Stet Fle gt New gt Library 1 Type parts ib inthe Leary Name ld Fun 51 Figure 5 1 Creating New Resource Library lt stent d 6 samt adabnearnk Te Liban Phydal Name elds lle ot aon Once you click OK Model eetes
6. Index P rag tonne 121 add datflw command 125 prodr Ed Fr RE npe 1 Assertion design optimization 17 bus window 195 pen Minden 103 drivers expanding to 112 Be erden Enable coverage 156 Melius poene Spin modios i porem een ME CE fara ago Wave wind T pm Zee en xis oe eoe dpa ia Dow widon 124 p in Spon to p Sac viu 162 promet command ae nde 18 Ems zt Pen po pr etg uen iras 0 ing 56 ee centage non amd 6 ee Se Wane widow 14 M Song rai 19 rip aig 2 D linking to external libraries SU Baie window paige 24 c coping wena 11 og eminet 53 ABCDEFGHIJKLMNOPORSTUVWXYZ Ring 186 sneer coitus sang io fe 134 Message Viewer wind 196 N pd command 176 ge pons somibton 8 po Femme Ayer Phyl ciceciriy Shenae window 05 lysed eommectit 12 uation 7 oder profile details 100 eins pofi deat 149 mi low overview 19 o i ormand 51 52 iR Senses date Waveform Compare 170 malos s ving Sulton option 44 Schematic widow expo herrea 9S sie de ow overview If Ting d mico configurations epi aera eigo 2 Systeme Sting up the enviummen 6 upped platens 6 zu T sig besitos 183 len dase Wavefona Compare 171 tesa 169 imo meine in Wave window Tl topes aiti Sind window 164 Ineremetal view 104 sexing het 6 u Untied Power Kama UP 187 iets lig 121 Urea v Views Mena 3 Mog command 128 w
7. mm pee TERT Type unter inthe Sinton Configuration Nam e let HDL from the Paci Felder dip doi Click the Resolution dp don ans le optimization selon box or Verilog click he Verilog tb and check Enable hazard checking daran he Cickune The es er nd name bo question mk icons estatus calma ple Compile A een Conan DU ole iur 13 Figure 414 A Simulation Configuration n the Project window 2 Load te Simulion Confusion 4 Doubleclick the unter Simulation Configuration the Project wind Inthe Transp window ofthe Min window he ym he ModelSm slate vacation shows te haands and 4 pa vices gute 415 These ae the commandline aident fhe pn oa specie the Silt lg Figure 4 18 Transcript Shows Options for Simulation Configurations Lesson Wrap Up Tis concludes is Jes Before continuing You nee to end the mt ination and cose 1 Sele Simulate gt End Simulation Click Yes Inthe Projet window ck ad select Close Projet yon do ot oe te poet wll pen tne net me you star Models Chapter 5 Working With Multiple Libraries introduction Indies you wil practice wocking wb lile bas You might have mulie rare orgie your desi to acces IP rc hi poly sours oto dose common mato heen simili You wil stat the sn by etn source brary tht cons the euer design ui Nex yo wil ete a pect and cede the tet bee it Fly you wil i the rary contain be contr a hn ui he lion Design Files for this Lesson
8. Creates the working ary Compiles te desig les f Optinzes te design Loa be eng no he simt Lops al igs te dein Exploring Connectivity A primary we the Daal window s exploring he bic connect of your des Yodo tis expanding the ie fom proces to ces Talis Yu se the rauchen oa parca seal ad ec rper 1 Open te Dali window no V Tre Dt Winsen Exploring Comer 4 Select View Dataflow fom he mens or une the ew data armani SIM prompt in he Teaser wi 2o Make sare istae i slate in the Stnctue m wind 1 Dras signal rom the Objects window ote Dataflow window Figur 10 1 Figure 10 1 A Signal in the Datatiow Window 2 Kaplan the sen 2 Chek the Expand ne tal readers icon i The view ep spa the process ha are cont to a Figur 102 Expiring Connect Figure 102 Expanding the View to Display Connected Processes oie he gay do eo he tte the ipit sgl for the ALWAYSISS proce ed line the VHDL version Te ry dat cates a ip ha Fiese fe proces A chap na put wha gay dts ces ctccuton ps w h gray dota ea by the press bat ill not lant prcetaeiecitn and eo tthe cendi d ul on change the Find the vers fhe signa exon proces ANANDASO beled line 71 in the VHDL vesion i Chek Show Wave con gl ton be Wave Viewer Yon moy neta Soest eat die window severing Dion Viewer Tho a he wave sig ore pd us oris ih Sc igual ot in th Wave Viewer Tis hgh tip the nr Th Data Vion Figure 103 Select
9. Exporting the Created Waveforms ina frat You dieu tc decisis clone ba eiii d 1 apt te ed armen a HDL tet bec ott 2 Selec Ple Export gt Warden 1 Select Vero Testhench or VHD estbench if you ane sing the VHDL cumple fie c Ener 10 oc d Tine i nse amp Type ap ie Fle Name i and tick OK Figure 10 rent Simus Vi Wim Eis Erin he Creed Wera Figure 611 The Export Waveform Dialog eee Models erste ile mama export report i the caren etn ater inthe esto we wil compe nd slate he He 2 Hape eat waveforms in an extended VED format Selec File Export Waveform Sole EVCD Fie er 100 fr End Te ses and ck OK Models crests an extended VED ie named era We Wl por hs ie erin ie Run the Simulation Once you have fase ding te efor you can tun be simulation 1 Ala design ia Inthe Objects window right clik commande Ad Wave The sel ald othe Wave window 2 Run the inten 3c Ener the owing command athe Modem prompt The saion os fo 1000 nd e elon dr for nvleetertoan Ppt 612 ary Figure 812 The counter Waveform Reacts to Stimulus Patterns Bree wien cl go big amd y cu sec lat com lla tie para yu ceed when 3o Quite simulation you atto ql sulting Ch Noi vod ae nk o save the wav command Simulating with the Test Bench File 2 Ane Modelo pop ener ag expaet or Yea export abd yore Figure 6 12 The export Test Bench Compiled into the work Library a NS 1 Enerth
10. Slee Tod Waveorm Cumpare gt Rules Save 4 Chek si hisses compure rl the cune decoy 2 Sees Todes Waveform Compare gt End Comparison 5 Reload te comparison dt 2 Wabibe Subst m window ave sles Fle gt Open Change the les of Type ta Log Fes Figure Li Sang and Reloading Comparison Data Figure 144 Displaying Log Files in the Open dialog Doubleclick gelten e dtu 4 Selec Tole gt Waveform Compare Red Soci Waeferm Rule sd Wavelorm Dillence ler speed Figure 1 Figure 14 Reloading saved comparison data Ck OK Te comparison rind You can drag be comparison objet othe Ware o Lit dow to view the lerne gi Lesson Wrap Up Tis copclades this eon Before continuing we ned toendibecument imum and clo porre 1 Type qim athe VS prop 2 Type date chos gd at be Modem pomp Chapter 15 Automating Simulation introduction Aside rm exccting a cup o peeing DO fles the previous eons cu on ing Model trie une executing sigle command on ar another via he GUT senis or Main window cumin lie I stations where yo have rev ts 2 Complete ot can acres your producit with DO filo DO ise septs ha all yout exec many commande t once Theses can bea ipe asa series o MadelSim commands with aha rhe ran be ul Ho prose wi varble condita excl and so forth You can execute DO fs rom tin he GUI ac ia caa run dh m he tem command pii wii ver Note i ison zum a ya ave ald Cant irs Topf dir o your A
11. 1 Me ont ad unter tothe HDL oder 1 Sl th country an unter i the Prat vido Right ik iter le and let Properties Tis open the Poot Copier Setiags dos Figure 4 2 which allow you to seta Variety lotos on your dei es Figure 12 hanging Fle Location via the Project Compiler Setings Diaog eet ti eet nen di pro re Chek he Mace Im older dp down aro and select HDL aon Considera 4 cikoR Te sles ils are moved ino the HD folder lc the con net ih HDL Te files ae now mark with a inthe Stas column bene you moved he ks The port wo longa aces the pri cmon al vali Simulation Configurations A Simulation Configuration associates 2 design unit aps simulation oon For example Jay tht every tme you lol owner you wan sel he itor vl tect p and enable even ener azard checking iia you wouldve ify ose optom each neyo aad the design Wale a Simulation Conan Jou ql plns ra sen and ben save congr that seca th dei ad i pons The configuration ben sed nthe Prot wind and you can double cick 1 lat 1 Cente new Simulation Congo 4 Ricca the Projet don and select Ad to Projet gt Simulation Conliuzuan kom be pip nem his opens the Ad Simulation Configuration ig Figur 13 The tabs in is lag present several Sul opis You may wont to expe the tls oes at valle You can coat e Modelim Ua Maal to st deception Pues Semusten Conpratone Figure 412 Simulation Configuration Dialog
12. lange a jou update poa den nd recom A resource May pill te nd Secr apa source lor oar design You cun crie your ova soc bai or ey a he spp by nace sg eam ra id party Vez aces vd pere Orhan Too Yon spect ich once brain wil be tad wb the dign i cse ad hee ne ls april im which anle bey ac sche A common expl of aig lh kane roy anda sour bat is ne wee yo pae tel design and vt bee cope inia th wein ray and be dh renes gi lvl lat apart eue os Tbe diagram below shows the fas step for mung ih mutil rares Figure 2 Multiple Library Flow Yo ca io ink to source bris om win poet yn are ting a poet you woul nplac he fist ep abe wi heo ep ete de projet and abd ib tot beh be eos Debugging Tools Model ofen nomero toa for debugging nd anlying your design Severi lee diae covered saan on ladle Using jes f Working wit uli rain Simaating wi Systeme Sting repens and stepping trough he wc ce Viewing waveforms and measuring ine p Bebuouns Toi f para he physical connecting of your dein f Viewing nd initial memores f Ceatng imal wi the Wavlorm or t Analying aon pede Testing ende coverage Comparing warum f Using System Ventg asennad cover eier f Diog the System Verl DPI Debugging Too Chapter 3 Basic Simulation Introduction Indies you wil sy though the has simulation fv Cra the Working Design Library Coie e Desig Uns Opine the Desi Lad the Design ean he Sai
13. Figure 133 ne Tal ar dpa ment aay Figu lysis Analyse window opes For seentivociion he Lot chose nds i Typerun ms he VSIN pron ms Win Cte Coverage When ou laa design wi Code Coverage enabled Model as sever coverage data See more overage dats cal Your res may ro sch due ann ine ite Figure 13 4 Code Coverage Columns inthe Structure sim Window You cn pen and lose coverage windows wih he View gt Coverage men secon Figure 125 Coverage Manu enable To sizes wil chek nt dra on y harder To sve a window cc a fag on e fear hand ace rows fdr m the lef the bee or eek dea ihe be Dodo buon ia the beer ba op gh To redock the window chc he Viewing Coverage Data 1 View coverage ditio he Sch bim Winden 4 Select he san ande he hz el bar to view coverage dat in the 1 Sclcthe Fle abo site tothe le window and ero othe igit You can sng which canerage dala corns ae displayed by ig liking an ny clam ume selecting Change Calma Visit an ilt ala o ne popup Figure 126 Right click a Column Heading to Show Column List reg cola whether played or hidden is enitn between vacan cf 2 View onere das In the Statement Anas view oh Coe Coverage Anal Sim in Cate toe in teen Anaya en tpi inthe Co Cove Aras Figure 137 Select Statement Analysis Ku ples stow coverage daa fre elected e in be Seen Ans ve Doubleclick any ene in be Statement Analys
14. The paar the es an as allows System lt hotlldirofeamplei tonic base System Verlag intl drstenumplestemhe vog SystemEIVHDL inl drslenampleinstene sll is tenon use Sys rVesg veto he igh design inthe xan yo have 2 VHDL icone ud VHDL vet nen Tice dia id sono th do ha beinahe do pt acount forthe ih derece n hat von Related Reading Die Mandal Chalet Syst Simulation Mie Langige Slam aC Debug porre Setting up the Environment Syn isa red fear Von eb prec eni etr i your Mode eene fiet sine Spent dede Pe contact your Mentor Grapes les prenait Table 6 1 Supported Platforms for Systeme Tasas Supsertedcampiervenionm SEA etii adiectae D ad GL SUSE Linus Enepise Serve 0 ran pe Red Mac nei Lic 3 4 5 ora complete lst supped palo nd Spem compie Sethe Suppe Mater Molen er Mane fr fer dts Preparing an OSCI SystemC design arn Open pen lioe OSC compli Spem dig to on Malin yon Repu se maid han SC MODULE penal ang proce wo contain any Renwve cl os eal In oder toit poet teen OSCI ad Model ition we ecummend tht he deni sly ccm cogis the MIL SYSTEMC precessing dette and Sirsing Sytem Desire Preparing an 05S Sc den ors information os ee modifican rra Meine Syne Sc Con the Crete sow diste and copy be wl es ii Statby rein a ew decor ortis exercise in ae abor nes wil be working ies esos Crete he decay ten cop al es fms int drofeamplestmch brio e ne
15. Lesson Wrap Up 1 Sele ie gt Quit cse Moses ing To wt he Simoltor Chapter 16 Getting Started With Power Aware introduction The flowing sci dese llo sus a Power ae ilio of n RTI deg Objectives of hs cae Cetin configuration ein Unified Power Forma UIP wich define the lo f Working trough he wage ow for Power Aware veran cha we defined Sse power neat UP oa ctn Observing the rl of Power Aare tention g op modes in securely modeling power down and retia eio at he Regier Taufe Level Design Files For This Lesson Ta design this emp i lck eiven ery inane wi nasi te To ch me load ander cnt ira sun here source tiles tor interiosver design Forth nee yo otl smit f he regles dici tea Working Location 8 Script Files The Kai direc catis da Gl for compiling ud ing al mal Saar do Ande UN and etc PA nlt comple da Cote RTL sue f dipl lo Kun RTL sation f heridos Simon commands Create a Working Location Deore you simile ein fr is example yo shoul ikea copy fiin Working con et a rary and compile the sus cadent Hay 1 eae anew distr outside your slain dict or ModelSim and copy he aig eror is cole ii 2 dee Modest feces Type im sta UNIX abl romp or bie ick he Modem co a Wind When you open Modem orbe ste on wil sete Welcome Mose log bow Chek Cie Wen Models pays chos File Change Dir rom e mann tora siiexample one whore my toil e cur you se
16. Maal Tor p gt PDF Bake IMDB ep Foreign Language POF p gt PDF tke paca Moeial Luis ipsi esee ropes Support Table 1 1 Documentation List Tarament Format Howto etit Command ASCE ype bap Teamemand name e om he esc pane Exwmesgehiy PASCHT ope verno emsgNum a ihe Transen or st rome Teton Paps HIM ci Help Ta Man Pago a ran etc in dlc Rd el id Download a Free PDF Reader With Search Mentor Graphics Support Mesi pie prt ut indes sare ehancertenis chic spp acces mgehensive alin vce wih Support ad he opto OnSite Meat service ran each tnde of terial soins ew documenta rage a Service Reet I yo seio under umet supp sed you do have Super lag ot cun gie e Detpij rgportsat santos causer reglatar en Before you Begin reparton for seme ofthe les eves cri etl upto you You wil decide the bet Bor von ein en yous operating the simulator itin Model s QUL be interlace consist or ipia samples show Windes pa surat se parts propa or your pert ten ben ying the examen Example Designs Models comes with Vero und VHDL versions o the designs used in hese ls This allows you die tril eptet af eich cess ype you kate Thigh we ave vid ia inae the dflerences between the Verg and VHDL versa we cal ot dos all hes canes whee designs er eae mben oat you wil ind Language Specie srt Follow the sets tha ae appropiate fr the langue yo un eire you Bein
17. Resource Liter een the Proje ing whe Resource Ley Vols unt ting 0a Reuse Lice Jertoncny Mapping VHDL eue iion repay in OSCI Sym deli Coming a Sptemt om Design Mined Spent and HDL Exam Visio Sym Objet in ie OU Sting Brikgois and Stepping iade Se Window Eman Synt Oto and Varie onoving s Brcakpoiat As Ot the Wake Window Zooming he Waren Doplay dog Canon ine Wave Winden Working wth Mlle Cure Saving nd Rein e Window Firat Compile and Loue Design ee Graphic Suus viia Wind dt Waren a be Wane Winde Sine tnd tse Wave Commande porting the Created Waren Simulating withthe Tes Bench i Inparting an EVCD Fie spring Conmecriy Viewing Source Code fc Schema Using zd ong Ian acing ien n ITI spring Connery Ting Event cing an Wika plan Herc os he Dal Wi lowing And Iniiling Memorie View a Memory ant Contents Navigate Wat he Memo pen Memory Dato File ilie a Met View Pesorance Da i Ple Windows Mi Sou Cale ly cin n Profe Window view Pic Dead ling a Petras Bolle Rep Stating With Code Coverage Coverage Ss nie Source Window Tonle Sates le Obi Window Bashing Lines nd Fs m Corerae Sc Grating Code oae Rega isang te Reference Date Comrie the Sialton ia Viewing Comparison Dat Comparison Dats he Wave Win Corin Dui i the List Wan ving nd Reloading Cupra Dat eating a Simple DO Fe ing in Command Line Moi tog Tc wah he Silat
18. Teast window opt sat let contr oeste opt Te asics you desipnate he mae othe optimized despa le tence Dr rare REED eee Woing Mile Lie ning t he Asa rry Tie Main widow Transports an er ding he design bea the comer The preci liking torso ran fen Been Veg and VHDL you ae ing Verlos ll te ps n Linking ia Resource Lian If you are ing VL low VHDL Optimize the VHDL Design for Debug Visibility i ner the following command tthe Quos emp inthe Transen Wino opt sar let contr oett opt The tae ich provides vi nthe design for debuting pues The sich allows you design the name of the pine design le encounter i Not D Vos ist pad sume or tie pian sign Re wc you ee Op command Te in window Transcript reports warning Figur 3 When you see menage that conan ex ke Warning sim MTS you can view mune detail Figure 53 VHDL Simulation Warning Reported in Main Window meus ci Bes E 1 Type verra 413 a the ViIM promt Waning Vit Mig arai king t te Resour rry Tie expanded e messe ells you at component dt in is ce hat een cilc bound and a dealt adag cia S oun Type quit dm o quite cilio Linking to a Resource Library Linking wa resource lr reise a you spec seach irr when youve tie 1 Specify ase bay during ution ick te Siu cn nthe Mi window wo EI Uncheck the Knabe opinion selection box Cice Late tah Cickibe A bution est the Seach Liars nd Bowe apart
19. a SystemC only Design Wath be odit comple yo e ready o compl the desi Designs ht conti ly System code compiled ih ccm 1 Cee a work ay 4 Type oth work at the Modelo prompt in he Tease window 2 Compile slink al System files 1 Type seo bac a te Moelsin gt pompe The oponen compiles the design oe debug 1 Type secom ink atthe MadeSin pomp to perfor the al nk on he Sen abject Med System ana HDL Example Youve cesi compiled and ned the design The seco compibtion vere that Alle near e maneains have sen etre cel Inte nex exercise you vil compile and load a design ht nce bu Syste ad HDL Mixed SystemC and HDL Example Indis nex example ou hive a Syst est beac lost an HDL mle In ore rte System test Bench to race propery wi he HDL odi you mus eee ait ale declaration Fal on lin he cat C obe Ms ig sccom ink 1 Cree a ae execs ctr ad copy the al Hes ini Stay rein a ew decoy or is exercise in ae other nee will be working ies esos Creat the etry ton cop al es fos Sill drones sig i ow sty you have VHDL lease copy eie ctl dr olexamplei tens Stat Malen nd change a he euere rec yo je i preis ls Mali atl ley be rein I ac 1 Type ii ra ttn sel ron Arte Wem t Model dal appears click Chase 1 Select File gt Change Direary and change tbe distr yo cele in sep 3 Sete working ra 4 Type Mb work the Model Transcript wind orat te working bra A Compete desi 2 Verden Type lag lathe Mel Transit widow
20. ang le dd der fr organizan proe or nie on estes Hew Poet Figure 42 Adding New tems to a Project Cena co oe n D M m Chk Ad Exiting Fe his opens the A ie Project ilo Figure 1 Tis dio et pea browse t ird s speci te ie type speci ole wo which thee i be aded and icon Figure 4 Add fle to Project Dialog gemere re a cese Cice Brose baton or he File Nara ik This pene the Sect ile to add Ya rejet log ud display te conu the eae dea Verio Stet cmt ad oun and elek pen EDI Slot counter andauernd cl Open This hss de Select es toad to projet ilg and spas the see ies the MM Get jet dig pure 3 4 Chek OK toad te ies othe poet reste a Now Project Chk Else jo dini the Add items he Pt dig You dol seo ies sted inthe jet window Fun 1 1 Question ma ions inthe Stats column indica the he le han cen compiled or t Uinc eas change sic he st scent compl The ober can Men ie type cg Veog or VHDL comin one ind modified d Figure 4 4 Newly Added Project Fils Display a for Status ERE En Rmo Goss iras ing Compile Order VHDL em Howe Jo c deci par ed ing aeg do ie ler to these Dad Binden the Users Maal lett tat ing t Sogl en the compl oer I important Flow these dep to change complain ote wis pe 2 Stet Compile gt Compile Order 1b Cikkihe Aut Generate but Models determine he comp ner by making male passes over he fe nao compili
21. iin the resource irre ietany ya eae eter ihe lemon The ing dnd have partis nthe Seach Libraries ld Figure 1 The dese aad without mo Permanently Mapping VHDL Resource Libraries 1 yo eer pibe Va Henin DL pe rab yo ern nap er Do i ads dt Jt aic mane ni im acy gh eer ly pa ie Sl he ptr ag 1 Locate he modes in be Mali instalo decry ell de modelle 2 IMPORTANT Make backup copy of the Gb 3 Change te ie tres o modem in sot u longer aon 4 Ope the e nd eter your rry nipping in e Lira schon Fo example parta tih ci tibrariespata st Ssve the fie Change the ie abe ode ie i eal agai ae eg Waning gl rae Permanent sping VL Resource Libris Lesson Wrap Up Tis ande this Jes Before continuing we nod ende een san and lone the projet 1 Sols Simulate gt d Simulation Click Yes 2 Select the Pj window to make ice 2 Set Fle gt Cote Ck OR Chapter 6 Simulating SystemC Designs introduction lm teas Sterna jn naher design langage Wi ony few exceptions inthe sent ease you can me and deb our Stern despns esame way you do HDL Note einmal Sacr a is Tv qu a gnc ame ate my Models lceme fe Please conl your Menor Grplca sales epoca You rately do at ave such a fetu Design Files for this Lesson Thor see two sample design or tis sm Th si a ey as sg al o lang only System cod The second des a ig aller ee ie et beach and op Ki a plemented Stem nd eier eve mos ze ween im HDL
22. in the Wave Window Fi dock the Wave window ithe Mai window by ihn the doc co f Working with a Single Cursor N Figure 7 2 Working with a Single Cursor inthe Wave Window Sethe nap stance in Ihe Widow Preferences dialog elect Tools gt Window Cie Find Next Teas ison on be Wave window tola BF Chk the Find Previous Transen im onthe Wave widow totu FRE Working with Multiple Cursors amp Type Band press Ene Figure 74 nterval Measurement Between Two Cursors isl d Sect Lock from the popup me Figure 7 6 A Locked Cursor in the Wave Window 3 Righ cick cur he ed bx tS an select ete Saving and Reusing the Window Format 4 nthe Wave with slot le Save arn Clove dhe Wave wide 4 Made Main window let View gt Ware All signals ad cursor tht you bd str gone he Wave win select le gt Lead 4 Inthe Open Format ig eet were and click Open MalelSim esore e window os erus te Choe the Ware window when you are hod by selecting Fl Cine Window Lesson Wrap Up This concludes this leno Before continuing we nen end be cument sitim 1 Sele Simlate gt End Simulation Click Yes Chapter 8 Creating Stimulus With Waveform Editor introduction The Waveform Hor restes mals fr so design via race manipulation o waves Yu cn then ra he ain wi ese edid water r parer Final fie fr lire Ins lc yu wil do he long 7 Crede m
23. introduction The Profiler dene the percentage simulation ime spent in ach section of yore Well the amcun ol vc ced eich unco ad ixtace With his fran on ca Ment honleeck zd roe mul me by opine our ede Users have Reit upto 15 dumm malen ne er ug he Pro Thin its the Profe ws you how une he min Pre commands o en prunmance tese Note eine decribed I tlw aque a pre Hess Tear yr Models iceme fe Please cot our Mentor Oris sales epccntdive You aren do at have such a fea Design Files for this Lesson The example design fr ths eon combo a nite te machine Which cos lavat sony The et esc ted am redes ala Tie Model isl comes ih Verg nd VHDL venons of this design The ex are caelis e allowing discre Netlog inl dir lempleshtoriaerdogproler VHDL cial dirlesmpleshtoriahllprer m sen Thilnon es be Veo Verso fr he eese Ifyou have a VDL lesus se he Related Reading ser Manus Chapter Prfing Pafomnee nd Merry Use and Te and Macros DO Compile and Load the Design Sry rein a es decoy fortis etre in ae erre wil be working Stat io ecanplshaorseeraprfier mie ew dici inl sis esumplestmeriarhlafler am eq itid 4 Type im ata UNIX ll prompt ors the Mali ann Window I be Welcome a MolelSim dialog aea ick Cine Set File gt Change Dietary nd change ta he isch ox cet in sep 2 Type Mb work at he Models prompt A Compile he desi ies 1 Verlag Type lg test sm m seg sm beh amy a the Models VHDL Type vom 93 my
24. procene ira pl nd reper and interconnect Note einmal Sacra Teva equa data cene Tee yar Model en fe Please conl your Meter Grgphis ae eeeenane You nern do ot have such a fetu Design Files for this Lesson The sample design foris leon i tst Dench ta veis coche made and how it weeks Tie palla tob es an as allows Verilog csl ir exampletatrateriog ato IIDL lt inal dicsenompleshuorahliatafue This sun ses de Veg version in he examples you have a VHDL eens ne the VHD ven stead When aces we dag ence he Venlog and VHDL Related Reading User s Manu econ Dehuging withthe Dale Window nd Daal Window Compile and Load the Design adis erie yon wil ne a DO ie to comp nd lid the design Crete se diste and copy be wl es unit Stat by rein a new decor ortis exerce in ae eres wil be working with hese lon Cte the rear ind copy ale m inal drecanpltoralkerog fi oe nen disc Expiring Connect il srs exampltaeriateh llt intend yo jut filed the previas len Modem aaa ley he ring a 4 Type vat UNIX dell prompt a us the Modlin ion a Wino I te Welcume a MalelSim dig appears click Che 1 Seele Change Dirctry and change o tbe distr you reed ine Breite tbe flowing command se Mica Vale Conte Generi ParamaerSpechram Memory sero pen imet Wath is command on remove Celer the defaut of Wlan es This ignc cel to be loge y exime ey wie vale ine a Type do run do at the Models prom The DO file does the lowing
25. righrclikaelectdfunin ot inte o he Stra wind the pap en payer a Fun Uri selec oon Inne ge skeen opening oa te i Select the Structural ib to change he Staal wink 1 Risk et made Expand Al othe popup men x Verl Right click he nO stance and sl Itane Usage um he pa At m vem Digne 23 le Details ot Function sm 0 VHDL Right click the dat tan ad select Instance Usage fom the popu seni Te Poll Det dn al nance wil he same edlen a et oma Filtering the Data 1 Fir inc orte ls dan 38 he simulation tine Chek the Calle tb change to Ihe Clee window 1 Chane the Under ed Figur 120 Figure 12 9 The Profile Toolbar Bites Soma a Sele Pl om he pop me f Chk the Refresh Pf Data buon Models ite the li tos oly those ines a ake 3 or mie he mulation ie ge 1210 tig errranc We The ler rdg Pvorance Prot Report Figure 12 10 The Filtered Profile Data Peu owes 2552 Creating a Performance Profile Report 1 Crate ale p ipu ide pec prd With de Cain window ope sls Tole gt Peu gt Pre Report ru he penis 0 open e Pil Repo dido 1 Inte Pile Report dios Figure 12 11 eet he Call Tee Type resi s Performance Pre Report Figure 12 1 The Profile Report Dialog Pole na ts on con retra Cavo Peters dns ac uem d se er E ei ee exes nthe Peformunse Memny das section sl Performance al Spot he Cult percent a 3 Select We a file sod pe cle inthe ile ma
26. simulation ad analyze or debug your dig te yo dita the prevoa cin F r now Jod cinis ing Vi hc project However rt you need oed he sult hat stated when jou 2 End be simulation 1 See Smite End Simon cick Yee Organizing Projects with Folders A you have of file wad wo pret you may wast organi them in fh Ya ean See oer either blo or alter sng Yuri M you sce oer ele aig le Soucam oily sn which older you want a le place he Une you ade ee ale He in ice 13 you cete folder ead ics yon ed he e properties io move Error Add Folders Asst revi in igure 42 te Ald tems othe Projet dig has am pon fang fes M You have lead co at dig you can ne 2 em mm oa fle 1 Ad ane der 2 ih in the Projects window nd lt Add o Projet gt Fader Type Design Finis te Felder Name ld Figur 4 Organ Projects with oder Figure 4 3 Adding New Folder to Project ck OK The new Design Files folders pay inthe Pres inden ge 4 Figure 4 2 A Folder Within a Project pera i 2 Might anyone in the jet window and ilt Add o Project Fuer Type MDL i the Folder Name Geld Figur 4 1 Figure 4 10 Creating Subfolder L1 Chek the Folder Location dop down aro nd lt Deng Fes 4 cicoK Pee Organising Projects with Folds perm Figure 41 folder with a Sub folder Rem Y migo nme Bam si mes Moving Files to Folders yos dst place fle ta folder vien you fit ad be exo the jet yo cn e
27. sm eh sm ram hd est sm at Models prompt 4 Ee te following cmd arie Made renin de Tensei wi opt sarc let am 2 eat em opt The tae switch othe op command provides visit no the design or The sich al you despnate he nome ol the optimized deen le ten em Note Dy Versus name tortie pial dig Se wc you we he yop command 6 Lade stm design un i Ener sm ssn op a the Modem pomp un the Simulation Yu wl sow nthe simulation und view the fig dats e ee trans Te Pier 1 Select Tacl gt Profe Performance or lick the Performance Proin ic in his ms he done piorto running the simulation Made ow ready to let performance dst when be simulation rn 2 Typerun ms the VSIM gt prompe ice ae ruber of ape takes eyed balia Trust and the Maia wind satus bar Figure 121 Yoor real may not mach dos in he figure Als MolelSon epos the ercnage sample a were an in Your ign ce vn sinter malo code Figure 12 1 Sampling Reported in the Transcript View Performance Data in Profile Windows Staal perfomance dts is played or pile windows Ranke Cal Tre Sc md Devin Unt Adtioal pil deals at hee ac ae pay idc Pte Deus window Allo thse windows ae able gh he View gt Pro ng men leon i d Male GUI window 2 Sees View gt Profiling gt Ranked Profe The Rank window dpa the ess of the states perfomance per and the eraty allocation prof frech Cancion inne ige 122 By eal rake perforce dass etd by
28. to compl al Verg source vun Type vem 98 shin the Models Transit window o consi ll VDL 5 Crate ego male deco System stb oc te Veg mode ing Sitting Spt Desire teed Systeme tnd MOL Example 2 Yeti Type icpenmod map sclarebon rina ing athe Modi Ein Toe map seaar bucl argument sed opel oon aa par per ee foren mode ecran Ser spend free armata vun Type spend ing gt hu tthe ModelSin gt poni The up i isch te Be inh Figure 3 Figure 62 The ingbut h Fle The snl lente i et righe a din Figur 64 A and MOL Example Figure 6 4 The est ringbutepp Flle 6 Compile and nk all System fles chong e greed ring 2 Type acne td rnghupp abe Modesie gt geom The n ringinf epp contains acide temen fir ering hand regised SC MODULE EXPORT op tenent wich iam Made at 7 Typ secom ink athe Modos pron to etam efl nk on he Siena 7L Opi the dosi ih leg viu opt sac let real oes roga opt Te sace switch othe opt comma provides al ih note dein for Dy oven ane rte pice dein ee ap cma A Loa te desi made ab a i Figure To pen orcs hse windows ase b View men Suing Syn Designs Wenig Symone Opjs m he Ul Figure 65 The test ringbuf Design mc Viewing SystemC Objects in the GUI Sys bjt are ein e Model GUI wilh grees Sin the Library window and apes quac er or damond con eer 1 View ii in the Lbs window Check on e Liber bond expand be wo
29. 6 Rig chc a Colum Healing io Show Clan Lar Pis 134 Coverage Dei Winden Vaio Pis 13 11 Coverage Numbers Show by Hovering ie Mags Rainer Pius 13 12 Toggle Coverage in be Ob Window ipse 1 13 Exel Fle Using GU Mos ipse 1 15 Coverage HTML Report Dil Pis LA Fr ag of e Waschen Compara Win Pies 132 Second didog of the Water Cimparon Wierd ier 143 Comparison fran e de compu and Objets winds ipse LA Comparsn objets inthe Wave window Pis 146 Compare eens inthe Li window ipse LOS Displaying Log Fes nthe Ope ioe Pis 15 1 Wave Window Afr Ransing he BO Fl Byun 152 Bonos Ald othe Mate Widow Takte non Pis 16 1 Rests ol he Power Aare RTL Sinton ipse 16 2 Reto f sd Daring Normal Power Dow Cycle Pis 163 The Auctions Winde Pis 165 Annan Debug Window Fiir 167 Mate Viewer Window stot gure Fig 16 SRAM Power Down m Te LI Documentation Lit Tobi 6 Supports Phorm ar Spon Tli 1 1 Code Coverage co Tibi 132 Coverage lan inh Source Winden Chapter 1 Introduction Assumptions hing his tr or Model ac oi alloggi rn sum npc Opens US Ne DE KD areis cha VHDL Velo r Semi Allen Node Where to Find ModelSim Documentation Table 1 1 Documentation List Damit Format Howto etit eaae Lei ror ep FF Bk Land TIN ind POF Help Back Gale For p gt PDF Bosh Trad Tor p gt PDF Berk IMDB Hari Terran For Hep PDF tke TIME POF gps Reference
30. Conpae and Recording Simulation Res Wih Dataset Corgi Were ng the Reue Dataset Creating the Reference Dataset Tie reeence aa ihe we tha ie tit dtt wil be compared agaist Ian be Crete so diste and copy be wl es unit Sry rein a es decoy fortis etre in ae erre wil be working with hese leo Ct the ran ind copy alle m inal drecampldtoralherlg ompure oe ne dicla I you havea VHDL cene copy the is in isl dcsenample oral bllcompare inte Stat Museen ind change he exer rec yo jet ine d previous son Model shot lend be rimi at 4 Type im ata UNIX ll prompt ors te Mawes om i Window Ide Welcome o Made dialog appear lick Cae he Set le Change Direclry nd chine ta te dici you created in ep e Vei E poete e Ti uit rc b vid vi he vi command io cree reference tut cal Ww resin the Tet Date Creating the Test Dataset The es ae ihe eat wit be compared ait reference ts Like the selrece dite the tot datt cn ea av dti the cen illom date ay ut ofthe cent simt dataset Ti imply sates ys wil eite the es dati om tie lan yo jut i Hower you al eth tnt Dec to crt deren between the vo ru Verilog i Select Hle Open and pen tet sm Scr oie 122 which lank ie this dL Sele Fie Save to save the ie 2 Compe the revise ie nd rer the simon ee aa VHDL 2 Select Fl gt Open an open tet sd Scroll ine 151 ic laos ie ic Soke Fie Saye to sane thee 2 Compl the revi an rr be sun Goreng aor Compari
31. Embedded Wate Viewer Figure 107 Source Code ore NAND Gat Fig 103 Siglo Adel the Wane Viewer Automatic Figu 104 Source Code with mi Hghigied use 1010 Cur Wave Viewer Mass Las Ev une 1012 Signal wi Uno Vals Figure 10 13 Dataflow Window with Wave Viewer Figur 1014 ChseX lentes Cans Una on il Fig 10 15 Dun Options Dialog Figu 10 16 Displaying Hirachy ix hc Deal Wiad igre LL The Memory Lot in be Memory wine Figure 11 3 VHDL Memory Data Window Fig 11 5 VHDL Data Alc Running Simili Fig 1 6 Changing he Ades Rada Fig 115 Nev Adi Rad amd Linc Leni Verl Fig 114 New Ades Rat and Line Length VHDL Figs 1 10 Eng he Ades Dict zum 1 12 Epor Men Dig Figure 1 13 Import Menor Dialog use LL Laid Memory from Fle and Fil Ya Figur L6 Onpial Memory Cone igre 1 17 Changing Memoey Cone fers ange o Alien Figu 1 18 Radon Een ence ora Range f Akon ze 11 10 Changing Memoe Comets by Highlight Fig 1120 Eater Data to Change OK Figioe 11 21 Change Memor Cote fr he Spied Ads 1 Sampling Reported inthe Taner igre 12 2 The Ranked Wino un He 3 pad Herc Function Ca Te Sera Ple Window Bis 12 Dosen Unt Perirmance Pli Pius 12 6 Sore Window Show Lie um Ple Das is 12 lle Dea oth Pun T Cle Pius 12 9 Tue fe Tar Fig 12 11 The Pie Report Dil Pier 12 12 The caltre pen pure 131 Code Coverage Window Pis 132 Anlyis Tr Tiger 133 Te Bar Days Cu Anis Pis 3 Code Coverage Comas in be Suc m Winden Pis 13
32. MET ModelSim SE Tutorial Software Version 10 1 Dl rt reserves cur cor tan ft ren o Meo Gras moni Te srl cin ir BE a he um v c Qa t CE id tr pee peed Re EIL XP ENTE STERNEN aet qeditalos m hr timen teint puc wot pres od Tee hah nates cra ent mp mie wer rg am cen tr ne queri Pn ie ang Mer Ges pc ihn hac coined hi uses a Se demo io te seri ore a far abi of erar ee CONSEQUENTA DAMAGES WPATSOEVER NCLUOING BUT NOT LED T OST PROFITS peu ictum m e EE eine Sia oraz self serra f e Comme Coler Star ade RII Mert Ghee Coran Tigra 5010357000 Tob Fre Toehore ito 522210 Support psa roro con Send Feobsc n Docrmerr gerne reir com as enda Kur TRADEMARKS Ta tem none ms ae re ete pen ore arent Kear Genie a ha een ird party ar The ure ara std ary a roan tangents Mero Gres soa ar a sas bate meres Sl gr tm ser wih ape pay Aco Ma Gr Table of Contents en Find Nadel Doch nu Download a Fine PDF Reader Wh Seach Menor Grape Spar u Bes you eg u xanple Desens is Pe u dii Lia Fi iv re the Working Design Las a Compile he Dest Unis Optimize the Dat E ind te Design 5 unte Sillas a Se Breaks a Sip tious he Sour Crac a New Pro as A iets to the Pc El Ghanging Copie Ondr Vib Complete Doug pie fe Dein Vii d iad the Design Fi organizing jets il ler n Aia Foes n Moving Fes Fes 5 Simulation Catan Working With Multiple Libraries Crasg e
33. TH ya bo wll ae spec fli ats thee c ih vag Related Reading ser Manual Chapter Tl and Macros DO Fes Prices Programming in Tel and Tk Brent Welch Copyeaa 107 Creating a Simple DO File Cheating 21 fei tgl a yoga etf comedia et ie I ii sche y willereste 2 DO f hat ode desig ads ial tote Wave window peer mulu bos agna and en vances be mto You can a cct a DO ie om aval ramen file Refer to Saying Trovit Pe aa Maco DO Heh 1 Chung the discorso create nthe Base Simulation son 2 Create DO e tha wil ase the Wave wind oc signa and nhe 1 Select Fle gt New gt Source gt Doo eit a DO Ae 1 Enerthelolioing commande im the Source window 2 Set Fes Saye A 1h Type slo inthe File nae ed and vet een sch 2 Ener dodi doa he VSI pomp the Wave window Figur 151 Figure 15 1 Wave Window After Running the DO File as When yu ar done wih dis ence select Fle gt Quo quit Maden Running in Command Line Mode rm wos ioveking th GUL Several MadelSn comands eg va i lg te Samy and hone enable han ick sem cones eu fie wien ya avo he mal Running in Command Line ode Stat rein a es decoy ortis erie Create the ctr and copy the lovin hm cial diresanplesnuonalerlog atomationlonnters eins icslamplezhanraberlo tovnatonhtin d This lesson ses die Verlag e conte M goa have a VHDL cene use the cranes ds do es ith aloe halt cir instead see es desig bar and compie he sume b Apis eter b
34. adicto Sr the bay etia the Lies wind ad dies he modi eee ne rar forth 5 Compile the ner it the eine he Wing Vb Mile Lie retin ine Poet Chek the Compile ion onthe Main window tata AS P Sehe par ib ity lom he Lary st Figure 52 Figure 52 Compiling into the Femme ome mese itera ess _ Min Tte _ Bahn tatnen 4 Chek Done Yon have ars iar oni a compl eon o the mier 6 Change toe ester distor i Select Ple Change Dietary an change he teen ca you cred Creating the Project 1 St Fes New gt Projet Type te inthe Project Name ek Do nt change the Proj Lato ed or te Def Libary Nae el The leat ray name work king ne Resour Library HL Make sure Copy Library Mapping selected The del modem ie wi e Chk OK 2 Addie st enh tothe poe Chek Add Baiting Fl inthe Ad dons to he Projet op Citroen nd select emery inthe Select ils oad aoe Chek Open 4 ckckOK Chick Cle odisse Add es the Pj dag The emer fle sein the Projet wind 5 Compe ih es bench 1 Right chick cune ad eet Camp Conpie Seated inking to the Resource Library To wrap up his part fhe eo you wl ik the par bay you crested ner Br fi ty page et each itt the ik and ac wat Rapes Mats respon erent far Vert amd VHDL nis sin Veri z Optimize Ihe Verilog Dasign for Debug Visibility 1 Use the opt comando ative with all debug vinyl espn ui i ner the following command tthe Questi rot inthe
35. aner s Dy ove tea nana re pica deg Ra gru a ap coma Load the Design Une the opted gn ane a be den wth te i conte summ When the desi aded a Suche window opens abled dim This window play the hear actae af the dong a show In Figure 5 Yan Figure 35 The Design Hierarchy char Hm Hood ee a dion an jet wow aida Prices widow ap Figure 3 6 The bec window shown he name an cara vals of data eec in ie cua pio slated in the Stare sim window Data object sae igs nes eer constant nl ale ot deed in a procs eerie ames ahd Tae Process wind displays lt of HDL ad Syste ps in oe of iur Sind or primary saison of ESL Htc Stem Level dees le rene fe foe nern By def ie window dapi e active case m yoursmulaion Ace ew model Fur amp T Object Window and Process Window Run the Simulation Weis ready hesitation But before we do we open the Wave widow anda nimbo 1 Openthe Wave window 1 Ener ew wave the cam ine The Wave window opens inde it sea the Main window Resize 0 viai onen al un the View gt Wave ent election to open Wave wind The Ware window joe o several debugging wind able onthe View 2 Alsgnls tthe Wave window i nthe Stet im window right click et ero open a popup coent c Sect AddTo Ware gt Allien in region Figure 3 All signals inthe design are add to Ihe Ware window P Enter sun S0 he VSIM propt in he Tran window Figure 3 Wave
36. atthe Models rop e Compile te dein ie Yes Type og unter atthe Modelos pop vun Type seam counter sh a Model prompt a Type wim 5 Opena Wave wind up counter tthe Model pe 2 Stet View gt Wave frm he Main window mern create Graphical Stimulus wi s Wird Create Graphical Stimulus with a Wizard Wave Erna a Crea Pater Wizard at walks you though e proces of eng eae aor 1 Use the Create ater Wiz cet a tock puer nthe Objet window ih ick th gal cit nd select Maly gt Apply Wave orm Figure 8 1 Intiting the Create Pattern Wizard from the Objects Window Tis open the Ce Pater Wizard ao whee you pec the type of ptm Chat Reate ci and aor and end ne The ef pater is Clock wich is wha we ned so click Net Figure 2 Qresiro Simus Vi Wim Er rete Grapes Sumus i s Man Inte secon lo ofthe wa ener fornia Value Leave eveything ses Wand Fah ge 2 Figure 8 3 Specitying Clock Patter Attributes I Agesesed wave apa the Wave window Figure 4 Not the small Pod on the wavelorn con nd be prefix Td Thee ems denote an eae wave You want und the Wave window EI Weiss Tana Figure 8 4 The clk Waveform Madify gt Apply Wave er forthe Vali and ick Fin Figure 85 The reset Wavetorm Edit Waveforms in the Wave Window Wave Br gue you meres commun fo ineraciey eig wavefon e 4 Click the Wave window te bart mak he Wave window ative Cliche Edit Mae co
37. ave m Dataflow winds 1 Semi inthe Wie wind util you en se Ano rig an nina Figure 10 12 A Signal with Unknown Values oe ek ie sur waveform at de las anton f gal cura 2785 Once aan the source code vi s apne withthe 1 mt signal high Dade ictiag the waveform in the Wave window o auomatclly open a no M Tre Di Winsen rag ani Unknown Figure 10 13 Dataflow Window with Wave Viewer ie Mae the curas ithe Wave Viewer 2 Tee he unkanen 1 Sees ot igna in the Wave Viewer Tit ighlighte the utat ig at 4 Ine tow ie hehe so mete Vier he A he oringe wher selected Select Tov Trace gt Chase ra the mens Sel esti and m sp gl re har rv the VHDL ran This Displaying Waarchy in te Datow Window Figure 10 14 ChaseX Identities Cause of Unknown on t_out 4 Chick he Delete Allon toler the Dataflow Viewer 1 Clickthe Shaw Wave icon ta clone the Wave view of the Dit window Displaying Hierarchy in the Dataflow Window Yon can dla ee inthe Dale window win each ce Yon enable 1 Change option pay her 4 Sle Datllow gt Data Preferences gt Options he Main window es Wen the Dai window ie doce select Tools gt Option Ku he Danos window men ba This wll ope the Dato Options dao Desa Te Oi son Diepisyog Hierarchy nthe Dion Wine Figure 10 15 Datalow Options Dialog Sele Show Hierarchy ond ten click OK 2 Aigle Datow window 1 Type data pn be VSIN gt po
38. c E E Ste ei ch ply ya we i er a Sot ee oan be er took athe values shown in the Objects window Figure 3 12 Sel respoins nd Sep trough the Source Figure 2 2 Values Shown in Objects Window ty nte ptr over visible the Sauce window nda yellow be ee enorm be Wave window Highlight asien parameter oe varie i the Source wind ht ick usc Examine io thc pop up menu to di be vani ndi cent The in Some Examine window Figur 3 13 Figure 3 13 Parameter Name and Value in Source Examine Window sth examine command atthe VSIM gt prompto cupa variae value to the Tamerit wind ce examine coun 5 Try autho step immanis 2 Chek the tp Im ico om he Sep Wola ii singe steps De dehupser Experiment on your ow Se nd eearbrakpins and se the Sp Sie Over and Conte Rn commands uni you fs comfortable with hei opration Lesson Wrap Up This concludes this les Before continuing we nen toendbecument sitim 1 Select Simulate End Simulation 2 Chick Ver rn prompt o conf ar ou wi o quit mating Se Breskpoints ad Step rough e Sou esi and Sip trough he Source Chapter 4 Projects introduction Indies you wil practice ein a projet Ali projects conti a work rary and ses st lation in a pi A rojo moy a const HDL tere file references ame fie ober ls sc s READMES or ter project documentation cd ain elenco to bilis Design Files for this Lesson Te sample design fords leon simple Bi ary u
39. ck Close 1 Sole Fie gt Change Direstry and change to tbe cir you crested in sep 5 Cree the working tary ad compile dese a Type oth work a the Model promp bh Verilg Type Mog at the Models prompto compe all ei vun Type vnm 8p sy rama dp am d ran by aie Made A Opis de deg opt acer The a sich allows you design the ae othe optimized deo pores e ten D Yor ist proniea mam Tortie opal dign Sw yo a vo ma 4 On the Library tb the Main window Workspace click le e ion eno te werk lan P Use the mid design nme told the design wi he vio command View a Memory and its Contents range dep and vidi Doe chcHing an sone open a vido playing he mena 1 pen the Mason window ad iw dat fa mer te 2M Be Memory window s sot lead pen select View gt Memory List A Memory window opes ss shown in Figure I Figure 11 1 The Memory List in the Memory window aa IINE I NN NOD Maro Ga eb Yemen mem em n mmaem DA cf 5 P EI Date chick de om praem stance In the merry atto ew it A Memory Dat window opens diplayng be contents f sar The ft lu Mone using he Velog example design the dotis all X gar 11 2 because you lave mage soul te deg Figure 11 2 Verilog Memory Data Window m ES you ae using he VHDL example dein th daas lern ige 113 ie Memory and ie Content Figure 11 3 VHDL Memory Data Window Doubleclick the instance ram_Apran2 nem ine Mem
40. command inthe Reference Manu for complet at se ower Aware arguments al en wap Specifying a part ofthe a hoc rent uns on stacks fer Insert of eel sil Dusag anal menage ae ied o ton out naling vd and ing lel ster Tbcoupa fom he above uf vot sve he following 1 Open te ete sma repeti which teat file weiten ote current Grey The pa checks pve cites hs epo which cota dead tof evel stem slang the sure and sink dom foreach evel site 2 ai thet feel ir in che ee Simulate the Power Aware Design ewer Ane atom act del de behavior of te power achte nl he sles othe power nbitcur onthe HDL design aso mantas he operation he power tol gal and eect nd pars ponte com 1 Tobegin Power Aare milan ene te flowing in e Transp wad do omata script dott rtl whlch un the vl man wih he al p rig eng San Wan Pome Are sinite Power haare Deni Aare ode Them ray a precomplod ray contine deal ad or stron ln u retention Tis bay i ded wi he ey sch Note he in window has added Objet Wa nd Source windows long wit etim bin he Sana wind 3 Inte Sahne window cli te sn ab then ero he top obe is u yo soe heehee bred ies fede 4 Doitleclckonistdener tenera em t ch dip the oe i for he Vesbech teaser teers ie Sure wand 3 Inte Source window scroll down ad ook for ie section named Sinan con sec heiming aine S1 Ts ck provides an dst rpresenttn ne power management Mock and us the fllowing eti power down normal Ts L
41. diy 2 To quickly move wa pial ales do the flloming 1 Done fick aes A nthe ues cum Ener ass IUD Figure 1 10 Figure 110 Editing the Address Directly ii Pese Eater Retr hey n your bey 3 Now et fida area da ety 4 Righcck spur in he clin and eet Find geri Memory Basta ie Figure 11 1 Searching for a Specific Data Value on 30 ion men xl a feat mnt eed ae er a Tire E 2 Verlag Type UIDI i the Find dta eld end ic Find Neat VHDL Type 240 in he Find data ed ond clc Find Nest The dt scrolls ote fis occurence Ui de Click Had Next fev more tiesto each ag he Ist Chick Cle ochne te dag bon Export Memory Data to a File oun ave emery mo iat cn da ner po en 1s xp mem pem m e rs Meme nice le 2 Makes pans peat set Sele File Expert Memory Data a bring up the port Men dialog bot fing Aa a Maas Figure 11 12 Export Memory Dialog ne Fear E ER nas PIS DL peu ERES Se Esa uide SU lm E EI othe Adis Radix eec Decimal Lorie Dats Radix sec ary Type data mem mem othe Flame ich Yon ca lew th expt ie in any er Memory pater ils con be exported lose is simply by ling ot be des forts Relecahie mera fles can be led here enar ig Air oie Export eloctale memory ae ie fom he fram prin sace a Select the Memory Das window far the am spannen instance Might clon be mens contento open popup menu and select Properties nthe Proponi set the Address Rade u D
42. e Objects window gh lich and the let Add gt To Wave Signals in Region Mats open Wate wide play signal in th eo Pace the carr one an object ad ick the mie use baton o place a abet Selects group objects the ick the mide mouse baton wie te cuore 2 Unlock the Wave wind iy default Models ops e Wave window in de right se he Main window Youcan change te dla v he Preference alg Toul Edit Preferences 2 Chek tie vns con he Wave window rain We Zooming tia Werl Bop Tee Wave wid becomes dioe dati window Rest e window as 3 AM objets ng dap add Yon can deg nobjectotie Ware window from many aber windows eg Suche Object nd Loca dede Wave win select Edit Select Aland hes Et Delete il ads the bees or ha sone the Was indo x Dr signal om the Objects window toe Wave widow Inthe Wave window select Eit Sect Aland then it Dele 4 Ad oe inge ad wave command a Type te following atthe VSIND gt promt Maen a al objets rm de cuent in anthesin o S00 ss you cim se waforms Zooming the Waveform Display Thee munem meh za a ifr dog 1 oom the play ing vais techniques 1 Ck the Zao Mode ion on e Wave window tola FE lathe waren play ck and ap do and he gi Yon sl ne ie vers oe d mbes fing an are a wot i s Figure 72 Zooming in with the Mouse Pointer Select View Zuum gt Doom 4 Ciekihe Zoom Inca few ines 1 Scc View Zoom Zann Full Using Cursors
43. e discry and copy he cur en uit toi Loa he cute design ni wie ate ac Che wae vin wend i waves trative in be Wave window f Export the wanes ton HDL est onc nd extended VCD fie Run de inis f Resin sing be exported test eae and VED le Related Reading ser Manual Sections Generating Simul with Wateloem Edo nd Wave Wind Design Files for this Lesson Te sample design fr sesso i simple ary pur t ws ui sk Simulation The palbrames ac 2 follows Verilog lt intll dir gt ecanplestsrialerog he Simulation VHDL lt i gt ecmples hari lai Sinan This Jes wes the Vtg version inthe examples Ifyou havea VHDL ems ne he VHDL venom ited When nes we dtp between the Verog and VHDL Venen of he ds Compe and Load the Design Compile and Load the Design Note mal u Ihe Waveforms Hl eor t adig dein Kar Io he en Using Water Eie Pie Lali Design he User Man fr more 1 Cee sow cry and copy he wail es int it Stat by rein a ew decoy fortis etre in cae beris will be working wl ise le Crete the inc ud copy tele etter iu sal dnanple torri aimo o he rcv Ann I you hives VHDL cene copy the ecouter hd tom anal desamor hl San he new decors San Mein ind change othe ety on cres ths eam ep 1 yo ined de pve sn Modem bold aad bung Int 4 Type im ala UNIX deli prompt oris the Modem ont Windows I de Welcome o MalelSim dialog appear lick Cae Sect Fle Change Dirty nd change ta he isch ot created In sep 2 Type Mb work
44. ede contents rn our Compl the Des Units Model as she ba to the Library window Figure 32 a eo the rary map oe tare rennen he Model nats le ected Figure 32 work Library Added tothe Library Window When you presi OK i step 3 bone he along Wat pied he Tract wi These te ine an ie command ine gua fhe menu elections you made Many commandline aident al tse menu donem lanctions idis bn Compile the Design Units Wat the weking bay ee you te sea m comple oa aur is Yo can compile by sing be mens and dogs of the rope ice ax in de Verl ple belo by enlring a command at the Modum pomp Comi outer and toute 2 Sect Compl gt Compl Ths open he Coie Source Fes log pe the Compile men option taal you probably have projet pen Io ose the ject by making the Lay wind sche a ce File gt Clase 1 See bh mer a cotter dae hoa the Cile Suse Fils lag ad cic Conpile The le at compe ie werk rn When compile nie lick Done Optimize ha Design Figure 33 Compile Source Files Dialog 2 tay far An ie ee Tee che unse um Oe 1 Gmieetgee desk tatnen 1 Jade Library window clk the 4 ion ex toe vor cry zd yo wil ae Figure 3A Verilog Modules Compiled into work Library Optimize the Design 1 Ue the op nano plz be dea with bly nt ded un Enc fig comms tte Mote promt in te Tras wink opt acetone oeste opt lies the sen ur debugging ppc The tae sich pides vi dinde Denn esco
45. ee command at a DOS UNIX prompt ia tb new dicor you ret 2 Type ih work a the DOS UNIX prop oc Venlo ype gute tthe DOS UNDE prom For VDL type ven mter 3 Cae a DO ie 2 Open extet 1 Type te flowing ines ino a nen o Wu Rie le e wh the nome id a place i be mat ec 4 Opis de counter design un 4 Ene the following command tthe DOSIUNIX proi opt sare eoumr o counter op 5 Rus the teh ede sian Enc the following command tthe DOSUNIK prompt snm e dosi do contr ot counter opt The argument imei Mel i to mike e GUL Te vl argument ves the mul aita WLE le Ths allows yu vi he ton es inthe QUI fo egg pipa Running in Command Line Mode 4 Open coer to iw the sit res Ou race y ia Verg ern the design bou o ke the folowing apa fermterjonne The put ay ape siphly eet you used he VHDL vn Since you saved he seston ess in omer pl yo cin view bem ide GUI by isl VSIM wht the ve anna Dy ilr se PRIV abi a was Cen ina NEU POESIE 2 Type vim sie counter opi DOS UNDE pep Tie GUI opens an date ib ar cours i payed Fun 152 Figure 152 The counter opt Dat tin the Main Window Workspace Might clik the euer stance and slot Add To Wave gt Aliens in ean The ware ipa in he Wave window 8 When ou finish viewing th ress elect File gt Quit cose Modi Using Tel with the Simulator Tie DO fle sd i ees necis contain ly Malin rin However DO ics ely jt T cei Ti mean you cn inch a who
46. ela e Data Ra t Binary lhe Line Weap to Wands pr Line Click OK to ace he changes td che be dle A Set File gt Expert Memory Data a bring pie Export Men dog bot Forth Aes Range specify Start adres Oa End aes o 280 1 Focthe Fle Format eet MTI and No desis occi men pter ht yoscin we isle somete ee inthe emery orn soother ey For Ades Rati select Decimal an or Data Rus selec Binary e Foethe Ward per Line ett i Enter eame a relocamem ten click OK to sav he memory cantet ad Initialize a Memory 1a ade itis posse to initiate a memory sing one fee met m an expr menie e rr fl pater c rm bd Fit t s ill reme rn enl You will we be one you exported revit dui jc Doubleclick the jm Apr nen instit the Memories tb his wil open anew Merry Data window to play he content of rom prac Fai yore w h te emen yd ca keit dongs ince a nial i compl 1 chic and slc Properties to big up the Popes dig Change the Ass Radio Decimal Data Rad to Binary War per ineo 1 iodcick OF 2 Inte spon em a 4 Right click anywhere in th at clan ad eic Import Data Patterns io eng pie Import Memory dalog box un 1 13 a na Import Memory Dialog Fifa Unde epee eae eater ame Bert The deft Load Type File Oy Ci OK The res in instance om tpn tine at pated wih the dat rom data men mem Fae 1 ig Ania Verus Figure 1114 nitlized Memory rom File and Fi Pattern Ins net step ou wl
47. elooing command athe Maden prompt porting an EVEDFle 2 Ane VSM pomp type add wave Se Searype run 1000 Figure 8 14 Waves trom Newly Created Test Bench 3o Quid sialon Importing an EVCD File mom 1 tee Obes ndo ih ccu id ect Add Wan 2 Make ae the Wave window i atv hen eet gt port EVD fa he The rested waveforms daw inthe Wave window Figure 19 Figure 8 18 EVCD File Loaded in Wave Window Chek the n Alien ER Figure 816 Simulation results with EVCD Fle Wien yu pete EVCD D sina mapping happens autom sigma on Wrap Up rt Smart Wed Er pM Chapter 9 Debugging With The Schematic Window introduction in Fil View which sa cal ideato played the tp et comer othe Window Fg 1 You eas Figure 3 Schematic View Indicator p ee are euge il opera vin Vau are ot bird ie dep Design Files for this Lesson Wi many memory A processor desig int provides al and wie et Netlog il dir leuompieshtorilherlogichema VHDL cil dir feompiesbtorialhhlchemat VHDL ven itd When aces we dstagu ence he Verilog and VHDL Related Reading Dies Mandal eto Schematic Wind Compile and Load the Design adis exrcie yon wil use a DO ie compl nd land he design Crete so distr and copy be wt les unit Sry rein a es decoy ortis etre in ae otor rs wil be working with hese leon Ct the rein and copy alles m inal drecampldtora
48. experiment with iporig rm Bol ie nd al at You wil ital rand wi the 25 see f dia yt earl prevctly os he rocatal le rice You wil ale itae Sion ass nie il pet the ram Apr nem nt wih ect memory palm rise ind il pate 4 Rick in the dta colon of sro and lt Import Data Pater to bring apte Import Moor dls lex 1 Fe Lond Type sels Boh Fe and Data x Foe Ads Range select Address ad ente athe Sr les ad 30 she Tis means dit yo wl be ating the fe rm 0 1 30 However tere mene he ll dats you spec net HL oce Load lc the MT ile Fria nd ener relocmem in le Fename oe Data Load sds Fill Type u erent 1 Inthe Fil Doa eld set Be sed vale of fo the nerementig data 2 Ci OK View he data nci adds 250 by docte clicking o ny address i the Adds site mdeneing26 Yon ca ce be speci range of adress erwen wi the ew dla Abo ya sce the incementng data begining t ann 21 gus 11 9 nescit Debugging Commands Figure 11 15 Data increments Starting at Address 251 Ming end 4 Mg ick nome of he Memory Data windows and ect Clas Al Interactive Debugging Commands Te Merny Data wide ea la be und ihrachah for vary of desing paries Ta features desi ints section re meh fos puro 1 pen memory lshece and changeit play characte A Douek instance ram tram tne in the Memes window 1 chic ine pr Memory Das window an select Properties Change the Ades and Data Rae o Hesadecimal 4 Select Words pr line and ener 2 Chick OK The e
49. following Fort intarlesvar tester aut act aair To cunplement the eina But ito Model you cna wie yo oum Open he Avions window by chong de ling om de i en Alan hat hve Ged ae highligh nl The nets that Tis hin tion The ae as soe led wer defined eon 3 Ud the Asa win an look the asennad Thirisa user defined assertion Inthe Avion window yo cus ee the sige that Bein Thr show a Figure 163 Figure 16 The Assetions Window 5 Chose Add Wane gt Selected Objects Thi adds the group f Assertion in he hang m naive ae te tac ren inc power dote Alpen ip e Figure 164 User Defined Assertion Failure red triangle ERES uusnansaeuge eres cued sinite Power re Deni Figure 16 Assertion Debug Window Results from Test 3 power down no clk gate 2 Chae Add Ware gt Sekte Objects wich ad tbe Wave window Figure 16 8 Clock Gating Assertion Fallure Figure 16 Message Viewer Window Simulate ine Power hare Design Results from Test 4 sram_PWR The SHAM andes ave bl in power down mde ht laps the model tu to eo Ine ph pane ad the signal mated SRAM and click 41 expand the PD signal atv opt fom he SRAM is comely clamped al co Figure 168 SRAM Power Down Lesson Wrap Up 1 Sele Simulate gt End Simulation eng Sn an A ck Yes when rom confi hy wi ta qe siting 3 You cin now ei Moden eine wi aber ian ABCDEFGHIJKLMNOPORSTUVWXYZ
50. ht dhe butoos doe lowing Find ft free Fin previous mnt een Fd previous lerne Find net lerne ind nex anti erence Fad list ifrcee Uer tee kam a ve the elec cu Tie cope nt cle bg ference nal sil To view free In nly a dow You ca lo ew the sul of your wayefom comparan in he Lis window 1 Adi compaion data tothe Lis window 2 Stet View gt List om the Man windon men bar Drage st am comparisn objet ra the compare bol he Main Wind the Ser dva te indo Dres ae na ih yellow highlighting Figure 6 Difence tha have een un lare naht Cere aom Stig an Flonding Comparten ata Figure 146 Compare differences in the List window it U A Ten te BE S LROCOET SS d68inas Saving and Reloading Comparison Data Tore comparnn dit so ican berlin Modlin yo must eve tw ls Fit les pra ile When you real he dat yu mst ha he reference dst pen 4 Inte Mai wind lt Tauk gt Waveform Compare gt Dilrencs Weite epar he Ciis his saves compere the cument ditor Type mmepad compareat at te VSIM prompto play the repart rs Saving and Relndng Comparison Das Figure 147 Coverage data saved toa text fl leis bear aniaes D npocnonb nbcondorobdnbidibinuc MES lots eces onfans 0 200 Close Notepad whe you ave Finished viewing he ep 2 Save the omprion data in esha ca be rea nto Modlin 2 Select Toa Waveform Compare gt bilrences gt Save 2 ChekSane
51. iens 3 Exchde an eti ie 4 Inthe Fis window loce the am file othe mh eif you sewing he VHDL example Right click te fie ates elec Cade Coverage Exchide Selected File orum tenting Code Coverage Raton Figure 13 13 Excluding a File Using GUI Menus Creating Code Coverage Reports You at cate testa or HTML repas cover sie using meni selection ithe GUI vi by ning command in de Tramp window Ya cam abo cce eal epers of Toce ttal coverage eor ng QUI mer slats do one te falling f Select Tac gt Coverage Report Teat rm be Main window mona hr 1 Righty bjt in de lm or Fer windows and eect Code Coverage Cade Carecage Report es he pop cote men Rightly bjt in the tine Cverge window a select Code coverage reports rom be popup comet ment Yau sb ce Insance Coverage Cale rege reports ars the Maia wile en har when the tance Coverage This will ope the Coverage Text Report nos ge 1 18 where you cum ele to pet alles o alldesign uni spc inane oc renting Code Coverage Rape Figure 13 14 Coverage Text Report Dialog E men RR x ee es HI rm Pa Pies mmu EE Nin Fersen en P atus creme ter er F canta Farce faci Force fee Fame p E Models creates nae report by deb in he cueren distr and medial Toce aciveage spot in HTML cet Tool Coverage Report HTML m e Mala window ent bar This opes ie Coverage HTML Regest ig ubere you cam rire Wits Code Cog ri
52. igure 917 Active Time Label in the Incremental View rE i Select the ANANDES pte abled ne 71 nthe VHDL ven in he cheat Figure 9 18 The Embedded Wave Viewer naira VT ca Won Figure 9 19 Immediate Driving Process in the Source Window fe wil so ope the Active Dive Pa Det window Figur 9 20 This window doner the ce signal rae he me of each res inte cama pala Figure 0 20 Active Driver Path Details Window tepibaraceaaton pipere Ete ines Inge utum estem ens res Suet Marecn Fab me si Up M 0d n pyrene season sweramiin mil Kl 6 View path deti or rri he VASSIGNI2SHI paces inthe Schema indem 2 Chek the tp ne he Active Diver Path Deal wind sect e tb Click Schematic Window btn inte View Path Deis seston of the Active Drier Path Det ag ge 21 Figure 9 21 Schematic Window Button Someone Mer Ynter ental d Figure 9 22 Schematic Path Details Window mecs re ne on Tec nina VT cat Won Lesson Wrap Up Tis concludes this Jes Before continuing we ne endhecumen multi 1 ype ql dm atthe VS prop Torte De wilden fiero cry deal sting ener Debug Win Tre Sara Viro Chapter 10 Debugging With The Dataflow Window introduction The Dataflow wind lows sow explore the physical connectivity o Your des tie cts thal propagate rough he dsp nd to en th cae of unspeted opt The window diols
53. in Sp Compile the Source Files of the Design Te compton sep processes HDL design nd generates code for main Th te is same farben Power Avare and no Power Aar aon You tae he ase alu or 1 To compile ll RTL source ies for dis example ner the following the Trait Noe is doa se dot ron de fl Modem commands veg norint 4 uetuciphstonple AL Gene Sa Wa oes ae Annotate Power Intent Tbe power anna sep processes the Uni owe Format UPE eo les acted withthe dcin cuc power et rm Bos is and extis be compiled DL detto reli li poter in Tis clades the ling Camaro the power iin network apy pod es eb ad sich f Consrctio he power cnt acie elation regions lation cll ve Mies and icona gu seno poneret hai et coin and ion caging on denos of um aseriuns to check for power tle error codons sc at 1 Toanalye the UP a pero power motion ener he allowing ix de Tease Window o suatajacriptalanel ua rtl Wild un the opt command vi e llving Poe Aware ignis p n up APP epp pa rei interner ttr dari mei Species he location othe power inet Ge writen In U profi Species he name o the teste ito which the DUT for which power Sons beg donc wil he stand reple Species e inane name f the lp level DUT se genpt Generates powsraware repr e hat sve io th un decur peche Knabe bumsen checks Specifying Power Aware Options There te many option Car Powe Aare ition alti argument tthe wg command lorte vop
54. in he wer E 4 Chichen Pub con inthe Wave Ei Tr T als and ict Ware Wave Edito gt Inset Ple Figure 8 6 Edit Insert Pulse Dialog Figure 1 Signal reset with an inserted Pulse 2 Chek the sigma ik waveform jos to the gh the anton a 380 The conor Right tat same anion ad select Wave ditor Stretch Edge ro the Figure 8 Edi Seh Edge Dialog ic Figure 8 9 Stretching an Edge on he eik Signal eae way tte atl sg ceo ened ine 1 Cikkihe Delt tg ion i This pens he Ht De Ege dso The Tine seal set 400 n Cic OK The c i dci ud ct new ays hgh ul Sae Figs 8 10 Figure 8 10 Deleting an Edge on the ck Signal 2 Chk te Unt con I The i Undo dialog apes song yout selec the Undo Cotte number ot tacts to undo CCL OK with he ad Coun stot the delete edge at Chick he Reto ic excep entending all waves nd changing dese pe Those Weis ea te Save and Reuse the Wave Commands 3 Select Ple Cet inthe i ar and ou ie proie to vele wave 2 Chk Yes This saves DO file amd vendit d tois cre ety slo the Wate Exporting the Created Waves 2 Quitind hen eld e pt design 4 Inte Main window select Sate gt End Simulation and ick Ye confu Encre owing command he Model prop im sovop counter 5 Open the female 2 See View gt Wave pen the Wave wind Select le gt Lond hom the mes bt The wanes you crested eae in th les appr I Waves do a ape You
55. ine 92 Noma power dwn cycle wher seine lan nd cock ging ar dane corey mer dona se ie Fst 2 line Powerdowmejle withthe olin conl omer dana lk pate Fst ne 100 Power down cycle where the ack pt ed pepe um AR st ine BSH Togas he al im power on signat Analyze Results 1 Ck ie wave bone right seo he moin vado view ses di 2 Inte Wave window djs he ac Level oh sows the it die vs abo Figure 16 1 Results of the Power Aware RTL Simulation Figure 16 2 Retention of adr During Normal Power Down Cycle eng ires Wan Pome Are Salut te Power haare Deni ft Ne tall tops rm he Memory Contr aene My Ika the unse blocks m he memory cones sup you can se the ola Values Al the nut othe SRAM te aes clamped a and he cp ad wes enable e eae at Look tthe a up ror the wem clr The st goa value othe fo hc unknaw n st jst before ths lok powered dove a LO Now ick at This demones the proper ten Beaver Results from Test 2 power down no iso Now one alte bier i ime to the neste sting t bout Lins Ti us powers down the deg gan bu ic tns wou lis Notice arn ths she ade opt ta e SRAM mode pt claped e Tbe uno values bum e mena ener avc opagated ote SRAME dh ica ptm Te solution is s bin sen ci ni se make wie B3 ches argument tht wa pie fre Yop command 1 Open he rang window by chosing bellnm the man men View Transit You wil ses a message rm this btn aseron descebing te problem AL Peitchea CEP for the
56. is view to disp at ine in 3 View ele coverage deta inthe Coverage Deal window 4 Sich the Toggle Aral view nthe Code Coverage Analysis window by tig the Tope Analysis athe Andy Toolbar Figur 15 Chick the Det to open the Coverage Dea window Hi esis tb i sot vite select View gt Coverage Det fom e Main Select ny objec the Tog Anis and iw is coverage dea inthe Figure 13 8 Coverage Detalls Window Undocked Coverage States In ine Saure Window 1 Click be nasce tbo sch te lance Coverage window ihe Instance ab sot bie select View gt Coverage Instance Coverage fo the Man men The Instnce Coverage window doplays coverage stats o ech stance in Figure 13 Instance Coverage Window Coverage Statistics in the Source Window Te Stee window coi coverage alice of ic Doubleclick beh sro e Files Winden Vo pen a sure cole ew nhe 1 Sco Source window to view he cle shown I ige 13 10 Figure 13 10 Coverage Statistic In the Source Window Eee x H E d H An nur seniors k Ey o The Sous window clan a its nd a BC clan o dipl atmet Hand Te source de In ls 4L Ts cue the epresage iem lo change to civeige Table 132 Coverage Icons in the Source Window Lj Description rz iuc a in a has be exce m ux Aa Xia Has coun diners ed never sanat XS banc Dg cor eden X An X a he BC clam ac i i Sec Tod s Code Coverage Shaw coverage numbers Tarp mn H
57. l md Cam a np sinne m Ci diray whenever the ac lile tees the ie Toggle Statice nthe Opera Winde Ez Miei os mau da Sole Toole gt Code Coverage gt Show coverage numbers gui to uncheckihe tele nd sem to icm apa Toggle Statistics in the Objects Window Togale coverage counts ach ine oie node sto fom one sae wahr ater stein youl tart ate gece aun Wit vo 1 ew gp data in he Objects wide 1 tthe Objects window in topen ey ect View gt Objets Stat ie sigh sce th various toggle coverage columns gue 13 2 or undock and expand nam np ph ick the colum ie ha and elect Show A Cal um Siting Win Cte Coverage Exciting Line and Fes rom Coverage Sen Figure 13 12 Toggle Coverage In the Objects Window Excluding Lines and Files from Coverage Statistics Mats lle you to ech ner a le m ede coverage statis Ya cn se tsi with QUI ent slim wis tet called an elu er fc or wih pragma in your source ae Praga se teres at tl Mein to igno overage ui forte ck cde Refer erection Coverage Exclusion he Users Mana er mere del on eachisin file file and pru 1 hide ine in the Seen Analyst iw f the Ce Coverage Aly vindow 4 Right lk ie ithe See Analysis view and select lade Select the popup menu Yu cn i sche he ecto fo the current inane Soin Exchde Scio For bnance last ame Cane the excliio fhe excluded tenent 4 ige ne you ented i the previous sp an select Cancel Selected sc
58. le vanity of Tel cot sch proceres men opera ma and fc rop expense 42 Hai exerci you eet simple Tel sc ates fr certain values on a sigan xs bockmark tha od Wave win hen a vale exits Booker loi jou ave paar zin age nd sell positon nhe Wave Window Te Tel sexi a ansteht open ne file and ner the following es ise cman do the og Crees new rose called ad wave tom that as two guet sine f Geste ea with cm range rth urn sian ime is 30 Ma tn othe Man window that cll the bookmark to othe np Tate command dhe loving Dea when atmen to entity when el nie examine the vale fem wann ad ad book iti Save th rip wi the ame ad lr i the isin yu reed in the Bede Silio lesa ing Tel wt he Simultor 2 Sit Models Sole File gt Change Dieary nd change to the in you save he DO ie En the following command tthe Questi romps el tect ipt 2 Type dd hme atthe VSIM prop The sulin un andthe DO feces two bond the ska Fu 15 3 E Figure 15 Buttons Added tothe Main Window Tool Fe ty Inter ud Wen Tee ear eel wr wl oe EEE RETTET T E ee EE Vere Drove Kan Click e amon and wach the Wave window xm sand sero a ie whe 4 tte Wave window is dock in he Maia window make te acve window ick ayer in the Wave window thn sc Wave gt Bookmarks gt DAL If the window i undaced slot View gt Bookmarks gt Bi nthe Wave widow iy the Bad beca a cl
59. lerltg chen the cw dct A yu havea VHDL cene copy the exin ial i gt exanpleaeraehhdlchemtc stead Stat Malin nd change othe exer rec os jet ised the revolts Modem should alind be rimi a 4 Type im aa UNIX ll prompt ors the Mali iom i Window I be Welcume o MadeSi ilg apes click Cae 1 Select File gt Change Direstry nd chane tbe icin you crea in sep 3o Change your Widder setis se dene Varie Cana Gene Parameter SpecPara Memory aero pin immediate Wat his command you remove Cllr the deal of W kcan in Tin igna i cells to be logged byte mul ey wie vale ine Typed rum do tthe Mail pom he DO ile does he owing Debes Wh Tr chemie Won aeg Core Creates the working brary vi work Compiles te design les og vos Optinizes the design vot tac top op opt Coes combinatorial and sen Igi dia vb o o Lats he desig into the smlator vim debug ap ep f Abi sign to the Wave window a wave Rope Lops al signa inthe design se Ruste snulton ral Exploring Connectivity A pir wef th inset ves af the Schema window is enplrig e physica Rig of nc dedge Yen de Mab expanding ie vie fen aces o picea lp he iv eecenen of paral sina ne repite procos mide br are 1 Open ihe Schemat window 3 Select View Scheme un be nens ar u the view scheu command a he VSIM prone inthe Tram widow The Schema Window open to tbe Incremental vie 2 AM asigna iode Schema window 2 Make sn istae i selected in
60. me ld 1 Vw le sels by def whe you select We oil Leave slated 2 Cio The salire sp repone wi open toma i Notepad Figure 12 12 reina Perormance role Report Figure 12 12 The caltree rpt Report TRE Wien umm ca ho cup thir rom the comanda vin be prol repre mund Se the Modem Command free far di Lesson Wrap Up Sect Simulate gt End Simulation Click Ye resin s Performance Protle Report Chapter 13 Simulating With Code Coverage Introduction lim Cole Coverage ste oa graphical and eget e foedbck m wich execute A messes t ef lage that fave bec ie dig nec c Dr Sine Pes con yor eni rps C ea oa ee em Design Files for this Lesson The sample design fr hs lesson consis inte tate machine which cont behavioral hey Th et esc tes m pedes ala The Models instalation comes with Verg and VHDL yrs this design The ie are caelis e allowing decree Netlog lt i gt examplevaurialaheio cverage VHDL lt n dirlempleshitoriais hilos This tem ses de Verg version ine examples M you havea VHDL teense ie he VHDL ven stead When aces we dag einen he Venlo and VHDL venio of the ei Related Reading se Manual Chapter Code Coverage Compile the Design Enabling Cole Coverage ina simple proces You compile the design es and dent which overage tae yo wn tcc Then yo lade des all Mose o price thon tics Sry rein a es decoy or
61. mulation Flow Overview Lab H Cei the Werl Litary Yo Model desig ae compiled noa ry You pic wat ae leant Mosel by eating a working Uran led wd wich i de eil ery ne ied y he complere def dean fr compiled dedi p Camping Your Design Alter resting be working br you compile your design unis into Tbe Modi ary emot compte ars ll soporte lors You ca sist our dedgn on ay pfo wax having In scp your di Loading be Simubtor with Your Dein nd Ring the Silion ate desig comp d you lad ie simia vi our ds y moli the siib n op ech module Venlo ora coaiguation ur nr p ioc Aug te dein ame int nea eto se ad you ener D ngging Your Rests My dort gt the eit on ee you cn use Model s robust debugging bonn m Fac dom e eae the lem p Pref Project Flow A projects cleetion mechani fra HDI design under specifiain ce Les Even aug Sou don have use projects in Model thy may eave mean wi Ie ool ade hell for rating is and ping sation sting Te flaming diagram ss the lade ee for img a design within a Models mie Figure 2 2 Project Flow As you can seth Don similar to the e ilti ow However br re tu pert lene f You aot have to estes working rry in he poet itis done ry aal Pics a perite In bor word ey wil pet every ine yon ime Malin inks ou pci cose on Multiple Library Flow Model uses bre io two a 1 2 cl working brary contis te compila too of you dex 2a a waere iy The vont our work Mir wil
62. n RE eee Design Files for this Lesson The sample design fr ds eso simple Bi binary upcounter wi an associated es enh The gam se flo Nelog Cil rs lenamplettoriateriogbascSmationntes sl teuer VIIDL cit diesamplesioca blind unter hd d te Thi non es be Verg le coner and Inter x I yon have VDL ene se ae aan couse inca Or you hne mid ers el ee lone Verlage bench wi te VHDL counter or ie ver Related Reading Users Manual Chapters Design Libraries Veg and System Venlog Senin nd VHDL Simulation Reese Manual commands i ap lg va ep ean Create the Working Design Library Before yo nme a sign oo mu st cre any ad cie e are cde a bay 1 ee a new distr and copy dein les es in rete in Working Design Libary Netlog Copy runter nd tour files m Fem irs onpieionalerlo ar Sana to the ew iu VHDL Copy ende teuer les m Females he md wo the new decr 2 Start Modem nen 4 Type imita UNIX dell proper us te Models om is Windows pon opening Malim for est tme you wl she Welcome Madeline log Cic Coe Sele File Change Dirty nd change ta e isch ox created in sep Slt Fle gt New gt Library Tis open a log where ou spec physical a opel names for he bay Figure 2 1 The Create a New Library Dialog Type workin the Library Nome list abd entered toatl Cisk OK Masi ret a deat cae work and wees 3 special fom e um ne na ctr Tf ie mia remain ia the itr o ing Model iar Do note he f
63. ng Te Dataflow wid say u and ll each instances ige 10 0 eg E Dleplayng Wararchy in te Data Window Figure 10 16 Displaying Hierarchy in the Datatlow Window NAND 5O Lesson Wrap Up Tis concludes this Les Bloc continuing we nan endhecumen ultio 1 Type ql dm atthe VSM prop Toren be wile fers cry defo ting exer Chapter 11 Viewing And Initializing Memories Introduction Indies you wil lam low to ew and iile memorie Mali dens and ojo th fllowing as memaner ep wie ond Juin f deseri Shove dimensional rays of VHDL ener yp ober an ad logie Design Files for this Lesson The stallion comes with Ver and VHDL versions af the example design lace he allg diccns Verilog inl diraecamplestatoriatveniomenary VHDL insel sr gt feuplestatorilhiaemary Tolles ues be Velo version fr he eese Ifyou have a VHDL eat ne the VHDL verso ead Related Reading ses Manu Scion Memory List Window Reference Manual commands men display mem eod mm a and eal Compile and Load the Design Crete mew dcr and copy te wl es Stat by rein a ew decoy fortis eerie in ae other nee will be working id cea ens Cree the decoy amd copy les ra inal io euamplsatorceeregnemory oth new et you have a VHDL lene cay the iin isl desamor llenar it 2 Stat Malen ind change he eres rec irn Memory and te Contents 4 Type im ata UNIX stl prompt ors the Multi ont Windows I be Welcome o Modem dog apes li
64. ng Code Coverage Reporte Figure 13 15 Coverage HTML Report Dialog ydf e overage sept command wil pace texta e ues the tml argumentis se Vou con display etal epee he Notepad ex ewan incl wih the prodit by wing e sep clones command ocr coverage excision epo lc Tools Coverage Report Hseusns bom he Maia window menu br This opens th Coverage Exclusions Rep ing here you can let dodo only pragma excises only wer defined exclusions or bth Figure 13 16 Coverage Exclusions Report Dialog Lesson Wrap Up This concludes this eon Bloc continuing we ne send the cument muon L Type quit dim atte VSIM gt pop w eatin Seta nen Chapter 14 Comparing Waveforms introduction Noselosm Compare compute min free between et ils and refrence gna 1 Select be ston rdiet ta par 2 Spec the signal or regions compare 3 Ram he comp adis er yon wil in and sae sation eft ne te sore le un he mulation agi an ally compare he 0 ete Mali cene ile Hem const our Metis Grp ales epee yt Design Files for this Lesson The sample design foris lesson conis inte ae machine which onl behavioral sati Th e esc tes m pides ala Tie Modem installation comes wh Verlag nd VHDL venons li desig Te caelis he allowing uscire Verilog csl dirsienamplesttriblerlosmporr VHDL cil dir feomplesbitoriahlompore VHDL version stead When aces isr cions diti einen he Verdog and Related Reading ser Manual sections Wasloem
65. ng fom the top i fe ais o compl duet dependencies es tic sis manner ual e compe sicco dl or unda Hs ca he Filed fr rename ther than dependen Alisnaieb yon can eec lead ehe Mone Up and Move Daya baton t the cia me ner gir 15 rese Poet Figure 45 Compile Order Dialog einn fa Chk OK ta clove the Compile Onder dao Comi the Design 1 Comp te fis 1 Right eer coer a ters th Projet win addict Campe gt Campi All om he popap mem Models comps ed es and changes the symbol nhe Status colum oa ren check ma A check mark mean the cp suceeded M compl fa the Sibel wil based X ond you lace an ror menage he Teepe Chek the Library gine 46 Cie con ne tothe work a Youd ee te coped dig tit heir types mtd pu th unde sour es Greta Now Project Figure 4 Library Window with Expanded Library E pry NCCE Trev H zm 4 Optimize for Design Visibility 1 thethe vog amino opti eds wi al bility ino ll design ui i Hater the following command tthe Questi promi e Transit window ot occ et conor euer The asi los you designate he nome othe opined design le scouts i i Load the Design 1 Loader er Besen uni 4 Une the op design ame ie deg wi he vio command em Te Sue m window appear spart of he b gap vit he Library and ret wisdova Fine 41 Pee Organising Projects with Folds Figure 4 Structure sim window fora Loaded Design Aus poit you would yal nthe
66. ng the Suton Rura pum ope ier asm o opt taa m Comparing the Simulation Runs Models actus s Comparison Wind hat was you through the proces You can lo nig the sparsam mall wi memi or corumand lc command 1 Crete comparison using the Comparison Wiz 2 Ses Tod gt Waveform Compare gt Comparison Wizard Cice Howie utn and slat gold sh eene dant Figure L1 Ral tha golf eo he i uml rn Figure 14 1 First dialog of the Waveform Comparison Wizard Leaving estate se to Use Current Sultan ick Neat Select Compare Al Signals isthe second ig Figure 14 2 ad ick Neat m ary Auer Figure 142 Second dialog of the Waveform Comparison Wizard Inte eat re loss click Neat Compute Differences Now nd Finish respectively Moin pons te conn dl pri be Wan Viewing Comparison Data Comparison dt displayed in the Sucre compe Tran Objet Wave and List windows Compute objects ne denoted ya yellow tangi Tie Compre window shows the pon hat was compar The Tran window shows the numberof lleences found etw he eene nd pos Te Objects wind shows comparsa dlleences whe you ee the cumpaion etin the Sucre compe widow Figur 143 eg m Comparison Data in the Wave Window ing ferenes re denoted y are X s in tbe phase 14 1 Figure 14 4 Comparison objects in the Wave window omi imotaed lerence ar ghi in be ining Campari Din Figure 14 5 The compare icons baie te a ot om elt tig
67. open You ray need tonc eoe o the Dual window ase ctn Fise 108 Figure 10 The Embedded Wave Viewer NAND SO 2 Doubleclick proces AAANDASO ee in 71 in the VHDL version ia the Cutis eicit er RE TUNE igo te proce doiydin he Wane Viewer 4 Ciis te tight of extant o igual nt To cusa aba ape Debes Mth Oak Won Figure 10 8 Signals Added to the Wave Viewer Automatically SINANDIISO Doubleclick jt tote right ofthe at aston of igna ot The active play il one gin lere cle view Ba ths ms Ve dign pti Figure 10 8 Source Code with t out High E ace En The signal ont inthe Dataflow Viewer shoud be lighted Click n the ighlighod serlto make te xal cv ben let Tools gt Trace gt race nent the wake Oa 214510 lich ound he cup Soo Pare 10 10 Figure 10 1 Cursor in Wave Viewer Marks Last Event Sls Teo Trace Trace ne even ow emot and wach the usa jum Sel Tool Tene gt Trace event set The Dato low diagram eut to the receding proces shows the put nt Te Dai Winsen rag an Unknown Figure 10 11 Tracing the Event Se l You cin contin cing vents though the design in ths manner isle Trace Set Trace even sew ups he Datallow Dow dapram 4 When you are fined cet Ble gt Cloe Window t love he Dato win Tracing an X Unknown pul inthe Wave wind sd a ta the Dataflow Windes tack e sare aa 1 View in the W
68. ory wind Tis pens act Merry Dat wind ta canit he alesis ad al fr be sr Memory Dat Window ope 2 Cick the aa co nthe Mai window E thee he tla oped vui Ja db Tun window ya wil se NUMERIC STD warning tht can be nee saan assertion ilr tha functioning op tbe simon The alain lf tv ne ae 1 Click the Memory spate tb a ing hat Mery dla wink tthe foreground The Venlog dia els are an age 11 1 Figure 11 4 Verlog Data fter Running Simulation The DL dat fie sow in gue 115 Figure 11 5 VHDL D After Running Simulation eeel ea a2 28 22 3 Eos BAe ees Ve 4i 3 Change se rds id ie aber of wo ger in rint Iran rame AL Right any ine spraml Mein Data wink nd lc Propert 2 The Peres dialog ba opes gure 14 Figure 11 6 Changing the Address orth Addres Radix select Decal This change the di oc te addens A Select Words per Hine nd type nie el CKO ien Memory and te Contents ake sre you etie Ares Rad rather ane Dt Rade Daa Rad sould tl ctt Synbal dea Figure 11 7 New Address Radix and Line Length Verilog Navigate Within the Memory You en navigate specie memor ass can ort leans contin pcr ha pater Fs you wil goo specie rs 1 gl anyubere i ares olm and se igre tu Figure 11 9 Goto Dialog po 1 Type 30i the Goto Adress el ok The see ss spear the tap ine a the wind 2 ite es cation
69. pcoune ian asocia tes enh The pasamos c fll Verilog cit dirsenamplesttribenlos projet vaer v ad nter HD cit empleo Tis ten uses de Verg les runter and erue s I you have VHDL lene se ner nd comte elite Related Reading ser Manual Chapter jets Create a New Project 1 Create a new stir and copy ein fe fri eto i Stary rein a et decoy fe is exce in ae other ses wil be working wi ci leon Veto Copy comer an true Biles fo inl creme einkauf he new dich VHDL Copy commer ota vid e bom inal rota nerfed to e new et rote ew Project yon js Ginepri enon Modem bold aaa e rng If 4 Type im ata UNIX sel prompt ors the Msi om i Window Seele Change Dirctry and change th ci you cet in sep i Select Hle New gt Projet Main won fum be men kr This open the Coie Proj ig whee you ean a Projet Name Pajet Yan he decir ad Deal Libary Name iur 41 You cay ao elec bcr tings om a sed an eu copy tem dee il he prol The elt iy where compl dogm unt wil nde Chek the Browse baton othe Projet Location eld select a ha whee he oj file wl be dir d Leave the Deal Library Name eto work Chk OK Figure 4 1 Create Project Dialog Project Lab i per po Fe cia Pre em Ho EET Add Objects to the Project oce you click OK w accep he new et seing blank Poet wind and the AM em tothe Prost dialog will per Figure 42 Fo he dag ve cn cite are een le ad ao
70. peran state Whe the ution is the bkn tops apg bi ine ath ue srw inthe Source wandow igure 69 apd suena message bk i in the Traci Figure 69 Simulation Stopped at Breakpoint dep sod vas Miranir k mot secant rani taxpacced cat fi A Chick the Step icon on ihe Step to our WE Sing Spt Designs Wenig Syon Opjs m he Ul action al ul steps bo he fan which separate le sina gue 610 Figure 6 10 Stepping into a Separate File army cetora a cur vals Y RZ es ons an D Hr Clk the Cine an on he ots 58 Tie redit nn i ai Examining SystemC Objects and Variables To examine the yal fa Stem ober variable jou can un b examine commando ew e aie athe Ob window 1 View he ae ape aan snl 4 Enter the show comand at he CDBG gt pomp top st of lesen Ole nt type i Tan nth yore tha thee or ter ocean te logi for VHDL isi Systeme Object in te GUI Figure 6 1 Output of show Command rer u u u AL Eitrtheeraninedaerrer sommand at the CDBG gt rum Te ae returned ne 1 Euer the amine counter command tte CDBG gt rot view he val he vae remedii Removing a Breakpoint 1 tue Source win fr test sng i and cilc he sed lin he ine umber clama Sele Remove Breakpoin Gum de popup men ikihe Contin Rum buon api Te sno rus far Ss waved ate ean nthe Wa window Figs 6 12 Viewing Systeme Object in
71. ra ipse 61 Stem Obs in Scio Gin and Objects Wino ipse 6 Ace Bredguat in SystemC Fle Bie 610 Stepping mio Separate e Hin 6 11 upto show Command Hu 6 12 System Priv Channel in ih Wave Wand ipe TL Pane ofthe Ware Window ipse 72 Zooming in withthe Mowe Pine igure 7 3 Working wl a Single Currin the Wave Winden ipse T Renaming aCunor iure 15 beoe Mesunenen ween Tua Cura gue 7 6 A Locked Cunorin te Wave Window ipse 1 bites he Create Pater Wizard om he Ob Window His 2 Coat Paten Wiad ipse 1 Specying Cock Pater Albe ipse BL Te cl Warelom Bie 5 The reo Wanna ius KK Ed Stich Edge Dio ipse 60 Sueichig an le on ee gna ipse 10 Deleing an Edge un he ik Sigal ipse 12 The comer clem Rec wo mal Paes iu 3 Tie prt Ted Bench Cop ito the war Lia ipse L4 Waves lom Newly Creed Te Beach ipse Schema View Indicate ise 9 Right Poing A Indie Reales Tiu 94 Epanlig e View to Disp Reader fb Sigal Figs 95 Sina Values Over Figure 06 Sigal Values Alvr Regenerate He 07 Select ets igus 03 Sigua oen Expanded Read igre 10 Code Preview Window igre 0 12 Unfolded Instance Figure 0 13 Cont of Unfolded mans ine 16 Seating Activ Time Label Display Option BREE stot gure ign 19 Immediate Driving Process nthe Source Window ipse 0 21 Schematic Window But Figure 10 1 A Signal nthe Dataflow Window iunc 102 Expanding Ihe Vieni Diglay Conacicd rcs ipse 103 Select et sama Fig 105 Wave Window Peteeces Dl igre 104 The
72. rk bay pleni objets have a gcn S net 10er name Fur 8 irs Systeme Object inthe GUI Figure 66 SystemC Objects inthe work Library a at Ma imc Ug Bene its ue vara o af penne The Objecss window updates wo show the sociated stem or HDL objets Figure 67 System Objects in Structure sim and Objects Windows 3 Al object othe Wave Winden 1 Jade State window ging an lect Adi Wave tr te Sing Spt Dee Wenig Symone Opjs m he Ul Setting Breakpoints and Stepping in the Source Window Al DL s you cn st bean and hough Spem fe in the Source Wind Inte cs Systeme Moulin C Detug an nee he oper source gi tuse Refert de C Debug chier in he User s Manta for complete dea Here west a boit we us dsl the Aut Li Step Out fatur which is um by dea Wil Au Lb Sep Out you sep it a andan Ces ce Spin dere etlichen Model wil atomi do sep ot i Select Toals gt C Debug Allow ih step rm e Main mens 2 Doubleclick ea riogbuf de Sete vido open the ours le Werd sl he ae rund ine 150 et ring VIIDL solo he te nn lie 155 fet ring Click th e umber han nest th sed line er the ie cuni Netlog o var dataarror per actusi resd VHDL 2c logic vax sacacrror seal anal ro Note Debug Thee wl alight delay we C Debug opens tie the bea ppc umber pure oh ieing Systeme Object in te GUI Figure 6 8 Active Breakpoint in a SystemC File 3 Run and step high the cde 2 Ty
73. s Drawn in Wave Window 4 Cice Bici icon ER step te ine Sel respoin nd Sep trough the Source Set Breakpoints and Step through the Source smn Yor ac rk the Sere nn onde alten an ep Sou ain under est espn cb el ly m crece in wih a 1 Open cmt at Sore wind 2 Sot View leto en th Ps wind 1 ike sgn et te len ote ol Wf te Doublectick cour comer i you are salting the VHDL fe to 2 Seta breakpoint on ine 36 of ever oc tine 39 of cour sh or VHDL a Solin 36 nd cick athe Lad ne number enlm next the ine uber A ll appease ine same coin aie number 36 Figure 34 lang ts Hepes heit Figure 3 9 Seting Breakpoint in Source Window Sen ntsctm 8 Iemmnion elk oe promiae m ANLE sa uam FEE ipa s 3 Disable enable and dete he besa Chek the dal disahie he breakpoint il become Mak al Cice ck alga to sense te bait I wll became rd ll Chek hal with your ih mosse ham and sciet Remave Becakpoint 36 4 Cle dene number column nexo Line aber 36 pino sr he 4 Rest the iain Se Breskpoints an Step tough the Sour sa at pea phos oops on wir ai es Chk the Restart ton nthe Resta ig Chik the Rus Alien LJ Te mal es un be repo si aene mation is tbe respi stope running hig thie wi be aw im the Source a gue 11 nd sis Break message in he Trane window Figure 3 1 Blue Arrow Indicates Where Simulation Stopped GO SSE ena ene nae i
74. sl shld be a in Figs 1 16 Figure 11 16 Original Memory Content ntracose Detuggoa Commande 2 ik in be dats olm of ram Apr me ond select Change open Figure 11 17 Changing Memory Content for a Range o Addresses OK LL emiten NE f css head DA sins E ccm ccc Come E 2s Sect Adresse nd er est es 2 00000006 nde ed dcs a 0800000009 Te hex ston iic Set Random the F Type ter the Fl Data tig he seed fr the Random palm amp CkkOK ge IL Figure 11 18 Random Content Generated for a Range of Addresses 1 ige ea orbe adress 0000000000000 abi Figure 11 Changing Memory Contents by Highlighting 1 Reich the ghi aa and eect Change Sead pope wih he ange yield Stet Value ay hel Type Refer to Figure 1 20 i ter the dt les ino he Fl Data i allons 2425 26 Figure 11 20 Entering Data to Change OK LL S E Pas en een ac ime ems rem eck OK nace Detuggoa Commande Figure 11 21 Changed Memory Contents for Ihe Specified Addresses 4 Bia ip Toit only ame vai ate do de loving Double ick any tale in the Dat column you ended cache Tuch pres he Es ey om your esos Lesson Wrap Up This eoncude this leno Before continuing we ned end be cumen sitim 1 SdectSimilate End Simulation lick Yes Chapter 12 Analyzing Performance With The Profiler
75. test signal prem ow Select be ghi enl he Dai Viewer thomas the Dao Viewer priam of the Dataflow widow acne hen cick he Expand wet all deers con gt Figure 10 4 The test Net Expanded to Show All Drivers eh ren Tis ihn indie the ph Jou have waver ithe sec nt far the al eo proces FALWATSEISSbel ne 4 in the VHDL Sea lt i Expand ato al ees ico e Continue exploring you wish Wien you are done ck and bold he Dee Content ton he eet Delete A clea te Dal Views EZ Tracing Events Aver sll debugging fate wang event ka comit an anepected ul Yale Diog he Ditfow window s nied Wave Viewer can uc fckvand In rans ta procos orignal a eased the umespectd a 1 Sethe deal telaviorto sow diverse Datflow window when dae clicking a gal inthe Wave window 2 Chick the Wate window tb 15 Soles Wane gt Wave Preferences This open the Wave Window Preferences al Set Show Drivers in Dativ Window i the Double click vill eu ten Pick OK gure 10 eo a Ort ion Figure 105 Wave Window Preferences Dialog IIc se etm E ay ana s a we reat pen E L ea Deme ce IC ng ein pn aerating ne Fraser E sedente eme T inae satagit ru BCI Cl so 2 Alan ject tthe Dai window Make ate lance sechs i wind Drag signal ou rom the Objet window o he Dotllow wind Chick the Show Ware on ll ro oen e Wave Viewer iiis not cay
76. the QUI Figure 6 2 SystemC Primitive Channels inthe Wave Window Teresa Lesson Wrap up 1 Slc Tones C Debug gt Quit C Debug 2 Sec Simulate gt End Simulation Click Ves bn romped con tht you wol Yin Sy Object in ta u Chapter 7 Analyzing Waveforms introduction Tae Wave window low goo view reso your simulation a HDI vivens a bee vl The Wave window i ise no rumber o panes Figur 71 You can reae be pobres pone he values pane and the ala pane hy celine and ging he br esce any ivo panes Figure 7 1 Panes of the Wave Window ENS bh Be pete nc fiw n fae Ih 32 hm s tano Be hie dot Bea atm Related Reading User s Manus eins Wate Window and Recording Sibi esl Wath Danse ding s Design Loading a Design Forlbeeramplsin sn wl we ht ga sedia Bade Seon 1 Mtyon jui iih i revo Leto MoelS std ala be ung at 4 Type mim ata UNIX ll prompt ors the Mali om i Window tke Welse MadelSin dalog appear click Che Load the dein 2 eet Fe Change Dietary and open the sir you te in de Basie Silo isn Tie vor rary shuld lea exis P Ube the mid desig name ood he denen wih vin im eter ont nei the design nd opens s Sect im win Add Objects to the Wave Window deln fers several methods fr ain objecto e Wave window I i exercise you wily lern men 1 Adi oe rom the Objects wi 1 Open an Objects window by selecting View Objects P Selecta em i th
77. the Scu im window 1 Drag sr signal from the Objects widow o he Schematic wind ige Figure 9 2 A Signal in the schematic Window isc ERES Figure 8 3 Right Pointing Arrow Indicates Readers Figure 8 4 Expanding the View to Display Readers f strb Signal onan zal DITS Figure 9 5 Signal Values Overlapped ie a fic ce il m Figure 9 6 Signal Values After Regenerate BALWA Note iene all Figure 9 7 Select test signal Chek the Expand nel tal ders ico E Figure 9 8 The test Net Expanded to Show All Drivers Figure 89 Signal cen Expanded to Readers x Cice Shaw Ware uta ig coe te ded Ware Viewer Viewing Source Code from the Schematic Figure 9 10 Code Preview Window itte Unfolding and Folding Instances Figure 9 12 Unfolded instance Figure 9 13 Contents of Unfolded Instance s2 Figure 0 14 Instance s2 Refolded Tracing Events Figure 9 15 Event Traceback Menu Options te VT ca Ws We will te he aive time set bye canaria the ened Wate viewer The Active Time 1 Wath the lczenesta view active eec Schematic reference to pen the 2 dde Show section ofthe lg ck the Active Time label ba soa checks F
78. tis exoriens oer ses wil be working il ro mndehecenampleshtrikehergkevernge tthe ew deco inl dis bnodehecmpieoriai Mlerage nt 4 Type im aa UNIX stl prompt ors the Mali iom i Window Ide Welcome a MolelSi dialog aea ick Cla tb Sele Fle Change Directary nd change ta th isch ot cred in sep Type Mb work at he Modelo prompt Ac Compile al desi es 1 oe Veg Type vlog tthe Modi pop oe VHDL Type en 1 Type apt ecevebn tien The seovrcbeessupumen ich MadelSim to cult atch condition spe ended le ink se ch verge ae ofen on earl overage pe td tthe ModclSio propt est m ot atte Mode prompt The argument is sed designate name ins cue et v t forthe Note 1 ell Mm opimiaone an pero oa al ecg er piii Design wih up Load and Run the Design 1 Lod he design 4 ie emerge tot jm op Min rn Ts pi igni ae Figure 13 1 Code Coverage Windows a er Xe Wee aere Coss tih Demi Xe n0 eae cn ole Coverage Ana Xe dnte cen ar LE ZEHN aula sven FEM adtngleconene ait Kc Rc fe Cole ie d cecal tcc Table 131 Code Coverage cons o DescriioIndication Gm ne nn RAI OT x x go e ARTE aT X Eon X En X Le X on Table 13 1 Code Coverage Icons dcos Desinit ee El ee cy i one be read ame numm EE Fee 133 Figure 132 Analysis Toolbar rari Concage Andy window
79. ves im he et colmo which owe centi of he ol samples cole Kor each oct ease Figure 122 The Ranked Window depo cone Pt me um nm m pr 1o dA GAS i Yo ca et an els by any ther clan by simply eckig he column tealng Ox chick he dow ars tothe lof he Name calme v open Canfigre Colonne dao which lows yout sete wich column aro Be nes or pap Te wc of colon he play provides an meine vu ination of where sour design spending t emule tne By deal red tet indices The Ranked ib des no provide each factional norman View formance poi dia heul Junction eal ue dog 2 Select View gt Profiling gt Call Tree Pra 1 Right th Callies window and set Expand All fom he popup window This dps the erry of uncon call Figure 12 9 Data ta y ua seconding to tbe Une carn cn ee trans Te Pier Figure 12 Expand the Hierarchical Function Call Tree Vane WA lta V tac rore SA x RER ENT No Yon cuiu may Took hy feet ara eal of tis copter yout m a fleet system cls tt ecu darn the simul Abos tee amber pared ay be on x tone fin eal aure Ple T hampens due tae the irae dered eet patri 3 View instances perfomance roe dt ina orici forms Slat View gt Pring gt Structural Pri 1 Rights inthe Suc proe wind and sel Expand Arm the popup non dimension with which to categorize perlormance samples Dat is sored by dela acerding wo the Under clue Figure 124 Structural Profile Window
80. x eto Stat Made ind change he euere ren fo jut fied he proviso Modi abe be rein I ac 4 Type sim ata UNIX sel emp ortae e Models em in Windows the Welcome toModelSandalog appear sick Ce 1 Selec File gt Change Direstry and change to tbe cir you crested in sep 4 Use ater editor to view and eit he i orig p Ble To ase Models ede feo te Main Moo select Fle gt Open Changs te ie type to C ils thea oie dk hcic eier 4 you reusing Model s editor gt lc ihe sure de view ofthe sic oie le d tache he Rea Only aan in the pp ea Using he ide MT SYSTEMC preprocessor dote add ie SC MODULE EXPORT LP toe denen shown Feu 1 Preparing an OSCI System design Figure 6 1 The SystemC File Afier Modifications n monks TED A comely mide copy ofthe basic egp lo ala in he bused ce lite higher ea shown in Figure 62 you ar ing Modelsin s er tight nthe sure de view ue eic ig ie and uncheck he Rea Only open ia be popup mem Alta Modem specific SC MODULE op a shown in nes 52 rap 68 af ou Tie can hat wore inse inae place eei e header ein SC MODULE op Tua crete up sel module above mod which allows heiss automate same hiding fae wo properly associate le pine img Sys Designs Compling s Syd ony Bes Figure 62 Eating the SystemC Header Fl Acomecy mie copy of the bai la ale he baal p You hate now de ale eds tz ee ee repa e deg fr compilation Compiling
Download Pdf Manuals
Related Search
Related Contents
User Manual, for HE693OIU057, HE693OIU157 Massive Suspension light 41782/35/10 Chapter 12 - Online Classrooms Administrator Guide GPS ComPaSS SYSTEm Si vous souhaitez partager avec AOL vos astuces et conseils Conair SFB FreeStyle™ Portable Oxygen Concentrator Service Manual Docteurs&Co n°23, septembre 2009 PCM Codec Connection to TC1130 Copyright © All rights reserved.
Failed to retrieve file