ISE中常見WARNING和ERROR及其解決方法_第1頁
ISE中常見WARNING和ERROR及其解決方法_第2頁
ISE中常見WARNING和ERROR及其解決方法_第3頁
ISE中常見WARNING和ERROR及其解決方法_第4頁
ISE中常見WARNING和ERROR及其解決方法_第5頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

1、WARNING:Route:455-CLKNet:trn_clk_OBUFmayhaveexcessiveskewbecause0CLKpinsand1NON_CLKpinsfailedtorouteusingaCLKtemplate.SolutionThismessageinformstheuserthatsomeloadsontheclocknetarenotclockpins.Therefore,theclocktemplatethatisnormallyusedtoconnectclockpinswillnotbeusedtoconnecttheloads.Adifferentrout

2、ingthatinvolveslocalroutingwillbeused,potentiallyinducingsomeskewontheclocknet.OpeningyourdesigninFPGAEDITORwillallowyoutoseewhatloadsareconnectedtotheclocknet,andthecauseofthewarnings.TheamountofskewonthenetwillbereportedinthePlaceandRoutereport.IftheloadsonthenetshowninFPGAEditorareinaccordwithyou

3、rdesign,theskewreportedinthePARreportisnotcriticalforthedesign,andthetimingconstraintrequirementonthatnetismet,thenthiswarningcanbesafelyignored.實例原因:在代碼中用到這樣的語句時(aaeventandaa=T),aa不是時鐘信號,最多只是時鐘信號產(chǎn)生的一類周期信號,aa被作為了另一個進(jìn)程或模塊的類似周期信號的作用。(我是在行場信號發(fā)生器中出現(xiàn)的這樣的問題,用產(chǎn)生的行同步信號(行同步信號是由全局時鐘信號驅(qū)動產(chǎn)生的)再去驅(qū)動產(chǎn)生場同步信號,產(chǎn)生的場同步信

4、號相對與輸入的全局時鐘,有一定的傾斜)WARNING:Xst:647-Inputisneverused.orWARNING:Xst:648-Outputisneverused.SolutionThisparticularporthasbeendeclaredinyourHDLdescription,butdoesnotdriveorisnotdrivenbyanyinternallogic.Unusedinputportswillremaininthedesign,buttheywillbecompletelyunconnected.Iftheportisnotintendedtobeused

5、,thismessagecanbesafelyignored.Toavoidthismessage,removeanyloadlessorsourcelesselementsfromyourHDLdescription.Outputportswillremaininthefinalnetlistandwillbedrivenbyalogic0.Toavoidthemessageandtosavetheportresource,removetheunusedoutputportfromyourHDLdescription.實例原因:一般輸入端口不要預(yù)留,即使不使用,在代碼中定義的輸入端口就一定要

6、有輸入的;而輸出端口不用到的可以用OPEN封上,最常見的是在利用DLL和DCM時,CLK90,CLK180,CLK270等一般不用,在端口連接的時候都用OPEN封上。ERROR:HDLParsers:3562-pepExtractor.prjline1Expectingvhdorverilogkeyword,foundwork。SolutionThisoccurswhentherearespacesembeddedintheprojectlocation.Abadexampleforprojectlocationwouldbe:C:/DocumentsandSettings/User/exam

7、ple.ise.Agoodexamplefprprojectlocationwouldbe:C:/ISE_tests/example.ise.實例原因:在ISE9.1的版本里,在行為仿真和使用約束編輯器的時候會遇到,主要原因是工程的路徑名里有空格一類的不被要求的非英文字符。ERROR:Xst:2587Portofinstancehasdifferenttypeindefinition.SolutionComparethecomponentdeclarationandinstantiationtothesubmodulethatisinstantiated.Whenthiserroroccurs

8、,thedeclarationmatchestheinstantiation,butdoesnotmatchtheportdeclarationsofthesubmodule.Changeeithertheportdeclarationsinthedeclaration/instantiationpairorthesubmoduleportdeclarationssothattheymatch.Thiserrorisspecifictothetypesofportsinthesubmodule.實例原因:一般是子模塊宣稱和子模塊的實體定義中端口的寬度和類型(in,out,inout,buffe

9、r)不匹配造成的。XSTcangenerateverylargelogfilesforcertaindesigns.Insomecases,thegenerationoftheselogfilescanevencauseanincreaseinruntime.HowcanIeliminateorhidecertainfrequentlygeneratedmessages?SolutionForusersofXSTviaProjectNavigatorStartinginISE7.1i,ProjectNavigatorhasthecapabilitytodomessagefilteringfor

10、allXilinxtools.PleaserefertotheProjectNavigatorhelponhowtousethismethod.ForusersofXSTviacommandlineYoucanhidespecificmessagesgeneratedbyXSTattheHDLorLow-LevelSynthesisstepsinspecificsituationsbyusingtheXIL_XST_HIDEMESSAGESenvironmentvariable.Thisenvironmentvariablecanhaveoneofthefollowingvalues:-non

