<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Altera Forums - IP Discussion</title>
		<link>http://www.alteraforum.com/forum</link>
		<description>A place to discuss topics related to Intellectual Property and solutions</description>
		<language>en</language>
		<lastBuildDate>Tue, 07 Sep 2010 15:07:24 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.alteraforum.com/forum//proweb/misc/rss.jpg</url>
			<title>Altera Forums - IP Discussion</title>
			<link>http://www.alteraforum.com/forum</link>
		</image>
		<item>
			<title>CSC Settings - 24bit RGB - 16-bit RGB</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25228&amp;goto=newpost</link>
			<pubDate>Tue, 07 Sep 2010 12:04:25 GMT</pubDate>
			<description>Hi,
I am trying to use the CSC in VIP to convert a video data stream from 24-bit RGB (8-bits per color) to 16-bit RGB (565/RGB) for use with a custom...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I am trying to use the CSC in VIP to convert a video data stream from 24-bit RGB (8-bits per color) to 16-bit RGB (565/RGB) for use with a custom display peripheral.  I have set the CSC for runtime control so that I can manipulate the parameters to adjust the amount of red/green/blue so that I can finetune the output display.<br />
<br />
My problem is that I cannot understand from the docs how to configure the coefficients and summands!  Each setting uses a 32-bit register but I fail to understand how the fraction setting works!  Basically I want to reduce red and blue to 0.125 x color and green to 0.25 x color.  I planned to then adjust the summand for each to increase/decrease the amount of each color in the output picture.  This does not work the way I expected in that the output changes for blue and red but not for green and then sometimes it doesn't change for any color channel.<br />
<br />
I have also noted that the CSC does not stop when I use Stop(1) before trying to edit the registers.  Is there something I need to do before issuing a stop() command?<br />
<br />
Does anyone have some simple description of how the CSC regsiters work, ie how do you specify that red output should be 0.125 times the red input?<br />
<br />
I know the algorithm is Dout1 = A0 x Din1 + B0 x Din2 + C0 x Din3 +S0, etc.<br />
<br />
Any help or information would be greatly appreciated.<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>mmcd98</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25228</guid>
		</item>
		<item>
			<title>Frame Reader - How has some experience?</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25221&amp;goto=newpost</link>
			<pubDate>Tue, 07 Sep 2010 06:52:40 GMT</pubDate>
			<description>Dear all,
