Advanced Verification Methodology
Department of Electrical and Computer Engineering University of Colorado at Colorado Springs "Engineering for the Future"
QuestaSimonLinuxSimulationTutorial
1. ToinvokeQuestaSiminLinuxbycreatingaprojectdothefollowing: a. AccesstheLinuxserver,LATS2,byfollowingthedirectionsat http://eas.uccs.edu/it/EAS_linux_hpC.shtml b. IntheLinuxdesktoprightclickandselectOpeninTerminal c. Intheterminalwindowtypesetquesta d. Intheterminalwindowtypevsim. e. Continueasdetailedin http://www.uccs.edu/~gtumbush/misc/ModelSim_Simulation_Tutorial.pdf 2. ToinvokeQuestaSiminLinuxusingthecommandlineandscriptsdothefollowing: a. Followinstructions1.a,1.b,and1.c. 3. Createatoplevelrunscript,forexample,callitrun.srcandtypethefollowinglinesinto thefile.ThisrunscriptwillcompiletheALU_4_bit.vDUTandthetestbench, ALU_4_bit_tb.svandexecutethedofile,run.do #!/bin/csh \rmrfwork vlibwork vmapworkwork vlogALU_4_bit.v vlogALU_4_bit_tb.sv vsimnovoptdorun.do 4. ForatopleveltestbenchcalledALU_4_bit_tbcreateadofile,forexample,callitrun.do andtypethefollowinglinesintothefile. vsimALU_4_bit_tb viewwave dowave.do run100us 5. Executetherunscriptbytypingintheterminalwindow,./run.src.Youmightneedto changethepermissionsoftherunscriptbytypingchmod755run.src.Youwillgetan errorbecausethewave.dofilehasnotbeencreatedyet.Createit!
Page1of1QuestaSimonLinuxSimulationTutorialVersion1.3