11、e:maximumverbosity.Allmessagesareprintedout.Thisisthedefault.-hdl_level:reduceverbosityduringVHDL/VerilogAnalysisandHDLBasicandAdvancedSynthesis.-low_level:reduceverbosityduringLow-levelSynthesis-hdl_and_low_levels:reduceverbosityatallstagesThefollowingmessagesarehiddenwhenhdl_levelorhdl_and_low_lev

12、elsvaluesarespecifiedfortheXIL_XST_HIDEMESSAGESenvironmentvariable:WARNING:HDLCompilers:38-design.vlinexxMacromy_macroredefinedNOTE:ThismessageisissuedbytheVerilogcompileronly.WARNING:Xst:916-design.vhdlinexx:Delayisignoredforsynthesis.WARNING:Xst:766-design.vhdlinexx:GeneratingaBlackBoxforcomponent

13、comp.InstantiatingcomponentcompfromLibrarylib.Setuser-definedpropertyLOC=X1Y1forinstanceinstinunitblock.Setuser-definedpropertyRLOC=X1Y1forinstanceinstinunitblock.Setuser-definedpropertyINIT=1forinstanceinstinunitblock.Registerreg1equivalenttoreg2hasbeenremoved.Thefollowingmessagesarehiddenwhenlow_l

14、evelorhdl_and_low_levelsvaluesarespecifiedfortheXIL_XST_HIDEMESSAGESenvironmentvariable:WARNING:Xst:382-Registerreg1isequivalenttoreg2.Registerreg1equivalenttoreg2hasbeenremoved.WARNING:Xst:1710-FF/Latchreg(withoutinitvalue)isconstantinblockblock.WARNING:Xst1293-FF/Latchregisconstantinblockblock.WAR

15、NING:Xst:1291-FF/Latchregisunconnectedinblockblock.WARNING:Xst:1426-ThevalueinitoftheFF/Latchreghinderstheconstantcleaningintheblockblock.Youcouldachievebetterresultsbysettingthisinittovalue.實例原因:在綜合時,有很多的綜合警告是可以忽略的,以上大致的羅列幾項。WARNING:Xst:737-Foundn-bitlatchforsignal.Thelistingfornisthewidthofthelatc

16、h.Iflatchinferenceisintended,youcansafelyignorethismessage.However,someinefficientcodingstylescanleadtoaccidentallatchinference.Youshouldanalyzeyourcodetoseeifthisresultisintended.Theexamplesbelowillustratehowyoucanavoidlatchinference.實例原因:一般出現(xiàn)這樣的問題都是代碼出現(xiàn)了鎖存器,因避免這樣的代碼寫法,電路會不穩(wěn)定,因利用觸發(fā)器去寄存數(shù)據(jù)在時鐘沿。Soluti

17、on1IncludeallpossiblecasesinthecasestatementVerilogalways(SELorDIN1orDIN2)begincase(SEL)2b00:DOUT=DIN1+DIN2;2b01:DOUT=DIN1-DIN2;2b10:DOUTDOUTDOUTDOUT=DIN1;endcase;endprocess;ThesetwoexamplescreatelatchesbecausethereisnoprovisionforthecasewhenSEL=11.Toeliminatethelatches,addanotherentrytodealwiththis

18、possibility.Verilog2b11:DOUTDOUT=DIN2;UsingtheDEFAULT(Verilog)orWHENOTHERS(VHDL)clausealwaysworks,butthiscancreateextraneouslogic.Thisisalwaysthesafestmethodology,butmightproducealargerandslowerdesignsinceanyunknownstatehaslogicthatisneededtobringittoaknownstate.Solution2Assigntoallthesameoutputsine

19、achcase.Verilogalways(SELorDIN1orDIN2)begincase(SEL)2b00:DOUT=DIN1+DIN2;2b01:DOUT=DIN1-DIN2;2b10:DOUT=DIN1;2b11:beginDOUT=DIN2;TEMPDOUTDOUTDOUTDOUT=DIN2;TEMP=DIN1;endcase;endprocess;Theseexamplesinferlatchesbecausethe11caseassignstwooutputs,whiletheothersassignonlyone.LookingatthiscasefromTEMPspoint

20、ofview,onlyoneoffourpossiblecasesarespecified,soitisincomplete.Youcanavoidthissituationbyassigningvaluestotheexactsamelistofoutputsforeachcase.Solution3Makesureanyif/elseifstatementshaveaconcludingelseclause:VHDL:process(ge,din)beginif(ge=1)thendout_a=din;elsedout_a=0;-Thisisaconcludingelsestatement

21、.endif;endprocess;Verilog:always(geordin)if(ge)dout_a=din;elsedout_a=1b0;/Thisisaconcludingelsestatement.在不影響電路功能的情況下,要寫完整的if-else語句。(對于時鐘沿觸發(fā)時,是不要else的)ERROR:Place:1018-AclockIOB/clockcomponentpairhavebeenfoundthatarenotplacedatanoptimalclockIOB/clocksitepair.Theclockcomponentisplacedatsite.TheIOcomponentisplacedatsite.ThiswillnotallowtheuseofthefastpathbetweentheIOandtheClockbuffer.Ifthissuboptimalconditionisacceptableforthisdesign,youmayusetheCLOCK_DEDICATED_ROUTEconstraintinthe.ucf

溫馨提示

  • 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)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論