Altera_Forum
Honored Contributor
15 years agoSimple VIP system produces incorrect output
Dear fellows, need your help...
System notation: PG = Pattern Generator CSC = Color Space Converter CR = Chroma Resampler CVI = Clocked Video Input CVO = Clocked Video Output "Busted" = No Vsync, Hsync is not continuous (gets interrupted looks like on a frame by frame basisi), Data Valid looks OK (inhibited during vertical blanknig I guess). Video output with discrete syncs is present and correct when I build the following system (single clock domain) based on one SOPC block: [External 74.25MHz clock -> PG (720p 4:4:4 RGB) -> CSC (RGB to YUV) -> CR (4:4:4 to 4:2:2) -> CR (4:2:2 to 4:4:4) -> CSC (YUV to RGB) -> CVO] Video Output is "Busted" when I build the following system (single clock domain) based on 2 SOPC blocks: Block 1: [External 74.25MHz clock -> PG (720p 4:4:4 RGB) -> CVO] connects to Block 2: [External 74.25MHz clock -> CVI -> CSC (RGB to YUV) -> CR (4:4:4 to 4:2:2) -> CR (4:2:2 to 4:4:4) -> CSC (YUV to RGB) -> CVO] I have been at this for 5 days now. I usually resolve these myself - this one is tough. I get underflow asserted by the CVO of Block 2 when the problem happens. The system is stand-alone, i.e. no control from Avalon master. Timing is met. SDC files for CVI and CVO are included into compilation. Undeflow pin of the resultant SOPC Block 2 stays asserted. Locked input is connected to the system PLL output. The PLL is fed from an external DVI interface, which is driven by an Astro Pattern generator producing 720p format (I am just using the clock for now). Any suggestions are highly appreciated - I have not slept in days :) Thanks to all.