




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
〔畢業(yè)設(shè)計論文〕關(guān)于Proteus的外文翻譯〔適用于外文翻譯+中英文對照〕蘭州交通大學(xué)畢業(yè)設(shè)計〔外文翻譯〕蘭州交通大學(xué)畢業(yè)設(shè)計〔外文翻譯〕12II目錄l"_Toc327043174"AboutProteus REF_Toc327043174\h1l"_Toc327043175"1. WhatisProteusVSM? REF_Toc327043175\h1l"_Toc327043176"2. SchematicEntry REF_Toc327043176\h2l"_Toc327043177"3. CircuitSimulation REF_Toc327043177\h2l"_Toc327043178"4. Co-SimulationofMicrocontrollerSoftware REF_Toc327043178\h3l"_Toc327043179"5. SourceLevelDebugging REF_Toc327043179\h3l"_Toc327043180"6. DiagnosticMessaging REF_Toc327043180\h4l"_Toc327043181"7. PeripheralModelLibraries REF_Toc327043181\h4l"_Toc327043182"8. WhyChooseProteusVSM? REF_Toc327043182\h4l"_Toc327043183"9. ProteusVSMfor8051 REF_Toc327043183\h5l"_Toc327043184"10. ProteusVSMUSBSimulation REF_Toc327043184\h5l"_Toc327043185"10.1Overview REF_Toc327043185\h6l"_Toc327043186"10.2HowitWorks REF_Toc327043186\h6l"_Toc327043187"10.3WhatYouNeed REF_Toc327043187\h6l"_Toc327043188"10.4RunningaUSBSimulation REF_Toc327043188\h7l"_Toc327043189"10.5USBTransactionAnalyser REF_Toc327043189\h7l"_Toc327043190"10.6TheUSBAnalyserinProteus REF_Toc327043190\h8l"_Toc327043191"11. SupportedThirdPartyCompilers REF_Toc327043191\h8l"_Toc327043192"關(guān)于Proteus REF_Toc327043192\h9l"_Toc327043193"1.什么是Proteus的VSM? REF_Toc327043193\h9l"_Toc327043194"2.圖表輸入 REF_Toc327043194\h9l"_Toc327043195"3.電路仿真 REF_Toc327043195\h10l"_Toc327043196"4.協(xié)同仿真單片機軟件 REF_Toc327043196\h10l"_Toc327043197"5.源代碼級調(diào)試 REF_Toc327043197\h10l"_Toc327043198"6.診斷消息 REF_Toc327043198\h11l"_Toc327043199"7.周邊模型庫 REF_Toc327043199\h11l"_Toc327043200"8.為什么選擇Proteus的VSM? REF_Toc327043200\h11l"_Toc327043201"9.ProteusVSM對8051的應(yīng)用 REF_Toc327043201\h12l"_Toc327043202"10.ProteusVSM仿真USB接口 REF_Toc327043202\h12l"_Toc327043203"10.1ProteusVSM的USB概覽 REF_Toc327043203\h12l"_Toc327043204"10.2ProteusVSM的USB如何運作 REF_Toc327043204\h12l"_Toc327043205"10.3使用ProteusVSM的USB條件 REF_Toc327043205\h13l"_Toc327043206"10.4一個USB的模擬運行 REF_Toc327043206\h13l"_Toc327043207"10.5USB接口交易分析 REF_Toc327043207\h13l"_Toc327043208"10.6USB在VSM中的分析儀 REF_Toc327043208\h14l"_Toc327043209"11.支持第三方編譯器 REF_Toc327043209\h148AboutProteusManyCADusersdismissschematiccaptureasanecessaryevilintheprocessofcreatingPCBlayoutbutwehavealwaysdisputedthispointofview.WithPCBlayoutnowofferingautomationofbothcomponentplacementandtrackrouting,gettingthedesignintothecomputercanoftenbethemosttimeconsumingelementoftheexercise.Andifyouusecircuitsimulationtodevelopyourideas,youaregoingtospendevenmoretimeworkingontheschematic.ISIShasbeencreatedwiththisinmind.Ithasevolvedovertwelveyearsresearchanddevelopmentandhasbeenprovenbythousandsofusersworldwide.Thestrengthofitsarchitecturehasallowedustointegratefirstconventionalgraphbasedsimulationandnow–withPROTEUSVSM–interactivecircuitsimulationintothedesignenvironment.Forthefirsttimeeveritispossibletodrawacompletecircuitforamicro-controllerbasedsystemandthentestitinteractively,allfromwithinthesamepieceofsoftware.Meanwhile,ISISretainsahostoffeaturesaimedatthePCBdesigner,sothatthesamedesigncanbeexportedforproductionwithARESorotherPCBlayoutsoftware.Fortheeducationaluserandengineeringauthor,ISISalsoexcelsatproducingattractiveschematicslikeyouseeinthemagazines.Itprovidestotalcontrolofdrawingappearanceinturnsoflinewidths,fillstyles,coloursandfonts.Inaddition,asystemoftemplatesallowsyoutodefinea‘housestyle’andtocopytheappearanceofonedrawingtoanother.WhatisProteusVSM?ProteusVirtualSystemModelling(VSM)combinesmixedmodeSPICEcircuitsimulation,animatedcomponentsandmicroprocessormodelstofacilitateco-simulationofcompletemicrocontrollerbaseddesigns.Forthefirsttimeever,itispossibletodevelopandtestsuchdesignsbeforeaphysicalprototypeisconstructed.ThisispossiblebecauseyoucaninteractwiththedesignusingonscreenindicatorssuchasLEDandLCDdisplaysandactuatorssuchasswitchesandbuttons.Thesimulationtakesplaceinrealtime(ornearenoughtoit):a1GMHzPentiumIIIcansimulateabasic8051systemclockingatover12MHz.ProteusVSMalsoprovidesextensivedebuggingfacilitiesincludingbreakpoints,singlesteppingandvariabledisplayforbothassemblycodeandhighlevellanguagesource.ScreenshotoftheISISschematiceditorshowingafullyfunctionalvirtualrepresentationoftheMicrochip?PICDEM2+EvaluationBoard,containingPIC18F452,AlphaLCD,TC74tempsensor,24LC256I2CEEPROM,RS232terminalandvariousbuttons,pots,LED'setc.SchematicEntryProteusVSMusesourprovenSchematicCapturesoftwaretoprovidetheenvironmentfordesignentryanddevelopment.ISISisalongestablishedproductandcombineseaseofusewithpowerfuleditingtools.ItiscapableofsupportingschematiccaptureforbothsimulationandPCBdesign.DesignsenteredintoProteusVSMfortestingcanbenetlistedforPCBlayouteitherwithourownPCBDesignproductsorwiththirdpartyPCBlayouttools.ISISalsoprovidesaveryhighdegreeofcontroloverthedrawingappearance,intermsoflinewidths,fillstyles,fonts,etc.Thesecapabilitiesareusedtothefullinprovidingthegraphicsnecessaryforcircuitanimation.CircuitSimulationAttheheartofProteusVSMisProSPICE.ThisisanestablishedproductthatcombinesusesaSPICE3f5analoguesimulatorkernelwithafastevent-drivendigitalsimulatortoprovideseamlessmixed-modesimulation.TheuseofaSPICEkernelletsyouutiliseanyofthenumerousmanufacturer-suppliedSPICEmodelsnowavailableandaround6000oftheseareincludedwiththepackage.ProteusVSMincludesanumberofvirtualinstrumentsincludinganOscilloscope,LogicAnalyser,FunctionGenerator,PatternGenerator,CounterTimerandVirtualTerminalaswellassimplevoltmetersandammeters.Inaddition,weprovidededicatedMaster/Slave/MonitormodeprotocolanalysersforSPIandI2C-simplywirethemontotheseriallinesandmonitororinteractwiththedataliveduringsimulation.Atrulyinvaluable(andinexpensive)waytogetyourcommunicationsoftwarerightpriortohardwareprototyping.Shouldyouwishtotakedetailedmeasurementsongraphs,orperformotheranalysistypessuchasfrequency,distortion,noiseorsweepanalysesofanaloguecircuits,youcanpurchasetheAdvancedSimulationOption.ThisoptionalsoincludesConformanceAnalysis-auniqueandpowerfultoolforSoftwareQualityAssurance.Co-SimulationofMicrocontrollerSoftwareThemostexcitingandimportantfeatureofProteusVSMisitsabilitytosimulatetheinteractionbetweensoftwarerunningonamicrocontrollerandanyanalogordigitalelectronicsconnectedtoit.Themicro-controllermodelsitsontheschematicalongwiththeotherelementsofyourproductdesign.Itsimulatestheexecutionofyourobjectcode(machinecode),justlikearealchip.Iftheprogramcodewritestoaport,thelogiclevelsincircuitchangeaccordingly,andifthecircuitchangesthestateoftheprocessor'spins,thiswillbeseenbyyourprogramcode,justasinreallife.TheVSMCPUmodelsfullysimulateI/Oports,interrupts,timers,USARTsandallotherperipheralspresentoneachsupportedprocessor.Itisanythingbutasimplesoftwaresimulatorsincetheinteractionofalltheseperipheralswiththeexternalcircuitisfullymodelleddowntowaveformlevelandtheentiresystemisthereforesimulated.VSMcanevensimulatedesignscontainingmultipleCPUs,sinceitisasimpleenoughmattertoplacetwoormoreprocessorsonaschematicandwirethemtogether.SourceLevelDebuggingWhilstProteusVSMisalreadyuniqueinitscapabililtytorunnearrealtimesimulationsofcompletemicro-controllersystems,itsrealpowercomesfromitsabilitytoperformthesesimulationsinsinglestepmode.Thisworksjustlikeyourfavouritesoftwaredebugger,exceptthatasyousinglestepthecode,youcanobservetheeffectontheentiredesign-includingalltheelectronicsexternaltothemicrocontroller.VSMachievesthisinanumberofways,dependentontheprocessorfamilyandthetoolsthatyouareusing.FordetailedinformationonthethirdpartycompilerssupportedbyProteusVSMpleaseseetheThirdPartyCompilers.DebuggingwindowsforthePIC24VirtualExplorer16Design.Shownarethesourcecodeshowingbreakpointsandbothhighlevelandlowlevelinstructions,watchwindowwithexpandablenamedSFR's,variablewindowwithexpandablecompoundtypesanduserconfigurableIDLOCmemorydump.DiagnosticMessagingProteusisequippedwithcomprehensivediagnosticortracemessaging.Thisallowsyoutospecifywhichcomponentsorprocessorperipheralstheyareofinterestatanygiventimeandreceivedetailedtextualreportingofallactivityandsysteminteraction.Thisisinvaluableasadebuggingaid,allowingyoutolocateandfixproblemsinbothsoftwareandhardwaremuchfasterthanyoucouldwhenworkingonaphysicalprototype.DiagnosticSetupandSimulationAdvisorshowingtracemessagesfromtheAlphanumericLCDDisplaymodel.PeripheralModelLibrariesInadditiontothemicroprocessormodelsforeachsupportedfamily,andliterallythousandsof'standard'modelsforpassives,TTL/CMOS,memories,etc.ProteusVSMisequippedwithacomprehensivelibraryofembeddedperipheralmodels,fromalphanumericandgraphicalLCDdisplays,throughDC,BLCDandservomotorstoethernetcontrollerchips.AsummarylistingoftheperipheralmodelsincludedwithProteuscanbefoundhere.WhyChooseProteusVSM?Whenchoosingtherightsoftwaresolutionitisofteneasytolosesightofwhichproductsofferwhatfunctionality,particularlywhenseveralsoftwarecompaniesofferpackageswhichatfirstglancemaylookidentical.ProteusVSMwasthefirstmicrocontrollerco-simulationpackageandoffersmoremodelswithgreaterdetailatthebestprice.Tohelpclarifythis,andtoavoidconfusionoverproductofferings,wehavecompiledsomefunctionalcomparisonsbelow.Thecoreofanyembeddedsystemdesignisthemicrocontrollerandthecompletenessofthemodelaswellasit'saccuracyarethereforeofprimaryimportance.Youshouldalwaysensurethatsimulationmodelsformicrocontrollersnotonlysupportaperipheralthatyouwanttousebutsupportthemodeinwhichyouwanttousetheperipheralandtoasatisfactorylevelofdetail.Wehavefoundthatsomemicrocontrollermodelsareinfactlittlemorethaninstructionsetsimulators(whichislightyearsawayfromthelevelofdetailinProteusVSMmicrocontrollermodels)Thefollowingchartdetailsmodelparticulars-pleasenotethatnotallperipheralsexistonalldevices.It'snotagreatdealofusetohaveafunctionallyperfectmicrocontrollermodelofavariantthatyoudon'twanttouseandhavenomodelatallforadeviceyoudowanttouse.Thefollowingchartdetailsthemodelfamiliesavailable.Notethatyoushouldalwayscheckthatvariantsyouwanttouseareactuallymodelled-ProteusVSMofferswellover150microcontrollervariantsacrossourrangeandwearecontinuallyrespondingtocustomerdemandtoimplementadditionalvariants.Inembeddedsystemsdesignit'svitalthatyouhavesimulationmodelsfortheperipheralsthatyouarelikelytouse.AsidefromthestandardcollectionofTTL/CMOSlibraries,opamps,diodes,transistors,etc.thefollowingchartlistssomecommonembeddedperipheralsandtheirsupportwithinvariouspackages.Beingengineersourselveswearealwaysconsciousthatbeingabletosimulateaschematicdesignisonlypartoftheprocess.Therealvalueandtimesavingpotentialofco-simulationsoftwareliesinit'sabilitytohelpyoufindandfixbugsinbothyoursoftwareandhardwaredesign.Thecomparisonchartbelowcoverssomeofthecommondebuggingfacilitiesyouwillfindinvariouspackages.ProteusVSMfor8051ProteusVSMfor8051containseverythingyouneedtodevelop,testandvirtuallyprototypeyourembeddedsystemdesignsbasedaroundthepopular8051seriesofmicrocontrollers.TheuniquenatureofschematicbasedmicrocontrollersimulationwithProteusfacilitatesrapid,flexibleandparalleldevelopmentofboththesystemhardwareandthesystemfirmware.Thisdesignsynergyallowsengineerstoevolvetheirprojectsmorequickly,empoweringthemwiththeflexibilitytomakehardwareorfirmwarechangesatwillandreducingthetimetomarket.ProteusVSMisdiscussedinmoredetailhere.ProteusVSMUSBSimulationProteusVSMUSBsimulationrepresentstheworldsfirst(andonly)schematicbasedUSBSimulationengine.YoucannowdesignyourownUSBperipheraldeviceentirelyinProteus(usingoneofthesupportedmicrocontrollers)andthentestboththefirmwareandthehardwarebysimulatingthecircuit.CommunicationismodelleddowntoWindowsdriverlevel,withallrequeststoandrepliesfromthesimulatedUSBdevicedisplayedintheUSBTransactionAnalyser.ProteusVSMisdiscussedinmoredetailhere.10.1OverviewThemainaimoftheProteusVSMUSBSimulationistoallowcompletesimulationofthosemicrocontrollershavinganon-boardUSBperipheral.SincethevastmajorityofsuchdeviceshaveaUSBdeviceperipheralasopposedtoaUSBhostcontrollerperipheralProteusVSMiscurrentlylimitedtosimulationofUSBdevices(devicesthatattachtotheUSBsocketonthecomputer),andspecificallytosimulationofthefollowingUSBDeviceclasses.Supportforadditionalclasses(andindeedadditionalmicrocontrollervariants)ison-goingand,dependingondemand,implementationofUSBhostsimulationsupportmayalsobeconsidered.10.2HowitWorksTheschematicinProteusrepresentstheperipheraldevice(e.g.aUSBmemorystickoraUSBmouse).AspecialschematicpartcalledtheUSBconnectoriswiredtotheUSBenabledmicrocontrollerandclickingonthisschematicpartduringsimulationisequivalenttoplugginginthedevicetoaUSBslotonyourPC.ThemicrocontrollerexecutesthefirmwarethroughtheschematicandUSBcommunicationwilltakeplacewiththePCoperatingsysteminthesamewayasplugginginaphysicalequivalentdevicetoaspareUSBsocketonthecomputer.TheUSBTransactionAnalysercanbeusedtodecodeanddisplayallURBtransactionsandregisteraccessoperationsduringsimulationandthefullrangeofProteusVSMdebuggingtechniquesarealsoavailable.Thismeansthatyoucandesign,debugandtestyourUSBperipheralentirelywithintheProteussoftwareenvironmentbeforeyouconstructaphysicalprototype.10.3WhatYouNeedAlicenceforamicrocontrollerfamilywithsupportedUSBvariants.ThisincludesourschematiccaptureengineandenablesUSBsimulationonthevariantswhichincludeon-boardUSBperipherals.AlicencefortheUSBTransactionAnalyser.ThisenablesyoutomonitorandanalyseUSBtrafficandregisteraccessoperationsduringsimulation.AnalysiscapabilitiescanbeupgradedtoincludeGraphBasedSimulationviatheAdvancedSimulationOptionsmodule.ProteusVSMPIC18F4550modelsimulatingMicrochipTechnologiesMassStoragefirmwaretopresentafilestoredinthesimulatedMMCmodeltoWindowsviaUSB.10.4RunningaUSBSimulationInpractise,runningaUSBsimulationdifferslittlefromanyotherVSMsimulation.Thetypicalprocedureisoutlinedbelow.ApplytheCOF/HEXfiletotheprogrampropertyofthemicrocontrollerschematicpartinISIS.RunthesimulationviathePLAYbuttonatthebottomoftheISISapplication.ClickontheUSBConnectorschematicparttoconnecttheUSBdevice-thisisequivalenttoplugginginthephysicalequivalentdevicetoyourPC.UsetheUSBTransactionAnalysertomonitorandverifyUSBtrafficasyoursimulationprogresses.DebugandtestyourfirmwareandcircuitasperanynormalProteusVSMsimulation-bearinginmindthattheUSBProtocolhasa30secondtimoutlimitation(yoursimulationneedstorespondtorequestswithin30seconds).StopthesimulationviatheSTOPbuttonatthebottomoftheISISapplication.Modifyfirmwareor'hardware'asrequiredandre-runthesimulationtotest.WhencompleteusethenetlistcommandtotransfertoARESandcommencePCBLayout.10.5USBTransactionAnalyserTheProteusUSBAnalyserisaseperatelylicencedproductthatdisplaysallrequestsandrepliestoandfromthesimulatedUSBdevice.ThisprovidesaninvaluableaidbothtounderstandingtheUSBprotocolandinverificationoffirmwareimplementation.ThemainAnalyserwindowconsistsoftwoparts:theRequestsListandtheRequestsDescriptionasshownbelow.10.6TheUSBAnalyserinProteusTheRequestslistonthelefthandpaneoftheAnalyserdisplaysallrequestsintreeformat.Therearethreelevelsofrequests;IRPrequests(IOCTL,MJ_PNP),Transactionrequests(IN,OUT,SETUP)andregisteroperationsassociatedwithagiventransaction.TherequestdescriptionformstherighthandsideoftheAnalyserandprovidesdetailedtabularinformationonthecurrentlyselecteditemintheRequestsList.GiventhattheRequestslistisgranulartothreelevelsitfollowsthatcomprehensiveinformationcanberetrievedateithertheIRPLevel,thetransactionlevelortheregisterlevel.ThesmalltoolbaratthetopoftheAnalyserprovidesoptionstostartlogging,stoploggingandalsotoclearthelog.Thisisparticularlyusefulwhereyouareinterestedincommunicationsafterthesetupphaseorinresponsetoactivityfromthehostcontroller.SupportedThirdPartyCompilersAllProteusVSMprocessormodelsareabletorunbinaryfiles(i.e.IntelorMotorolaHexfiles)producedbyanyassemblerorcompiler.However,thedebuggingfacilitiesavailableareverylimitedsincetheprocessormodelhasnowaytocorrelatethemachinecodeitisexecutingwithyouroriginalsourceprogram.Fortunately,mostcompilersalsoproducesymbolicdebugdatafilesthatcontainextrainformationtobeusedbydebuggersandothertools.TheProteusVSMprocessormodelsareabletoloadthedebugdatafilesproducedbyselectedthirdpartycompilersenablingthemtoprovidefullhigh-levellanguagedebuggingfacilitiesincludingtheabilitytodisplayandstepthroughtheoriginalsourcecodeaswellasdisplaythecontentsofprogramvariablesasthecodeexecutes.10關(guān)于Proteus許多CAD用戶不喜歡示意圖捕獲的過程中創(chuàng)造的PCB布局,但我們對這個觀點一直有爭議。PCB布局與現(xiàn)在提供的這兩個組成局部:自動化安置和跟蹤路由,使得計算機設(shè)計往往是最耗時的。如果你使用的是電路仿真,想開拓自己的想法,你要花費更多時間學(xué)習(xí)工作原理。ISIS已創(chuàng)立了這一方面。它已演變十二年的研究和開發(fā),并且數(shù)以千計的用戶已證明了它的實力。它的架構(gòu),讓我們把常規(guī)的模擬圖與變形的VSM-交互式電路仿真結(jié)合起來形成設(shè)計環(huán)境。有史以來第一次可以得出一個完整的電路的微控制器系統(tǒng),然后進行測試交互。與此同時,ISIS保存了許多功能,比方印刷電路板設(shè)計,可以使相同的設(shè)計適用于其他PCB設(shè)計軟件。對教育用戶和工程工作者,ISIS還擅長制作有吸引力的圖表,就像你看到的雜志。它提供了完全控制圖紙外觀輪流的線寬,填寫樣式,顏色和字體。此外,系統(tǒng)的模板,可以定義你喜歡的風(fēng)格和復(fù)制繪圖到另一個設(shè)計中。1.什么是Proteus的VSM?Proteus是虛擬系統(tǒng)模型與VSM相結(jié)合的混合模式的SPICE電路模擬、動態(tài)元件和微處理器模型,以促進共同完成模擬微控制器為根底的設(shè)計。有史以來第一次將開發(fā)和測試設(shè)計在物理樣機中。這是可能的,因為你可以交互的使用設(shè)計屏幕上的指標(biāo),如LED和LCD顯示器和驅(qū)動器,開關(guān)和按鈕等。實時仿真時:一個1GMHz奔騰III處理器可以模擬一個根本系統(tǒng)時鐘超過12MHz的8051單片機。Proteus的VSM還提供了廣泛的調(diào)試設(shè)施,包括斷點,單步和可變顯示代碼,對調(diào)試高級語言源代碼提供方便。ISIS截圖的原理圖編輯器顯示一個功能齊全的虛擬代表性的微處理器PICDEM2,其中載有PIC18F452液晶,TC74溫度傳感器,24LC256的I2CEEPROM存儲器,RS232串口終端和各種按鈕,LED燈等。2.圖表輸入我們對ProteusVSM的使用證明Capture軟件提供的環(huán)境設(shè)計工程和開展是功能強大的。ISIS的建立是一個長期的過程,產(chǎn)品的易用性與強大的編輯工具都經(jīng)歷了很長時間的改進,它能夠支持兩個示意圖捕捉模擬和PCB設(shè)計,設(shè)計進入到VSM測試可以使用netlisted的PCB布局或者我們自己設(shè)計PCB產(chǎn)品或與第三方PCB布局工具聯(lián)調(diào)。ISIS還提供了一個高程度的控制,對圖紙外觀,線寬,填寫樣式,字體等進行控制,這些功能的充分利用為我們提供了必要的電路圖形動畫。3.電路仿真最核心的ProteusVSM是ProSPICE。這是一個既定的產(chǎn)品,是使用SPICE3模擬仿真器內(nèi)核與快速事件驅(qū)動結(jié)合起來的數(shù)字仿真,提供無縫混合模式模擬,使用的是SPICE的內(nèi)核,你可以利用任何制造商提供的SPICE模型進行封裝。Proteus的VSM包括一些虛擬儀器如示波器,邏輯分析儀,函數(shù)發(fā)生器,圖形發(fā)生器,計數(shù)器定時器和虛擬終端以及簡單的電壓表和電流表。此外,我們提供專門的主/從監(jiān)視器模式協(xié)議分析器的SPI和I2C,它們是串行線的監(jiān)測或與生活中的數(shù)據(jù)模擬。如果你想詳細測量的圖表,或執(zhí)行其他分析類型,如頻率,失真,噪音或掃描分析模擬電路,可以購置高級模擬期權(quán)。此選項還包括一致性分析,一個獨特和強大的工具還有軟件質(zhì)量保證。4.協(xié)同仿真單片機軟件最令人興奮的和最重要的特征是Proteus的VSM是能夠在模擬軟件之間的互動關(guān)系上運行的微控制器使得任何模擬或數(shù)字電子產(chǎn)品都能連接到它。該微控制器模型示意圖將您的產(chǎn)品設(shè)計的其他內(nèi)容連接在一起。它模擬執(zhí)行你的目標(biāo)代碼〔機器代碼〕,就像一個真正的芯片。如果程序代碼寫入端口,邏輯電平電路會相應(yīng)地改變,然后這個狀況的改變就會通過處理器的針腳輸出,這將使您能夠看到您的程序代碼,就像在真實硬件中一樣。在VSM中的CPU型號完全模擬I/O端口,中斷,定時器,通用同步和所有其他外圍設(shè)備上的每一個處理器。為什么一個這么簡單的軟件模擬器可以模擬這么多外設(shè)呢?因為所有這些相互作用的外設(shè)與外部電路完全仿真到波形水平和整個系統(tǒng)。VSM甚至可以模擬設(shè)計包含多個處理器,因為它可以簡單的將兩個或兩個以上的處理器的原理圖和線在一起。5.源代碼級調(diào)試VSM的獨特性在于,它的功能運行接近實時模擬完成微控制器系統(tǒng),但是它真正的功能來自于能夠利用單步模式執(zhí)行這些功能,這個工程就像是最適合你的軟件調(diào)試器,通過單步調(diào)試代碼,你可以觀察整個設(shè)計:包括所有的電子產(chǎn)品外部微控制器。VSM在許多方面到達這一目標(biāo),你使用的是依賴于處理器和工具的功能。如需第三方編譯器支持的ProteusVSM的詳細資料,請參閱第三方編譯頁。調(diào)試窗口的PIC24虛擬Explorer16設(shè)計。所示的源代碼顯示斷點和兩個高級別和低級別的指示,監(jiān)視窗口擴展名為.SFR,擁有可變的窗口擴展復(fù)合類型和用戶配置IDLOC內(nèi)存轉(zhuǎn)儲。6.診斷消息VSM配備了全面的診斷或追蹤信息。這使您能夠指定哪些部件或外設(shè)的處理器在任何特定時間都能收到所有活動的詳細的文字報告和系統(tǒng)的相互作用。作為一個調(diào)試這是非常好的功能,讓您查找和解決軟件和硬件問題的速度遠遠超過你對物理樣機工作時的速度。診斷安裝與仿真參謀跟蹤信息利用數(shù)字液晶顯示字母工作模式。7.周邊模型庫除了微處理器型號和數(shù)以千計的'標(biāo)準(zhǔn)'的被動模式,它支持所有類型,對TTL的CMOS,存儲器等的ProteusVSM是配備了全面的嵌入式外設(shè)庫模式,由字母和圖形液晶顯示器,通過直流,BLCD和伺服電機的以太網(wǎng)控制器芯片。8.為什么選擇Proteus的VSM?中選擇適宜的軟件解決方案時,往往容易忽略的是產(chǎn)品可提供哪些功能,特別是當(dāng)一些軟件公司提供成套乍看之下可能看起來是相同的功能時,Proteus的VSM是第一個微控制器協(xié)同仿真包,并能提供更多更詳細的模型。嵌入式系統(tǒng)設(shè)計的微控制器和完整的模型以及它的準(zhǔn)確度是核心,因此是至關(guān)重要的。你應(yīng)始終確保微控制器仿真模型不僅支持外圍您要使用的設(shè)備,而且支持的式要在其中使用外設(shè)和令人滿意的詳細程度。
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 《會計信息系統(tǒng)應(yīng)用》課件 學(xué)習(xí)情境4 報表系統(tǒng)應(yīng)用
- 《電子商務(wù)基礎(chǔ)》課件-話題1 電子商務(wù)概述
- 軟件開發(fā)項目居間協(xié)議模板
- 商業(yè)零售實體店數(shù)字化轉(zhuǎn)型與升級策略設(shè)計
- 洗衣店垃圾清運協(xié)議
- 中醫(yī)護理學(xué)(第5版)課件 望診2+聞診
- 能源行業(yè)智能電網(wǎng)故障診斷與修復(fù)技術(shù)研究方案
- 股份轉(zhuǎn)讓協(xié)議及法律事務(wù)指南
- 餐飲業(yè)食品安全管理與后廚設(shè)備升級方案
- 項目可行性研究報告-范文
- 【上市公司的財務(wù)風(fēng)險的分析和防范:以三只松鼠為例10000字(論文)】
- 部編版小學(xué)語文四年級下冊教師教學(xué)用書(教學(xué)參考)完整版
- 小學(xué)教師專業(yè)發(fā)展與教學(xué)質(zhì)量提升
- 大跨度空間網(wǎng)架結(jié)構(gòu)分階段整體提升安裝技術(shù)研究與應(yīng)用
- 注射用頭孢比羅酯鈉-臨床藥品應(yīng)用解讀
- 農(nóng)業(yè)領(lǐng)域的服務(wù)禮儀
- 大學(xué)生心理健康教育教程 課件 第二章 大學(xué)生自我意識
- 公證知識宣傳材料
- 聚酯生產(chǎn)技術(shù) 聚酯主要設(shè)備介紹
- 鈑金結(jié)構(gòu)件點檢表
- 醫(yī)療安全(不良)事件匯總登記表(科室)
評論
0/150
提交評論