Sei sulla pagina 1di 9

T E N T H O U S A N D FA I LU R E S ( / )

BLOG(/BLOG/)
ARCHIVE(/ARCHIVE/)
ABOUT(/ABOUT/)

February1,2014

I N S TA L L I N G
M E N TO R Q U E S TA
ONUBUNTU

Verification(/blog/?category=Verification),OSX

BlogofEldonNelson

(/blog/?category=OSX)

M.S.,P.E.onverification,
GNUEmacs,andtechnical

IuseMentorQuesta
(http://www.mentor.com/products/fv/questa/)alot,
andwhenIamatworkthevisuallagofinteracting

topics.

andwhenIamatworkthevisuallagofinteracting
withtheGUIthroughVNCisalmostimperceptible.
But,whenIamworkingremotelythatvisuallagis,
ofcourse,morenoticeable.Onepossiblesolution
thatreducesthelagconsiderablycomparedto
VNC,NX,orWindowsRemoteDesktopistorun
Questanativelyonyourlocalcomputer.
(/cover)

ThefirstproblemyouwillrunintoisthatQuestais
onlyofficiallysupportedonRedhatandSUSELinux.
(ItisalsosupportedonMicrosoftWindowstoo,but

Posts

whoreallydoesseriousengineeringworkon
Windows?)So,ifQuestaisonlysupportedontwo
commercialLinuxvariantsarewestuckoninstalling

BESTPAPERAT
DESIGNAND
VERIFICATION

Redhatathomefromthecorporateinstall?
Fortunately,no.

CONFERENCE2016
(/BLOG/2016/3/7/BESTPAPER-DVCON2016)
Mar7,2016
Verification(/blog/?
category=Verification)

ONE
PARAMETERIZED
BINDTOBIND
THEMALL
(/BLOG/2015/11/15/ONEPARAMETERIZEDBIND-TO-BINDTHEM-ALL)
Nov15,2015

SupportedPlatformsforMentorQuesta10.3

Verification(/blog/?
category=Verification)

YoucaninstallMentorQuestaonUbuntuLinux.I'll
gothroughinstallingitonUbuntu12.04.364bit.

IMPLICITPORT
CONNECTIONS
SUMMARY

Thefirststepisyouneedtobearegistered

(/BLOG/2015/7/19/IMPLIC
PORT-

Thefirststepisyouneedtobearegistered
customerofMentorQuesta,soyoucanhaveaccess

PORTCONNECTIONS-

totheinstallationfilesontheirverygoodMentor
GraphicsSupportNet
(http://supportnet.mentor.com/)customersupport

SUMMARY)
Jul19,2015
Verification(/blog/?
category=Verification)

site.Belowisapictureofwhatitwilllooklikewhen
youlogin.

UVM_REPORT_OBJECT
FEATURE
EXAMPLES

(/BLOG/2015/4/18/UVMRE
FEATUREEXAMPLES)
Apr18,2015
Verification(/blog/?
category=Verification)

SYSTEMVERILOG
CONSTRAINT
LAYERING
EXAMPLESFROM
JOHNDICKOL
(/BLOG/2015/3/15/SYSTE
CONSTRAINTLAYERINGEXAMPLES-FROMJOHN-DICKOL)
Mar15,2015
Verification(/blog/?
category=Verification)

more(/archive)

MentorGraphicsSupportNetPage

CategoryList
Next,youwilldownloadallofthefilesfor
installation.IgraballofthefilesthatMentormakes
Emacs(/blog/?

availableforareleaseanddon'tthinkabouttrying
category=Emacs)

togetjusttherightones.Oncedownloaded,the

togetjusttherightones.Oncedownloaded,the
OSX(/blog/?category=OSX)

nextstepistoruntheinstallscriptprovidedby
Mentor"install.linux".

Verification(/blog/?
category=Verification)

>./install.linux

TagList

bash:./install.linux:Nosuchfileordirectory

FT2232H(/blog/?
tag=FT2232H)

Thiserror,whichisterriblyunhelpful,issolvedby
FTDI(/blog/?tag=FTDI)

simplyinstallingthefollowingpackageinUbuntu
whichismentionedinthisarticlefromstackoverflow
(http://stackoverflow.com/questions/8328250/centos64-bit-bad-elf-interpreter).

TCL(/blog/?tag=TCL)

UVM(/blog/?tag=UVM)

DesignPatterns(/blog/?
tag=Design+Patterns)

Ubuntu(/blog/?tag=Ubuntu)

>sudoaptgetinstallia32libs

covergroup(/blog/?
tag=covergroup)

Nowtheinstallerworksproperly.(Onthe32bit
versionofUbuntutheinstallerworksoutofthebox,
makingmebelievethattheMentorinstallerissome
typeof32bitapplication.Fedorahasamuch
hardertimeinstalling32bitsupportintheir64bit
environmentbecausethereisnometapackagelike
ia32-libs
(https://ask.fedoraproject.org/en/question/9556/howdo-i-install-32bit-libraries-on-a-64-bit-fedora/)as
theirisonDebianlikesystems.)

Oneofthefirstquestionsyouwillgetaskedfrom
theMentorGraphicsInstalliswhatoperatingsystem
youareusing.Choose"AllPlatforms".Therestof
theinstallationisstraightforward.

MentorQuesta(/blog/?
tag=Mentor+Questa)

SystemVerilog(/blog/?
tag=SystemVerilog)

InstallationScreenofMentorQuesta-Selecttheoperating
system

Then,appendtoyourLinuxPATHwithalinelike
thebelow,dependingonwhereyouinstalled
Questa.Notethattheinstallpathfromtheinstaller
was"~/mgc/questa_10_3"inthisexample,butwe
needtoaddthebinarypathbelow.

>exportPATH="$PATH:~/mgc/questa_10_3/questasim/linux_x86_64"

Ifyounowtriedtousethelmgrdorsomeofthe
otherFlexLMcomponents
(http://www.flexerasoftware.com/products/entitlementmanagement/flexnet-licensing/)thatQuestaneeds,
youwouldgetanerrorlikethebelow.

>./lmgrd

>./lmgrd
bash:./lmgrd:Nosuchfileordirectory

TobeabletoworkwithFlexLM(thelicensing
daemonthatMentorandalotofotherEDAvendors
use)youneedtoinstallonemoreLinuxpackage
whichismentionedinthisarticlefromARM
(http://infocenter.arm.com/help/index.jsp?
topic=/com.arm.doc.faqs/ka15623.html).

>sudoaptgetinstalllsb

Thenextstepistosetuptheenvironmentsothat
FlexLMknowswherethelicenseserveriswitha
commandlikethebelow.AskyourITadminfor
whatisyour"flexserver"shouldbe.

>exportLM_LICENSE_FILE="5280@flexserver"

IdidhavetodoalittlemoreworksincetheFlexLM
licenseserverwasbehindanotherinternalfirewallthatwillbeforthenextpost
(https://tenthousandfailures.com/blog/2014/2/1/accessingmentor-flexlm-license-server-via-ssh-portforwarding).But,youmightbeluckyandnothave
todothatsteporifyouareusingalocallicensefile
fromMentorwhichwouldworkjustfine.

Ifeverythingisgoingwellwithyourlicenses,you
shouldseesomethinglikethebelow.Thebelow

shouldseesomethinglikethebelow.Thebelow
commandchecksthelicenseservertoseeif
everythingisgood.The"mgcld"istheMentor
daemonthatkeepstrackofMentorlicenses.

Ifyoudon'tseetheMentordaemonorthe
commandisn'treturningthelicenseserver
informationcorrectly,youwillneedtodebugthat
beforelaunchingQuesta.

>lmstat

lmstatCopyright(c)19892013FlexeraSoftwareLLC.AllRightsReserve
FlexibleLicenseManagerstatusonMon1/27/201422:25
Licenseserverstatus:5280@flexserver
Licensefile(s)onflexserver:/tools/flexlm/license/mgcld.lic:
flexserver:licenseserverUP(MASTER)v11.11
Vendordaemonstatus(onflexserver):
mgcld:UPv11.11

Hopethisarticlegetsyouanotheralternativefor
doingdevelopmentwithMentorQuesta.

Thenextpost
(http://tenthousandfailures.com/blog/2014/2/1/accessingmentor-flexlm-license-server-via-ssh-portforwarding)handlessettingupthelicensesifyou
areconnectingtoalicenseserver.

TIPS

ThisarticleisaboutinstallingMentorQuestaon
Ubuntu.Iam,however,runningUbuntuinsidea
virtualmachineonAppleOSXandamrunningthe
VPNfromOSX.IamusingParallelsDesktopasthe
virtualizationprogram.Ihavenotfiguredoutaway,
orifitisevenworthit,torunQuestanativelyon
AppleOSX.

Tagged:Ubuntu(/blog/?tag=Ubuntu),Mentor
Questa(/blog/?tag=Mentor+Questa)

NewerPost
AccessingMentor
FlexLMLicenseServer
viaSSHPort
Forwarding
(/blog/2014/2/1/accessingmentor-flexlm-licenseserver-via-ssh-port-

OlderPost
UsingEmacstoDebug
VerilogCompilesin
MentorQuesta
(/blog/2014/1/20/usingemacs-to-debugverilog-compiles-inmentor-questa)

forwarding)

(https://github.com/tenthousandfailures)
(http://www.linkedin.com/in/eldonnelson)
(mailto:eldon_nelson@ieee.org)

PoweredbySquarespace(http://www.squarespace.com)

Potrebbero piacerti anche