FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5748 Discussions

Problems with debugging VIP suite

Altera_Forum
Honored Contributor I
756 Views

Hello All, 

 

I'm having an interesting problem. 

 

I recently updated to Quartus 10.0, had some problems so I regressed to 9.0sp2; having had similar problems in the past with 9.1. Since I've regressed I can't debug my VIP system properly. Here is my system: 

 

SXGA RGB444 -> CVI -> Scaler -> FrameBuf -> Mixer (w/ black background) -> CVO 

 

Essentially, my code runs well when it's programmed into my EPCS and booted; the whole vip suite functions well. But when I try to debug my NIOS, i.e. set breakpoints, step etc, my CVI doesn't work (I believe). The scaler scales, the mixer mixes and places layers, but I get blank from the CVI... 

 

I was wondering if the FIFO of the CVI is filling up before the scaler is turned on, owing to the lines executing slowing during NIOS debug. 

 

Any advice, tips, help, suggestions, comments greatly appreciated. Brent.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
59 Views

I haven't got the answer for your problem, but just wanted to mention: If you think the problem lies in the start of the scaler, you can turn on the runtime configuration for the cvi and configure it from your nios-core to start as the last component. There are control registers for the cvi (but I am using 9.1, don't know if they are added in that version). So perhaps give that a try. (Perhaps you even must not configure all registers of the CVI, do the configuration in the sopc-Builder and in the NIOS just try using IOWR(ALT_VIP_CTI_0_BASE, 0, 1) could get it running, perhaps. The benefit is, you can then read the fifo used words by reading at offset 3 I think, so you can easily see from the NIOS if you have got your overflow there)

Reply