I understand the Frame reader VIP suite component is a kinda new comp so it is difficult to find some examples on web.
But i see from posts...</description>
			<content:encoded><![CDATA[<div>Dear all,<br />
I understand the Frame reader VIP suite component is a kinda new comp so it is difficult to find some examples on web.<br />
But i see from posts on this forum some folks have already tried to use it.<br />
 <br />
I've started my development and not able to run it.<br />
Just wounder how everything should be organized.<br />
In the SOPC builder I simply have: Nios, oncip_mem, jtag, timer - this is Avalon-MM. Avalon-ST is only Frame Reader-&gt; Clocked video output.<br />
Previously I used Test Pattern Generator instead of the Frame Reader and i can see the image on the monitor. i use only one clock - vip_clk.<br />
 <br />
I just want to write a small picture (40x40) to the on_chip memory and see it on the monitor.<br />
 <br />
1. What is the simpler way to write raw picture to the on-chip memory? I have a program called GIMP2 which is able to convert from jpg, bmp to rgb, and i can create a C++ array of the rgb bits.<br />
I'm not a C specialist so it is good if it is possible just simply to copy an array of rgb from a file to the memory.<br />
Does anyone can give a simple C code and picture for my reference?<br />
 <br />
2. What parameters should I specify for the VIP frame reader component?<br />
I have progressive video (DVI), 3 colors in parallel, 8-bit color.<br />
<font face="Palatino-Roman"><font size="2"><font face="Palatino-Roman"><font size="2">Master port width - 64.</font></font><br />
<font size="2"><font face="Palatino-Roman">Picture is 40x40</font></font><br />
<font size="2"><font face="Palatino-Roman">Now I have the following but this doesn't work for me:</font></font><br />
</font></font><div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"> <br />
<font size="2">IOWR(ALT_VIP_VFR_0_BASE, 0x3, 0x0); </font><br />
<div align="left"><font size="2"><font color="#3f7f5f"><font size="2"><font color="#3f7f5f">//</font></font></font></font><br />
<br />
<font size="2">IOWR(ALT_VIP_VFR_0_BASE, 0x4, DISPLAY_MEMORY_BASE); </font><br />
<br />
<br />
<br />
<font size="2"><font color="#3f7f5f"><font size="2"><font color="#3f7f5f">// frame address in the on chip memory</font></font></font></font><br />
<br />
<font size="2"><font color="#3f7f5f"><font size="2"><font color="#3f7f5f">// 800/1600 - they are the values which work</font></font></font></font><br />
<div align="left"><font size="2">IOWR(ALT_VIP_VFR_0_BASE, 0x5, 800); </font></div><br />
<br />
<br />
<font size="2"><font color="#3f7f5f"><font size="2"><font color="#3f7f5f">// numbers of reads from master port for whole frame= 40*40*3*8/48 =800 !!! </font></font></font></font><br />
<br />
<font size="2">IOWR(ALT_VIP_VFR_0_BASE, 0x6, 1600); </font><br />
<br />
<br />
<br />
<font size="2"><font color="#3f7f5f"><font size="2"><font color="#3f7f5f">// number of pixel </font></font></font></font><br />
<br />
<font size="2">IOWR(ALT_VIP_VFR_0_BASE, 0x8, 40); </font><br />
<br />
<br />
<br />
<font size="2"><font color="#3f7f5f"><font size="2"><font color="#3f7f5f">//</font></font></font></font><br />
<br />
<font size="2">IOWR(ALT_VIP_VFR_0_BASE, 0x9, 40); </font><br />
<br />
<br />
<br />
<font size="2"><font color="#3f7f5f"><font size="2"><font color="#3f7f5f">//</font></font></font></font><br />
<br />
<font size="2">IOWR(ALT_VIP_VFR_0_BASE, 0x0, 0x1); </font><br />
<br />
<br />
<br />
<font size="2"><font color="#3f7f5f"><font size="2"><font color="#3f7f5f">// start frame reader</font></font></font></font><br />
<font size="2">frame_reader_status = IORD(ALT_VIP_VFR_0_BASE, 0x1);</font></div></code><hr />
</div><div align="left"><font size="2"><font face="Palatino-Roman"><font size="2"><font face="Palatino-Roman">Maybe the problem is in how i write the picture to the memory?</font></font></font></font><font size="2"><font face="Palatino-Roman"><br />
<font size="2"><font face="Palatino-Roman">i appreciate if somebody can give me some suggestions.</font></font><br />
<font size="2"><font face="Palatino-Roman">Thanks,</font></font><br />
<font size="2"><font face="Palatino-Roman">U.</font></font></font></font></div><font size="2"><font face="Palatino-Roman"><br />
</font></font></div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>uilka_b</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25221</guid>
		</item>
		<item>
			<title>Confliction on reading and refreshing request on DDR2 SDRAM Controller</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25219&amp;goto=newpost</link>
			<pubDate>Tue, 07 Sep 2010 06:07:26 GMT</pubDate>
			<description>I am using the DDR2 SDRAM Controller generated by Megawizard of Quartus9.1. 
 
The basic reading and writing request can successfully processed by...</description>
			<content:encoded><![CDATA[<div>I am using the DDR2 SDRAM Controller generated by Megawizard of Quartus9.1. <br />
 <br />
The basic reading and writing request can successfully processed by controller, but, when the reading request is encountered with the auto-refreshing operation, the controller can not processed this read request! There is one cycle uncertain state, &quot;x&quot;, after the refresh operation.<br />
However, the write request can be bufferred and processed after a auto-refreshing operation.<br />
Pictures attached illustrate the confliction between read request and auto-refresh, and the right processing of write requests.<br />
 <br />
By the way, the device I am using is Stratix II, and the DDR model in the simulation is downloaded from <i>Mircon</i>. <br />
 <br />
Background: DDR auto-refresh in every 7.8 us.</div>


	<br />
	<div style="padding:6px">
	
	

	
	
	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://www.alteraforum.com/forum//proweb/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.alteraforum.com/forum/attachment.php?attachmentid=2988&amp;d=1283839468">Read.jpg</a> (332.6 KB)</td>
</tr><tr>
	<td><img class="inlineimg" src="http://www.alteraforum.com/forum//proweb/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.alteraforum.com/forum/attachment.php?attachmentid=2989&amp;d=1283839481">Write.jpg</a> (341.6 KB)</td>
</tr>
			</table>
			</fieldset>
	
	
	
	
	</div>
]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>wwnigel</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25219</guid>
		</item>
		<item>
			<title>SDI interface IP</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25209&amp;goto=newpost</link>
			<pubDate>Mon, 06 Sep 2010 09:15:35 GMT</pubDate>
			<description>who have SDI interface IP ?  coul you send it to me ,thanks a lots</description>
			<content:encoded><![CDATA[<div>who have SDI interface IP ?  coul you send it to me ,thanks a lots</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>sony200808</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25209</guid>
		</item>
		<item>
			<title><![CDATA[Why won't my FIFO Fill?]]></title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25197&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 09:37:31 GMT</pubDate>
			<description>Hello,
 
In my SOPC design I have a Dual Clock FIFO fed by an SGDMA clocked at 80Mhz (no burst) and feeding a video pipeline clocked at 20Mhz.
 
My...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
 <br />
In my SOPC design I have a Dual Clock FIFO fed by an SGDMA clocked at 80Mhz (no burst) and feeding a video pipeline clocked at 20Mhz.<br />
 <br />
My SDRAM is 8bit and the SGDMA is clocking out 16bit (2 symbols per beat).<br />
 <br />
The video sync generator implements backpressure with the 'ready' signal but yet the FIFO will not maintain a consistent level.<br />
 <br />
<div align="left">Just entering a loop in my program which reads the FIFO CSR I get the following which is usual for what is continually repeated.<br />
(Each entry seperated by a few ms)<br />
 <br />
It seems as if my FIFO isn't deep enough to successfully buffer the large amount of  data that is passing through it (its ~8K deep but thats only 8 lines or so on my display), but at 80Mhz shouldnt my SGDMA be sourcing double what the video pipeline can sink, even without the backpressure from the video sync generator?<br />
 <br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"> <br />
FIFO Fill Level: 22 units.<br />
FIFO Fill Level: 0 units.<br />
<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 36 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 9 units.<br />
FIFO Fill Level: 2642 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 24 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 5 units.<br />
FIFO Fill Level: 30 units.<br />
FIFO Fill Level: 14 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 14 units.<br />
FIFO Fill Level: 24 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 40 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 0 units.<br />
FIFO Fill Level: 0 units.</code><hr />
</div> </div></div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>sebastian.f</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25197</guid>
		</item>
		<item>
			<title><![CDATA[TSE can't be softreset.what' the promble?]]></title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25189&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 03:09:34 GMT</pubDate>
			<description><![CDATA[Hi ,guys!
 I set the SW_RESET bit of command_config register to 1 in the hope of reset the TSE.But this bit  is always 1,it isn't automatically...]]></description>
			<content:encoded><![CDATA[<div>Hi ,guys!<br />
 I set the SW_RESET bit of command_config register to 1 in the hope of reset the TSE.But this bit  is always 1,it isn't automatically cleard!Can anybody tell me why?I'll apprecate for your help!</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>wgwen</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25189</guid>
		</item>
		<item>
			<title>Freeze frame with frame buffer</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25177&amp;goto=newpost</link>
			<pubDate>Fri, 03 Sep 2010 10:54:43 GMT</pubDate>
			<description><![CDATA[Hi, 
I'm using frame buffer to freeze, that is clearing the GO bit of the writer of frame buffer, and it turned out clean, and I released the...]]></description>
			<content:encoded><![CDATA[<div>Hi, <br />
I'm using frame buffer to freeze, that is clearing the GO bit of the writer of frame buffer, and it turned out clean, and I released the freeze(setting the GO bit), the screen returned to normal without flickering. The dataflow is like this, CVI-&gt;FB-&gt;CVO.<br />
But when I used the dataflow which I have uploaded as the attachment, the freeze turned out to be fine, but when I released the frame buffer(setting GO bit), I noticed the screen just flickered a little and returned to normal.<br />
So can someone give me a hint on this ? Is it not appropriate to freeze frame with frame buffer? Thanks a lot!</div>


	<br />
	<div style="padding:6px">
	
	

	
	
	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://www.alteraforum.com/forum//proweb/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.alteraforum.com/forum/attachment.php?attachmentid=2974&amp;d=1283515416">Untitleddrawing.jpg</a> (32.4 KB)</td>
</tr>
			</table>
			</fieldset>
	
	
	
	
	</div>
]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>sort_0010</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25177</guid>
		</item>
		<item>
			<title>Beats Per Symbol in Custom SOPC Components</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25175&amp;goto=newpost</link>
			<pubDate>Fri, 03 Sep 2010 09:53:58 GMT</pubDate>
			<description>Hello,
 
Is there anything special that needs to be done in custom sopc components in order for them to convert between bus widths (using varying...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
 <br />
Is there anything special that needs to be done in custom sopc components in order for them to convert between bus widths (using varying symbols per beats?)<br />
 <br />
I am trying to go from a 32 bit to 16 bit video pipeline and have created a pixel converter based on the existing one as the Video Sync Generator appears to be 'immune' to the dynamic bus sizing. <br />
When I try and use my new component however the display is a mess and I can tell from the appearance of the H/Vsync periods on the screen the video sync generator is either being starved of data or just not recieving the SOP/EOP signals correctly.<br />
 <br />
The existing pixel converter seems to be able to convert from 4x8bit to 1x24bit so I am not sure what I am missing.<br />
Can anyone see anything wrong with my code below?<br />
 <br />
HDL Code:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">module pixel_converter_565_to_666 (<br />
&nbsp; input&nbsp; wire&nbsp; &nbsp; &nbsp; &nbsp; clk,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // clock.clk<br />
&nbsp; input&nbsp; wire&nbsp; &nbsp; &nbsp; &nbsp; reset,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; &nbsp; .reset<br />
&nbsp; <br />
&nbsp; input&nbsp; wire [15:0] asi_in0_data,&nbsp;  //&nbsp;  in0.data<br />
&nbsp; output wire&nbsp; &nbsp; &nbsp; &nbsp; asi_in0_ready,&nbsp; //&nbsp; &nbsp; &nbsp; .ready<br />
&nbsp; input&nbsp; wire&nbsp; &nbsp; &nbsp; &nbsp; asi_in0_valid,&nbsp; //&nbsp; &nbsp; &nbsp; .valid<br />
&nbsp; input&nbsp; wire&nbsp; &nbsp; &nbsp; &nbsp; asi_in0_eop,&nbsp; &nbsp; //&nbsp; &nbsp; .endofpacket<br />
&nbsp; input&nbsp; wire&nbsp; &nbsp; &nbsp; &nbsp; asi_in0_sop,&nbsp; &nbsp; //&nbsp; &nbsp; .startofpacket<br />
&nbsp; input&nbsp; wire&nbsp; &nbsp; &nbsp; &nbsp; asi_in0_empty,&nbsp; //&nbsp; &nbsp; .empty<br />
&nbsp; <br />
&nbsp; output wire [17:0] aso_out0_data,&nbsp; //&nbsp; out0.data<br />
&nbsp; input&nbsp; wire&nbsp; &nbsp; &nbsp; &nbsp; aso_out0_ready, //&nbsp; &nbsp; &nbsp; .ready<br />
&nbsp; output wire&nbsp; &nbsp; &nbsp; &nbsp; aso_out0_valid,&nbsp; //&nbsp; &nbsp; &nbsp; .valid<br />
&nbsp; output wire&nbsp; &nbsp; &nbsp; &nbsp; aso_out0_eop,&nbsp;  //&nbsp; &nbsp; .endofpacket<br />
&nbsp; output wire&nbsp; &nbsp; &nbsp; &nbsp; aso_out0_sop,&nbsp;  //&nbsp; &nbsp; .startofpacket<br />
&nbsp; output wire&nbsp; &nbsp; &nbsp; &nbsp; aso_out0_empty&nbsp; //&nbsp; &nbsp; .empty<br />
&nbsp;);<br />
&nbsp;assign asi_in0_ready = aso_out0_ready;<br />
&nbsp;assign aso_out0_valid = asi_in0_valid;<br />
&nbsp;assign aso_out0_eop = asi_in0_eop;<br />
&nbsp;assign aso_out0_sop = asi_in0_sop;<br />
&nbsp;assign aso_out0_empty = asi_in0_empty;<br />
&nbsp;assign aso_out0_data[0] = 0;<br />
&nbsp;assign aso_out0_data[5:1] = asi_in0_data[4:0];<br />
&nbsp;<br />
&nbsp;assign aso_out0_data[11:6] = asi_in0_data[10:5];<br />
&nbsp;<br />
&nbsp;assign aso_out0_data[12] = 0;<br />
&nbsp;assign aso_out0_data[17:13] = asi_in0_data[15:11];<br />
&nbsp;<br />
&nbsp;// TODO: Auto-generated HDL template<br />
endmodule</code><hr />
</div>TCL file:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"># +-----------------------------------<br />
# | module pixel_converter_565_to_666<br />
# | <br />
set_module_property NAME pixel_converter_565_to_666<br />
set_module_property VERSION 1.1<br />
set_module_property INTERNAL false<br />
set_module_property GROUP &quot;&quot;<br />
set_module_property DISPLAY_NAME pixel_converter_565_to_666<br />
set_module_property TOP_LEVEL_HDL_FILE pixel_converter_565_to_666.v<br />
set_module_property TOP_LEVEL_HDL_MODULE pixel_converter_565_to_666<br />
set_module_property INSTANTIATE_IN_SYSTEM_MODULE true<br />
set_module_property EDITABLE true<br />
set_module_property ANALYZE_HDL AUTO<br />
# | <br />
# +-----------------------------------<br />
# +-----------------------------------<br />
# | files<br />
# | <br />
add_file pixel_converter_565_to_666.v {SYNTHESIS SIMULATION}<br />
# | <br />
# +-----------------------------------<br />
# +-----------------------------------<br />
# | parameters<br />
# | <br />
# | <br />
# +-----------------------------------<br />
# +-----------------------------------<br />
# | display items<br />
# | <br />
# | <br />
# +-----------------------------------<br />
# +-----------------------------------<br />
# | connection point clock<br />
# | <br />
add_interface clock clock end<br />
set_interface_property clock ENABLED true<br />
add_interface_port clock clk clk Input 1<br />
add_interface_port clock reset reset Input 1<br />
# | <br />
# +-----------------------------------<br />
# +-----------------------------------<br />
# | connection point in0<br />
# | <br />
add_interface in0 avalon_streaming end<br />
set_interface_property in0 associatedClock clock<br />
set_interface_property in0 symbolsPerBeat 2<br />
set_interface_property in0 dataBitsPerSymbol 8<br />
set_interface_property in0 errorDescriptor &quot;&quot;<br />
set_interface_property in0 maxChannel 0<br />
set_interface_property in0 readyLatency 0<br />
set_interface_property in0 ASSOCIATED_CLOCK clock<br />
set_interface_property in0 ENABLED true<br />
add_interface_port in0 asi_in0_data data Input 16<br />
add_interface_port in0 asi_in0_ready ready Output 1<br />
add_interface_port in0 asi_in0_valid valid Input 1<br />
add_interface_port in0 asi_in0_empty empty Input 1<br />
add_interface_port in0 asi_in0_eop endofpacket Input 1<br />
add_interface_port in0 asi_in0_sop startofpacket Input 1<br />
# | <br />
# +-----------------------------------<br />
# +-----------------------------------<br />
# | connection point out0<br />
# | <br />
add_interface out0 avalon_streaming start<br />
set_interface_property out0 associatedClock clock<br />
set_interface_property out0 symbolsPerBeat 1<br />
set_interface_property out0 dataBitsPerSymbol 18<br />
set_interface_property out0 errorDescriptor &quot;&quot;<br />
set_interface_property out0 maxChannel 0<br />
set_interface_property out0 readyLatency 0<br />
set_interface_property out0 ASSOCIATED_CLOCK clock<br />
set_interface_property out0 ENABLED true<br />
add_interface_port out0 aso_out0_data data Output 18<br />
add_interface_port out0 aso_out0_ready ready Input 1<br />
add_interface_port out0 aso_out0_valid valid Output 1<br />
add_interface_port out0 aso_out0_empty empty Output 1<br />
add_interface_port out0 aso_out0_eop endofpacket Output 1<br />
add_interface_port out0 aso_out0_sop startofpacket Output 1<br />
# | <br />
# +-----------------------------------</code><hr />
</div>Thanks</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>sebastian.f</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25175</guid>
		</item>
		<item>
			<title>CVI directly connected to CVO</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25173&amp;goto=newpost</link>
			<pubDate>Fri, 03 Sep 2010 09:12:21 GMT</pubDate>
			<description><![CDATA[Hi,

In SOPC, the CVI --> Terminator and TPG --> CVO, the input format can be recognized correctly and output work correctly.
Then the CVI --> CVO, ...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
In SOPC, the CVI --&gt; Terminator and TPG --&gt; CVO, the input format can be recognized correctly and output work correctly.<br />
Then the CVI --&gt; CVO,  and the CVO format is same as the CVI, but the CVO has no output.<br />
<br />
Does it possible to connect the CVI and CVO directly?<br />
<br />
Thanks,<br />
Regards.</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>hxdzjk</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25173</guid>
		</item>
		<item>
			<title>Multiple Masters at DDR2-HPC - Where is the problem?</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25155&amp;goto=newpost</link>
			<pubDate>Thu, 02 Sep 2010 13:26:45 GMT</pubDate>
			<description><![CDATA[Hello,

In my design there are the following components connected to a singe DDR2-High-Performance-Controller:
CPU -> pipelining bridge1 -> DDR2-HPC...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
In my design there are the following components connected to a singe DDR2-High-Performance-Controller:<br />
CPU -&gt; pipelining bridge1 -&gt; DDR2-HPC (writes to DDR2 only for one time at the beginning)<br />
TSE &lt;- SGDMA1 &lt;- pipelining bridge2 &lt;- DDR2-HPC (reads from DDR2)<br />
<br />
Everything works fine...<br />
<br />
Now, I added and connected the following third component to DDR2-HPC:<br />
Streaming Source -&gt; SGDMA2 -&gt; pipelinging bridge3 -&gt; DDR2-HPC<br />
<br />
After connecting this third component to DDR2-HPC the design doesn't work anymore. I didn't activate or do someting else with SGDMA2, but the design doesn't work anymore. This means, that there is no output Data at TSE.<br />
<br />
What could be the problem?<br />
<br />
Thanks for every hint!<br />
<br />
Best regards,<br />
tonib</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>tonib</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25155</guid>
		</item>
		<item>
			<title>Multi-master arbitration</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25154&amp;goto=newpost</link>
			<pubDate>Thu, 02 Sep 2010 09:41:11 GMT</pubDate>
			<description>Hi,
 
I have a complex SOPC system with a number of video processing blocks requiring access to DDR2 memory provises by a single HPC DDR2 memory...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
 <br />
I have a complex SOPC system with a number of video processing blocks requiring access to DDR2 memory provises by a single HPC DDR2 memory controller.  The memory master interface can be divided into realtime and non-realtime interfaces.  The realtime interfaces requires a certain gueranteed bandwidth to the DDR2 to keep the video processing chain running, while the non-realtime interfaces should use only the remaining available bandwidth.<br />
 <br />
I have added pipeline bridges and played around with the arbitration shares in order to ensure that the realtime masters always get the required bandwidth, but I have not been 100% successful.  Sometimes a non-realtime master would take up too much bandwidth and the video processing is interrupted.<br />
 <br />
Most interfaces use bursting and from the Avalon documentation, it is not 100% clear to me if the arbitration shares have any effect on burst-enabled interfaces.  If I have, say, four masters accessing a slave and I give one master 4 shares and the other three each 1 share, would the master with 4 shares be permitted four bursts in a row and the other masters one burst each (assuming all interfaces have transactions pending)?<br />
 <br />
What I need is some way to assign a priority to a master.  Is this possible, or should I write my own arbitration logic for that?  <br />
 <br />
Regards,<br />
Niki</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>nikisteenkamp</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25154</guid>
		</item>
		<item>
			<title>simulation of CIC ipcore in modelsim (Quartus 10 sp1)</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25141&amp;goto=newpost</link>
			<pubDate>Wed, 01 Sep 2010 16:31:01 GMT</pubDate>
			<description><![CDATA[Hello! I can't simulate ip core's tb (CIC). When i start a simulation then there a error - "Unresolved reference ...." (lpm_add_sub, oper_add and...]]></description>
			<content:encoded><![CDATA[<div>Hello! I can't simulate ip core's tb (CIC). When i start a simulation then there a error - &quot;Unresolved reference ....&quot; (lpm_add_sub, oper_add and other is absent in libraries).  Can I simulate my design with CIC core in my Quartus 10 ? and how to do it? I used Quartus 10 sp1.:cool: <br />
Alex.</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>Alekseev Aleksandr</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25141</guid>
		</item>
		<item>
			<title>Unable to create consistently flowing system using VIP suite and CVI w/embedded syncs</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25137&amp;goto=newpost</link>
			<pubDate>Wed, 01 Sep 2010 15:32:14 GMT</pubDate>
			<description><![CDATA[I have created a system with the following flow:

      HD CVI -> CSC ->      HD Sclr               ->    Switch -> ChResamplr -> FB -> CVO
         ...]]></description>
			<content:encoded><![CDATA[<div><font face="Arial">I have created a system with the following flow:</font><br />
<br />
      <font face="Arial">HD CVI -&gt; CSC -&gt;      HD Sclr               -&gt;    Switch -&gt; ChResamplr -&gt; FB -&gt; CVO<br />
                                                                                                                                <br />
SD CVI -&gt; Seq -&gt; Deint -&gt; ChRsmplr -&gt; SD Sclr<br />
<br />
where the SD scaler is then fed into the switch as well.<br />
<br />
In this case, the HD CVI is expecting progressive RGB 4:4:4 with external syncs whereas the SD CVI is expecting interlaced YCbCr 4:2:2 with embedded syncs. I've found that as long as I ensure the switch is set properly prior to flowing data from my ADCs, the above system works correctly and I can make both HD and SD recordings. However, when I try to instantiate another channel with the same setup, I lose my ability in both channels to flow data through the SD paths. A look at SignalTap makes it appear as if the SD CVI block is not working at all. <br />
<br />
At this point in time, I am passing the data through a string recognizer that latches data_locked high when it sees an EAV for F1 VBI and then latches data_valid high when it sees the next SAV for F0 active picture. <br />
<br />
This inability to consistently flow video data with BT656 embedded syncs has been plaguing me from the beginning. Any help would be greatly appreciated.</font></div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>jimrodgers</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25137</guid>
		</item>
		<item>
			<title>TSE lost packets - What can I do?</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25135&amp;goto=newpost</link>
			<pubDate>Wed, 01 Sep 2010 15:08:30 GMT</pubDate>
			<description>Hello,

I built a design in which TSE is feed by a SGDMA which is connected to DDR2-RAM.
For each packet is send by TSE a descriptor for SGDMA...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I built a design in which TSE is feed by a SGDMA which is connected to DDR2-RAM.<br />
For each packet is send by TSE a descriptor for SGDMA exists. Everything works correctly until sending the first 340 packets. Then some packets get lost.<br />
<br />
I tried stopping SGDMA after 339 packets for a very short time and then let it continue. Then it works until the next 340 packets are transferred. And so on, and so on...<br />
<br />
What could be the problem? I would like to use the design without stopping SGDMA...<br />
<br />
Best regards!</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>tonib</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25135</guid>
		</item>
		<item>
			<title>VIP: Frame Buffer data rate and DDR2-RAM interface speed</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25125&amp;goto=newpost</link>
			<pubDate>Wed, 01 Sep 2010 10:23:49 GMT</pubDate>
			<description><![CDATA[Hello,

I've got a question to understand the Frame Buffer and the DDR2-RAM interface speed. For me there is a discrepancy between the following to...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I've got a question to understand the Frame Buffer and the DDR2-RAM interface speed. For me there is a discrepancy between the following to facts (I'm using Cyclone III Dev. Kit):<br />
<br />
1. On page 8 in &quot;1. Cyclone III Device Family Overview&quot; is said:<br />
&quot;... DDR2 SDRAM memory interfaces support data<br />
rates up to 400 Mbps for Cyclone III devices and 333 Mbps for Cyclone III LS devices. ...&quot;<br />
So does it mean that I can't read data from DDR2-RAM with more than 400Mbps?<br />
<br />
2. So I also used the VIP-Suite. There is a Frame Buffer, which puts video  data to DDR2-RAM using the DDR2 High Performance Controller. So if I  have a video stream 1080p60 that means:<br />
1920px * 1080px * 24bit (color depth) * 60Hz = 2986Mbps<br />
And the system works. <br />
<br />
So how could it be? Because 2986Mbps is much  faster than 400Mbps... And what is the maximum data rate I can use  Cyclone III + DDR2 High Performance Controller?<br />
<br />
So, what did I get wrong?<br />
<br />
Thanks for really every hint!<br />
<br />
Best regards,<br />
tonib</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>tonib</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25125</guid>
		</item>
		<item>
			<title>help: Genlock Function of CVO</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25116&amp;goto=newpost</link>
			<pubDate>Wed, 01 Sep 2010 01:46:25 GMT</pubDate>
			<description>I start to evaluate the Genlock function of CVO, but it can not lock to the source.
(It is based on the UDX2_1_LABS lab3 from Altera; and Arria II GX...</description>
			<content:encoded><![CDATA[<div>I start to evaluate the Genlock function of CVO, but it can not lock to the source.<br />
(It is based on the UDX2_1_LABS lab3 from Altera; and Arria II GX Devkit+ HSMC-SDI)<br />
In the SOPC, CVI(sdi_in_1) connected to terminator, Test Pattern Generator connected to CVO(sdi_out_1).<br />
Outside the SOPC, sof and locked_sof from the CVI connected to CVO.<br />
<br />
In the Nios software, the_sdi_out_1.set_genlock(true) to enable CVO genlock function, but when read the status of CVO, it always not genlocked (the_sdi_out_1.is_genlocked()). <br />
<br />
The format of sdi_in_1 is PAL, and TPG and CVO is also set to PAL.<br />
I check the sof from the CVI, it is a 25Hz pulse, it should be OK.<br />
I check the CVO (sdi_out_1) output by SDI monitor, and it is OK.<br />
<br />
Please help me!<br />
<br />
Thanks.</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>hxdzjk</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25116</guid>
		</item>
		<item>
			<title><![CDATA[Connect PCIe to Nios II (MegaWizard to SOPC-Builder) [for root-port]]]></title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25111&amp;goto=newpost</link>
			<pubDate>Tue, 31 Aug 2010 21:05:16 GMT</pubDate>
			<description>Hi,

I want to implement a PCI-Express root-port (for one endpoint) on a Cyclone IV-FPGA with an µClinux as OS and the Altera Nios II as CPU. The...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I want to implement a PCI-Express root-port (for one endpoint) on a Cyclone IV-FPGA with an µClinux as OS and the Altera Nios II as CPU. The main-components of the system are the Nios II-processor, a DDR2-SDRAM and the PCIe-module. Of course, I have to implement the device driver for the PCIe-subsystem running on the embedded Linux. But this problem is the smaller one.<br />
<br />
Due to the fact, that I am needing the root-port-functionality, I have to generate the PCIe-module with the MegaWizard Plug-In Manager. My current problem is to connect the PCIe Hard-IP (generated by the MegaWizard) with the Nios II, respectively the DDR2-SDRAM (both generated with the SOPC-Builder).<br />
<br />
Does anybody know about a reference design for the Cyclone IV FPGA-family, that shows how to connect a PCIe-HIP (MegaWizard) with a SOPC-Project? Additionally I would like to know, if there are any reference designs or design examples for a root-port including the application-core logic. Or maybe you could help me in any other way?<br />
<br />
Thank you for every hint!<br />
<br />
Regards,<br />
<br />
Rafael</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>Rafael Grabowski</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25111</guid>
		</item>
		<item>
			<title>DDR2-RAM and TSE - How to increase data-rate?</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25104&amp;goto=newpost</link>
			<pubDate>Tue, 31 Aug 2010 12:51:30 GMT</pubDate>
			<description><![CDATA[Hello,

I've the following design on my Cyclone III Dev. Board:

- NiosII writes data to DDR2-RAM
- When writing data finishes NiosII activates SGDMA...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I've the following design on my Cyclone III Dev. Board:<br />
<br />
- NiosII writes data to DDR2-RAM<br />
- When writing data finishes NiosII activates SGDMA to put all this data to TSE. TSE then transmitted this data...<br />
<br />
First I used OnChipMemory instead of DDR2-RAM. I reached an output-rate at TSE round about 80MBytes/sec.<br />
But now I want to use DDR2-RAM with DDR2 SDRAM High-Performance Controller because I have much more data to store. I only reached an output-rate at TSE round about 17MBytes/sec.<br />
<br />
What can I do to increase the output-rate of TSE with using DDR2-RAM? Is there any possibility?<br />
<br />
Thanks for every hint!<br />
tonib</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>tonib</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25104</guid>
		</item>
		<item>
			<title>Arria II Demo Board SODIMM test</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25089&amp;goto=newpost</link>
			<pubDate>Tue, 31 Aug 2010 05:15:58 GMT</pubDate>
			<description>Hello,

I was wondering if anyone has managed to run the emi_ddr2_aiigx.zip demo (http://www.altera.com/support/examples/download/emi_ddr2_aiigx.zip)...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I was wondering if anyone has managed to run the emi_ddr2_aiigx.zip demo (<a href="http://www.altera.com/support/examples/download/emi_ddr2_aiigx.zip" target="_blank">http://www.altera.com/support/exampl...ddr2_aiigx.zip</a>) on the Arria II demo board.  I compiled the project and loaded it.  The test never completes.  The test starts, local_ready goes high.  Then, local_write_req goes high.  After 16 values have been written, local_ready goes low and never goes high again.  local_write_req also stays high.<br />
<br />
The behavior of local_ready seems to indicate that the controller could not accept any more data.  The fact that local_ready never goes low again may mean that the DDR never finished the transaction.<br />
<br />
Any ideas?<br />
Thank you</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>ironmoose</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25089</guid>
		</item>
		<item>
			<title>Problem MegaCore TSE Compile</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25083&amp;goto=newpost</link>
			<pubDate>Mon, 30 Aug 2010 21:01:28 GMT</pubDate>
			<description><![CDATA[Having problem getting TSE IP Megacorefunction to  successfully compile.  Using QII ver 10.
 
I get error message " Family name "Stratic II" is...]]></description>
			<content:encoded><![CDATA[<div>Having problem getting TSE IP Megacorefunction to  successfully compile.  Using QII ver 10.<br />
 <br />
I get error message &quot; Family name &quot;Stratic II&quot; is illegal.  I checked my device configuration and I have CycIII device selected. So I don't understand the message.<br />
 <br />
Any ideas? <br />
 <br />
This is my 1st time trying to program FPGA and use TSE IP.</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=10">IP Discussion</category>
			<dc:creator>Gbg_Steeler_Fan</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25083</guid>
		</item>
	</channel>
</rss>
