《在ISE中直接调用chipscope进行在线逻辑分析(3).docx》由会员分享,可在线阅读,更多相关《在ISE中直接调用chipscope进行在线逻辑分析(3).docx(9页珍藏版)》请在第一文库网上搜索。
1、在ISE中直接调用chipscope进行在线逻辑分析(3)点击NeXt之后,进入了捕获参数的设计界面,如图4所示。“捕获”的含义自然指的是要被捕捉、观测的数据了。这里的参数ISE一般情况下己经给黄能设置好了,所以不需要更改。宝ChiPSCOPePoCOreInSertermychiPSCOPe.cdcFi1eEditHe1pIHOoBDEVICE日ICONUO:I1AI1A(TriggerParametersCaptureParametersNetConnectionsCaptureSettingsCoreUti1izationDataDepth:4096Samp1es-TriggerPort
2、sUsedAsData|IInc1udeTRIGOPort(width=20)1UTCount373FFCount278BRAMCount6Messages1oadingCDCprojectD:myFPGAmycountermychipscope.cdcSuccessfu11yreadprojectD:myFPGAmycountertmychipscope.cdccopyD:myFPGAmycountertmycounter_cs.ngc=D:myFPGAVnycounter_ngomycounter_cs_signa1browser.ngo图4捕获参数界面再点击NeXt之后,进入了网络标号连
3、接参数的设计界面,如图5所示。瀛ChiPSCOPeProCOreInSertermychipscope.cdcFi1eEditHe1pBDEVICE日ICONTriggerParametersCaptureParametersNetConnectionsUO:I1ANetConnections?UN1To-C1OCKPORTATRIGGERPORTSD:myFPGAVnycounter_ngomycounter_cs_signa1browser.ngo图5网络标号连接界面这里需要对设计中的网表和ChiPSCoPe的核进行连接,点击图中的ModifyConneC巨ons”进入连接界面,分别如图6
4、、图7所示。Structure/NetsImycounterj士FNetNamePattern:Fi1terNetNameSourceInstanceSourceComponentBaseTypeMcount_cnt_cyMcount_cnt_cyMUXCYMUXCYMcount-cnt-cyMcount_cnt_cyMUXCYMUXCYMcount_cnt_cy_rtMcount_cnt_cy_rt1UT11UT1Mcount_cnt_cyMcount_cnt_cyMUXCYMUXCYMut-cnt-cy_rtMcount_cnt_cy_rt1UT11UT1Munt-cnt-cyMcount
5、_cnt_cyMUXCYMUXCYMcount_cnt_cy_rtMcount_cnt_cy_rt1UT11UT1Munt-cnt-cyMcount_cnt_cyMUXCYMUXCYMcount_cnt_cy_rtMcount_cnt_cy_rt1UT11UT1Munt-cnt-cyMcount_cnt_cyMUXCYMUXCYMcount_cnt_cy_rtMcount_cnt_cy-rt1UT11UT1Munt-cnt-cyMcount_cnt_cyMUXCYMUXCYMcount_cnt_cy_rtMcount_cnt_cy_rt1UT11UT1Munt-cnt-cyMcount_cnt
6、_cyMUXCYMUXCYMcount_cnt_cy_rtMcount_cnt_cy_rt1UT11UT1Munt-cnt-cyMcount_cnt_cyMUXCYMUXCY1Ie7.CC/“47、H1I4IIIT4!OKCance1图6c1ock设置界面NetSe1ectionsC1ockSigna1sTriggerZIChanne1O0fc1k.BUFGPCPOMMMakeConnectionsRemoveConnections/Imycounter1_NetNamePattern:FFi1terStructure/NetsNetSe1ectionsC1ockSigna1sTrigger/
7、;NetNameSourceInstanceSourceComponentBaseTypeMcount_cnt_cyMCoUn1Cn1eyV0MUXCYMUXCYMcount_cnt_cyMcount_cnt_cyMUXCYMUXCYMcount_cnt_cy_rtMcount_cnt_cy_rt1UT11UT1MCoUn1Cn1CyV11Mcount_cnt_cyMUXCYMUXCYMcount_cnt_cy_rtMCOUn1Cn1CyV111UT11UT1Mcount-cnt-cyMCoUn1Cn1CyV12MUXCYMUXCYMcount_cnt_cy_rtMCOUn1Cn1Cy_rt1
8、UT11UT1Mcount_cnt_cy13Mcount_cnt_cyMUXCYMUXCYMcount_cnt_cy_rtMcount_cnt_cy_rt1UT11UT1Mcount_cnt_cyMcount_cnt_cyMUXCYMUXCYMcount_cnt_cy_rtMcount_cnt_cy_rt1T11UT1Mcount_cnt_cyMcount_cnt_cyMUXCYMUXCYMcount_cnt_cy_rtMcount_cnt_cy_rt1T11UT1Mcount_cnt_cyMcount_cnt_cyMUXCYMUXCYMcount_cnt_cy_rtMcount_cnt_cy
9、_rt1UT11UT1Mcount_cnt_cyMcount_cnt_cyMUXCYMUXCYI1mIIrT4N.OKjCance1Channe1jCH:OcntCH:1cntCH:2cntCH0cnt口t4cntH:5cntCH:6cntICH:7cntC1t8cntjCHS:CH:10cntcnt11,cntCH:12cnt;CH:13cntCH:14cntjCH:15cntiCHd6cntCH:17cnt;CH:18cntCH:19cnt:pMakeConnectionshRemoveConnectionsI,图7触发/数据信号设置界面图6的时钟即为系统设置的时钟。点击左侧NetName
10、中的C1kBUFGP,然后点击右下方的“MakeConnections,即可将CIk_BUFGP与ChiPSCOPe核中的时钟信号相连接。这里不能直接把CIk信号(POrt类型)直接连接到ChiPSCOPe核中的时钟信号,否则ChiPSCOPe会报错。具体原因我还不是非常理解,不过即使是在普通的FPGA设计中,也不是直接使用CIk来驱动的,而是必须经过C1hBUFGP的缓冲才行,这在综合软件给出的综合网表中容易看到。图7为需要观测的触发/数据信号。顾名思义,将需要被观测的信号与其进行“MakeConnections,就可以了。完成图6、7的操作之后,点击“0K”,会返回ChiPSCoPe的主界面。假如有错误或设置不合理的话,在Chipscope的Messages窗口中会给出警告或者错误信息。无误之后点击ChiPSCoPe左上角的保存按钮,然后关闭ChiPSCOPe主界面,返回ISEProjectNavigatoro