<?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</title>
		<link>http://www.alteraforum.com/forum</link>
		<description><![CDATA[Altera's discussion forum for Altera, FPGA Forum, CPLD Forum, Programmable Logic, Quartus License, FPGA, CPLD Troubleshoot, Structured Asic, Field Programmable Gate Array]]></description>
		<language>en</language>
		<lastBuildDate>Mon, 06 Sep 2010 05:35:34 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.alteraforum.com/forum//proweb/misc/rss.jpg</url>
			<title>Altera Forums</title>
			<link>http://www.alteraforum.com/forum</link>
		</image>
		<item>
			<title>connection of spi input in de2 board</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25205&amp;goto=newpost</link>
			<pubDate>Mon, 06 Sep 2010 04:31:34 GMT</pubDate>
			<description><![CDATA[i am now working on a project and stuck on making a decision whether to use spi input or parallel input using several adc ic's i need to send in 8*3...]]></description>
			<content:encoded><![CDATA[<div>i am now working on a project and stuck on making a decision whether to use spi input or parallel input using several adc ic's i need to send in 8*3 bits of data in to it which is 24 bits and this need to be comapred before processing which should i used n how to make the connections i am still new with the altera de2 board....</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=2">General Altera Discussion</category>
			<dc:creator>pearl87</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25205</guid>
		</item>
		<item>
			<title>Quartus uses only 4 processors</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25204&amp;goto=newpost</link>
			<pubDate>Mon, 06 Sep 2010 02:51:44 GMT</pubDate>
			<description><![CDATA[In the "What's New in Quartus II Software Version 10.0?" page:
http://www.altera.com/products/software/quartus-ii/whats-new/swf-qts-whats-new.html
...]]></description>
			<content:encoded><![CDATA[<div>In the &quot;What's New in Quartus II Software Version 10.0?&quot; page:<br />
<a href="http://www.altera.com/products/software/quartus-ii/whats-new/swf-qts-whats-new.html" target="_blank">http://www.altera.com/products/softw...whats-new.html</a><br />
 <br />
it is said:<br />
&quot;In addition, Quartus II software now supports eight core processors with multiprocessor support, delivering, on average, a more than 20 percent compile time reduction.&quot;<br />
 <br />
When compiling my project on a PC with 12 processors (2x6 core, HyperThreading disabled), the fitter never uses more than 4 processors.<br />
<br />
This can be viewed in compile report (getting up to 3.9 averaged processors used) and by watching the Task Manager during fitter operation)<br />
The project is set up for 10 processors.<br />
<br />
Using Quartus 10.0 SP1 64-bit program under Windows 7 Ultimate 64-bit.<br />
We have compile times of up to 15 hours and the fitter uses most of the time so it would make a difference.<br />
 <br />
Kindly help on this.<br />
Thanks<br />
Regards<br />
Angel</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=7">Quartus II and EDA Tools Discussion</category>
			<dc:creator>Angel</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25204</guid>
		</item>
		<item>
			<title>Help!!! cfi flash programmer error</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25203&amp;goto=newpost</link>
			<pubDate>Mon, 06 Sep 2010 01:45:01 GMT</pubDate>
			<description><![CDATA[I use nios2-flash-programmer command with argument "--debug" , it shows:
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and...]]></description>
			<content:encoded><![CDATA[<div>I use nios2-flash-programmer command with argument &quot;--debug&quot; , it shows:<br />
Using cable &quot;USB-Blaster [USB-0]&quot;, device 1, instance 0x00<br />
Resetting and pausing target processor: OK<br />
Reading System ID at address 0x00802010: verified<br />
Found CFI table in 16 bit mode<br />
Raw CFI query table read from device:<br />
0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................<br />
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................<br />
20: 51 00 52 00 59 00 02 00 00 00 40 00 00 00 00 00 Q.R.Y.....@.....<br />
30: 00 00 00 00 00 00 27 00 36 00 00 00 00 00 07 00 ......'.6.......<br />
40: 07 00 0A 00 00 00 03 00 05 00 04 00 00 00 17 00 ................<br />
CFI query table read from device:<br />
10: 51 52 59 02 00 40 00 00 00 00 00 27 36 00 00 07 QRY..@.....'6...<br />
20: 07 0A 00 03 05 04 00 17 02 00 05 00 02 07 00 20 ............... <br />
30: 00 7E 00 00 01 00 00 00 00 00 00 00 00 00 00 00 .~..............<br />
CFI extended table read from device:<br />
0: 50 52 49 31 33 10 02 01 00 08 00 00 02 B5 C5 02 PRI13...........<br />
10: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................<br />
Read autoselect code 0001-007E (in 16 bit mode)<br />
No CFI override data for [FLASH-0001-007E]<br />
Device size is 8MByte<br />
Erase regions are:<br />
offset 0: 8 x 8K<br />
offset 10000: 127 x 64K<br />
Device supports AMD style programming algorithm<br />
Multi-byte programming with 32 byte buffer<br />
Sector erase timeout is 16s<br />
Word program timeout is 1ms<br />
Buffer program timeout is 4ms<br />
: Checksumming existing contents <br />
00000000 : Checksum failed - needs erase then program<br />
00002000 : Checksum failed - needs program<br />
00004000 : Checksum failed - needs program<br />
00006000 : Checksum failed - needs program<br />
00008000 : Checksum failed - needs program<br />
0000A000 : Checksum failed - needs program<br />
0000C000 : Checksum failed - needs program<br />
0000E000 : Checksum failed - needs program<br />
00010000 : Checksum failed - needs program<br />
00000000 : Reading existing contents <br />
Checksums took 0.0s <br />
00000000 ( 0%): Erasing <br />
Erased 8kB in 0.0s <br />
00000000 ( 0%): Programming <br />
Program failed <br />
Leaving target processor paused<br />
 <br />
and i make a override file &quot;ovet.txt&quot; like this:<br />
[FLASH-0001-007E]<br />
CFI[0x10] = 0x51 <br />
CFI[0x11] = 0x52 <br />
CFI[0x12] = 0x59 <br />
CFI[0x13] = 0x02 # The primary command set, found at CFI table -<br />
CFI[0x14] = 0x00 # addresses 0x13 and 0x14 is overridden to 0x02, 0x00.<br />
CFI[0x15] = 0x04<br />
CFI[0x16] = 0x00<br />
CFI[0x17] = 0x00<br />
CFI[0x18] = 0x00<br />
CFI[0x19] = 0x00<br />
CFI[0x1A] = 0x00<br />
CFI[0x1B] = 0x27<br />
CFI[0x1C] = 0x36<br />
CFI[0x1D] = 0x00<br />
CFI[0x1E] = 0x00<br />
CFI[0x1F] = 0x07<br />
CFI[0x20] = 0x07<br />
CFI[0x21] = 0x0A<br />
CFI[0x22] = 0x00<br />
CFI[0x23] = 0x03<br />
CFI[0x24] = 0x05<br />
CFI[0x25] = 0x04<br />
CFI[0x26] = 0x00<br />
CFI[0x27] = 0x17<br />
CFI[0x28] = 0x01<br />
CFI[0x29] = 0x00 <br />
CFI[0x2A] = 0x00 <br />
CFI[0x2B] = 0x00 <br />
CFI[0x2C] = 0x02 # The number of CFI Erase block regions, found at CFI table –address 0x2C is overridden to 0x1.<br />
CFI[0x2D] = 0x07<br />
CFI[0x2E] = 0x00<br />
CFI[0x2F] = 0x20<br />
CFI[0x30] = 0x00<br />
CFI[0x31] = 0x7E<br />
CFI[0x32] = 0x00<br />
CFI[0x33] = 0x00<br />
CFI[0x34] = 0x01<br />
CFI[0x35] = 0x00<br />
CFI[0x36] = 0x00<br />
CFI[0x37] = 0x00<br />
CFI[0x38] = 0x00<br />
CFI[0x39] = 0x00<br />
CFI[0x3A] = 0x00<br />
CFI[0x3B] = 0x00<br />
CFI[0x3C] = 0x00<br />
CFI[0x40] = 0x50<br />
CFI[0x41] = 0x52<br />
CFI[0x42] = 0x49<br />
CFI[0x43] = 0x31<br />
CFI[0x44] = 0x33<br />
CFI[0x45] = 0x00<br />
CFI[0x46] = 0x02<br />
CFI[0x47] = 0x01<br />
CFI[0x48] = 0x01<br />
CFI[0x49] = 0x04<br />
CFI[0x4A] = 0x00<br />
CFI[0x4B] = 0x00<br />
CFI[0x4C] = 0x01<br />
CFI[0x4D] = 0xB5<br />
CFI[0x4E] = 0xC5<br />
CFI[0x4F] = 0x04<br />
CFI[0x50] = 0x01<br />
CFI[0x51] = 0x00<br />
and i use nios2-flash-programmer command whit arguments --debug --override=over.txt it shows:<br />
# Programming flash with the datafile<br />
&quot;$SOPC_KIT_NIOS2/bin/nios2-flash-programmer&quot; --base=0x00000000 --cable='USB-Blas<br />
ter [USB-0]' --sidp=0x00802010 --id=956946544 --timestamp=1283733585 --instance=<br />
0 -D --override=over.txt &quot;test_flash.flash&quot;<br />
Reading override file &quot;over.txt&quot;<br />
Using cable &quot;USB-Blaster [USB-0]&quot;, device 1, instance 0x00<br />
Resetting and pausing target processor: OK<br />
Reading System ID at address 0x00802010: verified<br />
Found CFI table in 16 bit mode<br />
Raw CFI query table read from device:<br />
0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................<br />
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................<br />
20: 51 00 52 00 59 00 02 00 00 00 40 00 00 00 00 00 Q.R.Y.....@.....<br />
30: 00 00 00 00 00 00 27 00 36 00 00 00 00 00 07 00 ......'.6.......<br />
40: 07 00 0A 00 00 00 03 00 05 00 04 00 00 00 17 00 ................<br />
CFI query table read from device:<br />
10: 51 52 59 02 00 40 00 00 00 00 00 27 36 00 00 07 QRY..@.....'6...<br />
20: 07 0A 00 03 05 04 00 17 02 00 05 00 02 07 00 20 ............... <br />
30: 00 7E 00 00 01 00 00 00 00 00 00 00 00 00 00 00 .~..............<br />
CFI extended table read from device:<br />
0: 50 52 49 31 33 10 02 01 00 08 00 00 02 B5 C5 02 PRI13...........<br />
10: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................<br />
Read autoselect code 0001-007E (in 16 bit mode)<br />
Processing CFI override data from [FLASH-0001-007E]<br />
Override data came from over.txt<br />
Applied override CFI[0x10] = 0x51<br />
Applied override CFI[0x11] = 0x52<br />
Applied override CFI[0x12] = 0x59<br />
Applied override CFI[0x13] = 0x02<br />
Applied override CFI[0x14] = 0x00<br />
Applied override CFI[0x15] = 0x04<br />
Applied override CFI[0x16] = 0x00<br />
Applied override CFI[0x17] = 0x00<br />
Applied override CFI[0x18] = 0x00<br />
Applied override CFI[0x19] = 0x00<br />
Applied override CFI[0x1A] = 0x00<br />
Applied override CFI[0x1B] = 0x27<br />
Applied override CFI[0x1C] = 0x36<br />
Applied override CFI[0x1D] = 0x00<br />
Applied override CFI[0x1E] = 0x00<br />
Applied override CFI[0x1F] = 0x07<br />
Applied override CFI[0x20] = 0x07<br />
Applied override CFI[0x21] = 0x0A<br />
Applied override CFI[0x22] = 0x00<br />
Applied override CFI[0x23] = 0x03<br />
Applied override CFI[0x24] = 0x05<br />
Applied override CFI[0x25] = 0x04<br />
Applied override CFI[0x26] = 0x00<br />
Applied override CFI[0x27] = 0x17<br />
Applied override CFI[0x28] = 0x01<br />
Applied override CFI[0x29] = 0x00<br />
Applied override CFI[0x2A] = 0x00<br />
Applied override CFI[0x2B] = 0x00<br />
Applied override CFI[0x2C] = 0x02<br />
Applied override CFI[0x2D] = 0x07<br />
Applied override CFI[0x2E] = 0x00<br />
Applied override CFI[0x2F] = 0x20<br />
Applied override CFI[0x30] = 0x00<br />
Applied override CFI[0x31] = 0x7E<br />
Applied override CFI[0x32] = 0x00<br />
Applied override CFI[0x33] = 0x00<br />
Applied override CFI[0x34] = 0x01<br />
Applied override CFI[0x35] = 0x00<br />
Applied override CFI[0x36] = 0x00<br />
Applied override CFI[0x37] = 0x00<br />
Applied override CFI[0x38] = 0x00<br />
Applied override CFI[0x39] = 0x00<br />
Applied override CFI[0x3A] = 0x00<br />
Applied override CFI[0x3B] = 0x00<br />
Applied override CFI[0x3C] = 0x00<br />
Applied override CFI[0x40] = 0x50<br />
Applied override CFI[0x41] = 0x52<br />
Applied override CFI[0x42] = 0x49<br />
Applied override CFI[0x43] = 0x31<br />
Applied override CFI[0x44] = 0x33<br />
Applied override CFI[0x45] = 0x00<br />
Applied override CFI[0x46] = 0x02<br />
Applied override CFI[0x47] = 0x01<br />
Applied override CFI[0x48] = 0x01<br />
Applied override CFI[0x49] = 0x04<br />
Applied override CFI[0x4A] = 0x00<br />
Applied override CFI[0x4B] = 0x00<br />
Applied override CFI[0x4C] = 0x01<br />
Applied override CFI[0x4D] = 0xB5<br />
Applied override CFI[0x4E] = 0xC5<br />
Applied override CFI[0x4F] = 0x04<br />
Applied override CFI[0x50] = 0x01<br />
Applied override CFI[0x51] = 0x00<br />
Device size is 8MByte<br />
Erase regions are:<br />
offset 0: 8 x 8K<br />
offset 10000: 127 x 64K<br />
Device supports AMD style programming algorithm<br />
Multi-byte programming not supported<br />
Sector erase timeout is 16s<br />
Word program timeout is 1ms<br />
: Checksumming existing contents <br />
00000000 : Checksum failed - needs erase then program<br />
00002000 : Checksum failed - needs program<br />
00004000 : Checksum failed - needs program<br />
00006000 : Checksum failed - needs program<br />
00008000 : Checksum failed - needs program<br />
0000A000 : Checksum failed - needs program<br />
0000C000 : Checksum failed - needs program<br />
0000E000 : Checksum failed - needs program<br />
00010000 : Checksum failed - needs program<br />
00020000 : Checksum failed - needs program<br />
00030000 : Checksum failed - needs program<br />
00040000 : Checksum failed - needs program<br />
00050000 : Checksum failed - needs program<br />
00060000 : Checksum failed - needs program<br />
00070000 : Checksum failed - needs program<br />
00000000 : Reading existing contents <br />
Checksums took 0.3s <br />
00000000 ( 0%): Erasing <br />
Erased 8kB in 0.0s <br />
00000000 ( 0%): Programming <br />
Program failed <br />
Leaving target processor paused<br />
 <br />
 <br />
please help!</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=4">FPGA, Hardcopy, and CPLD Discussion</category>
			<dc:creator>lameck</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25203</guid>
		</item>
		<item>
			<title>Same propagation delay for two signals</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25202&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 18:15:38 GMT</pubDate>
			<description>Hi,

In my design i am using a combinational function with 2 inputs and four outputs.

The problem is that, when i check the outputs of the FPGA i...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
In my design i am using a combinational function with 2 inputs and four outputs.<br />
<br />
The problem is that, when i check the outputs of the FPGA i found glitches that are 'i think' due to a propagation delay that affects the inputs.<br />
<br />
How could i tell the FPGA that i want that the propagation delay from PINS to the COMBINATIONAL bloc should be the same : the two signal arrives at the same time ?<br />
<br />
Thanks in advance.</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=7">Quartus II and EDA Tools Discussion</category>
			<dc:creator>mda</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25202</guid>
		</item>
		<item>
			<title>Help ERROR: SOPC_KIT_NIOS2 - Undefined variable</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25201&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 17:56:28 GMT</pubDate>
			<description>Hi i am a beginner in using nios.I tried to build hello world from nios ide and its giving me the following...</description>
			<content:encoded><![CDATA[<div>Hi i am a beginner in using nios.I tried to build hello world from nios ide and its giving me the following error<br />
<br />
D:/altera/91sp2/quartus/NIOS_DE2/software/Testing_bsp/../../TOP_LV.jdi<br />
ERROR: SOPC_KIT_NIOS2 - Undefined variable<br />
make: *** [Testing.elf] Error 255<br />
make: *** Deleting file `Testing.elf'<br />
<br />
<br />
i am using quartus/nios ide 9.1  with service pack 2 installed<br />
i have my SOPC_KIT_NIOS2 environent variable set to D:\altera\91\nios2eds<br />
but still i dont understand why its giving me this error. i canot find an altera.components folder in my project explorer window in IDE.It would be great if you guys can give me some suggestions with this issue<br />
(please find the screen shot in the attachment)</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=2984&amp;d=1283709121">IDE.jpg</a> (116.7 KB)</td>
</tr>
			</table>
			</fieldset>
	
	
	
	
	</div>
]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=44">General Discussion Forum</category>
			<dc:creator>MCC</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25201</guid>
		</item>
		<item>
			<title>The proble of testbench</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25200&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 17:03:37 GMT</pubDate>
			<description><![CDATA[Hi!
I am a newbie of the testbench,during the learning I meet some problem.
 
There is something wrong with the "dataout/=i",maybe they are different...]]></description>
			<content:encoded><![CDATA[<div>Hi!<br />
I am a newbie of the testbench,during the learning I meet some problem.<br />
 <br />
There is something wrong with the &quot;dataout/=i&quot;,maybe they are different type.<br />
what should I do to convert them into the same type?<br />
 <br />
please help me.</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=2983&amp;d=1283706800">&#25429;&#33719;.JPG</a> (40.0 KB)</td>
</tr>
			</table>
			</fieldset>
	
	
	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://www.alteraforum.com/forum//proweb/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.alteraforum.com/forum/attachment.php?attachmentid=2982&amp;d=1283706655">FX.txt</a> (2.7 KB)</td>
</tr>
			</table>
		</fieldset>
	
	
	</div>
]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=7">Quartus II and EDA Tools Discussion</category>
			<dc:creator>li_polaris</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25200</guid>
		</item>
		<item>
			<title>SDRAM problems migrateing neek tutorial to 10.0</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25199&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 14:53:27 GMT</pubDate>
			<description>Hi,
I have tried running SOPC builder on the neek_sopc_builder_hw_tutorial using the latest set of tools, quartus 10.1. I get the following error...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I have tried running SOPC builder on the neek_sopc_builder_hw_tutorial using the latest set of tools, quartus 10.1. I get the following error when I generate;<br />
Error: ddr_sdram: DDR and DDR2 SDRAM controllers in High Performance Controller II architecture only support &quot;Memory burst length&quot; setting of 8 at half rate. Click &quot;Modify Parameters&quot; in &quot;Memory Settings&quot; page to change the &quot;Memory burst length&quot; or change the controller data rate.<br />
Warning: ddr_sdram: Cannot meet tRRD  requirement of 0.0 ns. For a Memory interface clock frequency of 150.0 MHz, the minimum is 7.3 ns. Click &quot;Modify Parameters&quot; to change the requirement or adjust the Memory interface clock frequency.<br />
<br />
Where am I going wrong and what has changed between 9.0 and 10.1<br />
 <br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=44">General Discussion Forum</category>
			<dc:creator>Uk Fixer</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25199</guid>
		</item>
		<item>
			<title>Modling a State Machine in VHDL ... with trouble memorizing variables</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25198&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 11:52:22 GMT</pubDate>
			<description><![CDATA[Hi,

I'm trying to make a state-machine wich remains in one of the states until one of the variables goes from zero to one three times. I assume it...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I'm trying to make a state-machine wich remains in one of the states until one of the variables goes from zero to one three times. I assume it should be quite simple, but after some days I can't succeed. I have tried to save the number of changes both in variables and signals, but no result.<br />
<br />
To make a simple test, I just made one simple state-machine with two states. It remains on the first one till the signal_to_monitor =1. Then it goes to second state and the idea is to get out of that state after three transitions 0-1 of the signal we are monitoring. <br />
<br />
The code used is:<br />
<br />
<br />
architecture ctrl_machine of machine is<br />
<br />
type possible_states is (first_st,second_st);<br />
signal next_state,state: possibles_states;<br />
signal accumulate : integer range 0 to 5;<br />
<br />
<br />
begin<br />
<br />
RefreshState : process (clk,reset)<br />
begin<br />
if (reset='1') then<br />
estat &lt;= idle;<br />
elsif (clk'event and clk='1') then<br />
estat &lt;= seguent_estat;<br />
end if;<br />
end process RefreshState;<br />
<br />
<br />
NextState : process (state,signal_to_monitor)<br />
<br />
begin<br />
next_state &lt;= state;<br />
case state is<br />
<br />
when first_st =&gt; <br />
<br />
if (signal_to_monitor ='1') then <br />
next_state &lt;= second_st;<br />
else <br />
accumulate &lt;=0;<br />
next_state &lt;= first_st;<br />
end if;<br />
<br />
when second_st =&gt; <br />
next_state &lt;= buidant_calaix;<br />
if (signal_to_monitor = '1') then <br />
accumulate &lt;=accumulate +1;<br />
end if;<br />
if (accumulate = 3) then<br />
next_state&lt;=first_state;<br />
end if;<br />
end case;<br />
end process;<br />
<br />
<br />
<br />
<br />
output_proc : process (state)<br />
begin<br />
<br />
case (state) is<br />
when first_st =&gt; output &lt;='0';<br />
when second_st =&gt; output &lt;='1';<br />
<br />
end case;<br />
end process ;<br />
<br />
<br />
(...)<br />
<br />
I assume it should be a conceptual error but can't find it! The signal (accumulate) gets mad and begins to flip-flop without control (suppose due to accumulate=accumulate+1 but don't know how to accomplish this simple goal!).<br />
<br />
Any ideas?<br />
<br />
Thanks!!!<br />
<br />
Carlos</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=2">General Altera Discussion</category>
			<dc:creator>carlo_s</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25198</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>Qpsk Modem</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25196&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 19:43:29 GMT</pubDate>
			<description>Which of the development kits can I purchase to implement the QPSK modem REFERENCE DESIGN as described in the october 2003 reference document.</description>
			<content:encoded><![CDATA[<div>Which of the development kits can I purchase to implement the QPSK modem REFERENCE DESIGN as described in the october 2003 reference document.</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=31">Development Kit Related</category>
			<dc:creator>slindsay</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25196</guid>
		</item>
		<item>
			<title>quartus 10 wont generate sof file</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25195&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 19:05:46 GMT</pubDate>
			<description>Hi everybody,

I have a serious problem concerning generating sof file using Quartus 10. I am using a DE2 BOARD(CYCLONE EP2C35 ) and when I compile...</description>
			<content:encoded><![CDATA[<div>Hi everybody,<br />
<br />
I have a serious problem concerning generating sof file using Quartus 10. I am using a DE2 BOARD(CYCLONE EP2C35 ) and when I compile my project everything is fine, but it wont generate the sof file so I can program my DE2 BAORD. by the way I download the quartus 10 from ALTERA website. <br />
<br />
any help will be very appreciated.<br />
<br />
David,</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=2">General Altera Discussion</category>
			<dc:creator>dabaf</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25195</guid>
		</item>
		<item>
			<title>Embedded compilation by Python scripts</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25194&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 17:19:29 GMT</pubDate>
			<description>I would like to share a link to short article or news about scripting embedded software by python...</description>
			<content:encoded><![CDATA[<div>I would like to share a link to short article or news about scripting embedded software by python script.<br />
<br />
reembedded.com/index.php?option=com_content&amp;view=article&amp;id=73:em  bedded-compilation-by-python-scripts&amp;catid=50:latest-embedded-news&amp;Itemid=115&amp;lang=en</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=51">ecos Forum</category>
			<dc:creator>info.reembedded</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25194</guid>
		</item>
		<item>
			<title>DDR2 SDRAM interleving??</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25193&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 16:48:13 GMT</pubDate>
			<description>Hi everyone,
 
I am using Cyclone III dev. board. I am trying to design a DDR2 SDRAM controller using SOPC builder. I need to increase the bandwidth...</description>
			<content:encoded><![CDATA[<div>Hi everyone,<br />
 <br />
I am using Cyclone III dev. board. I am trying to design a DDR2 SDRAM controller using SOPC builder. I need to increase the bandwidth and want to do memory interleaving, but have no idea how to do that. Is there a setting in SOPC DDR2 wizard to do interleaving, or do I have to write it myself?</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=7">Quartus II and EDA Tools Discussion</category>
			<dc:creator>sberyilmaz</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25193</guid>
		</item>
		<item>
			<title>How to simulate FPGA configration?</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25192&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 12:02:14 GMT</pubDate>
			<description>:confused: :confused: :confused: How to simulate FPGA configration?</description>
			<content:encoded><![CDATA[<div>:confused: :confused: :confused: How to simulate FPGA configration?</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=2">General Altera Discussion</category>
			<dc:creator>cyberholic</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25192</guid>
		</item>
		<item>
			<title>No filesystem could mount root</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25191&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 11:24:54 GMT</pubDate>
			<description>hello:
    I was trying to transplant uClinux to DE2 for two weeks,I follow the wiki step by step!
   and the error message is: 
   Kernel panic -...</description>
			<content:encoded><![CDATA[<div>hello:<br />
    I was trying to transplant uClinux to DE2 for two weeks,I follow the wiki step by step!<br />
   and the error message is: <br />
   Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)<br />
 <br />
   After I found a lot of web page.I found the mistake was happen at romfs,because,when I do the order &quot;make romfs&quot;,it says &quot;nothing to do for romfs&quot;,and the romfs file is empty.<br />
   When I follow this web page,<a href="http://www.nioswiki.com/index.php?title=OperatingSystems/UClinux/UClinuxDist/InitramfsUpdate&amp;highlight=initramfs" target="_blank">http://www.nioswiki.com/index.php?ti...ight=initramfs</a><br />
I delete the romfs and make it again,the results is the same!<br />
    I think the problem is the rootfs,but I don't know how to resolve it.<br />
    I was using Ubuntu 9.10,quartus and IDE 8.1,and the uClinux-dist is uClinux-dist-20070130.tar.gz,and the my NiosII gcc cross compiler is nios2gcc-20080203,and it is successfull.<br />
    I have confused it for a few weeks,but I still resolve the problem,please tell me how to do,how to build the rootfs or how to transplant uClinux to DE2.Thank you very much!</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=50">Linux Forum</category>
			<dc:creator>yingfang18</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25191</guid>
		</item>
		<item>
			<title>Quartus II on NetBook Computer w/Win7 starter OpS</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25190&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 08:27:26 GMT</pubDate>
			<description><![CDATA[hi, folks,
i am a sub-contractor designer, and from tome to time a have to come to customer lab for system debug & integration.
i am tired of running...]]></description>
			<content:encoded><![CDATA[<div>hi, folks,<br />
i am a sub-contractor designer, and from tome to time a have to come to customer lab for system debug &amp; integration.<br />
i am tired of running around with large 15&quot;, multi-kilogram, high performance laptop computer.....<br />
<br />
i'm thinking of option to buy a high-screen-resolution netbook computer, like lenovo idealpad d10-3 and use it in 2 modes:<br />
<br />
for light fpga designs i want the Quartus II to be installed on the netbook and run from it. the netbook is quite limited - it's usually equipped with atom N450 processor, 1G memory and has Win7 starter for operating system.<br />
1. would the quartus II run on this kind of machine and operating system? 2. would the run times be reasonable for instance to run compile design on EP3C16, 70% utilization?<br />
<br />
the other way, for really &quot;heavy&quot; designs, i want to run the whole thing via remote desktop application (like LogMeIn) on server in the office and use the netbook to program the device on target by usb-blaster and to use the signal tap interface.<br />
1. the signal tap is an iterative application. do you think the netbook is strong enough to support this kind of operation?<br />
<br />
does anyone has such experience? any advice?<br />
is there any special support by quartus II software i should know?<br />
<br />
thanx in advance<br />
eli.</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=7">Quartus II and EDA Tools Discussion</category>
			<dc:creator>ELI_HAIT</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25190</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>DE2 70 CRC Error</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25187&amp;goto=newpost</link>
			<pubDate>Fri, 03 Sep 2010 19:03:59 GMT</pubDate>
			<description>Hi, I have a problem in load uclinux in my DE2 70, i try to use the TryOutuclinux( the .sof and zImage downloaded of the wiki page) but the frist...</description>
			<content:encoded><![CDATA[<div>Hi, I have a problem in load uclinux in my DE2 70, i try to use the TryOutuclinux( the .sof and zImage downloaded of the wiki page) but the frist problem was when I maked the line command  'nios2-configure-sof' I received this error : <br />
 <br />
ERROR: File DE2_70_NIOS_HOST_MOUSE_VGA.sof is corrupted<br />
 <br />
After I take this file on my DE-2 CD and the command work fine, after I maked '<font color="#666666">nios2-download -g zImage' , </font><font color="black">and work fine too, but when I do 'nios2-terminal' I received this error:</font><br />
 <br />
&quot;Uncompressing Linux...<br />
ERROR<br />
crc error&quot;<br />
 <br />
what you thing? its necessary use the .sof file of the wiki page? i don't thing this because the file of DE2 CD its the same. maybe my zImage file is corrupted too? help me please.</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=50">Linux Forum</category>
			<dc:creator>Wilsoneto</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25187</guid>
		</item>
		<item>
			<title>DE1 Demonstrations, problem with VGA and TOOLS – Multi-Port SRAM/SDRAM/Flash Controll</title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25186&amp;goto=newpost</link>
			<pubDate>Fri, 03 Sep 2010 17:29:33 GMT</pubDate>
			<description>Hi,
 
I cannot have the VGA demonstrations correctly working.
 
I can see the default image and the cursors, but if I try to use any else image...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
 <br />
I cannot have the VGA demonstrations correctly working.<br />
 <br />
I can see the default image and the cursors, but if I try to use any else image created by the image converter (.dat, .txt ecc...) and load the file into SRAM and then configure the asynchronous port1 (also tried the other ports!) no correct imagers are shown; actually, only the created .txt file shows some portions of the image, but not correctly.<br />
 <br />
Anyone have the same problem?<br />
 <br />
Tx<br />
John</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=31">Development Kit Related</category>
			<dc:creator>johnpre</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25186</guid>
		</item>
		<item>
			<title><![CDATA[A minimal "from scratch" on your own hardware example?]]></title>
			<link>http://www.alteraforum.com/forum/showthread.php?t=25185&amp;goto=newpost</link>
			<pubDate>Fri, 03 Sep 2010 16:42:32 GMT</pubDate>
			<description><![CDATA[Short version of the question:  
Where can I find a tutorial on starting from custom hardware to getting the most basic "hello world" NIOS...]]></description>
			<content:encoded><![CDATA[<div>Short version of the question:  <br />
Where can I find a tutorial on starting from custom hardware to getting the most basic &quot;hello world&quot; NIOS running?<br />
<br />
Long version of the question:<br />
<br />
I'm probably one good Google search away from what I want but I can't seem to find it.<br />
<br />
I have a Cyclone II based board we built in house.  The board is up and running and doing useful non-processor things.  When we were laying out the board hardware, we knew we probably wanted some kind of soft processor.  At the time, we were using the FPGA tools built into Altium so we copied the SDRAM, flash, and SRAM hardware from the Altium &quot;Nanoboard 2000&quot; (had to remove the link since this is my first post). I've gotten our hardware to run the simple webserver examples from Altium so I know the hardware is good.<br />
<br />
In the time since we laid out the hardware and now, we've migrated to native Quartus tools for our behavioral VHDL for the better test and debug capabilities.  Now I want to instantiate a NIOS based soft processor in our hardware to make sure that the hardware is compatible with the NIOS environment.<br />
<br />
So what I am trying to do is start with a minimal NIOS system with just on-chip RAM and a JTAG UART and get a &quot;hello world&quot; going.  If I can do that, then I can add my hardware components one at a time and test.  But I keep running into simple problems.  All the examples I can find assume you have working and known good hardware and BSP.  I want an example of creating a BSP from scratch to test hardware.  Any suggestions?<br />
<br />
David<br />
<br />
Edit:  Murphy's law, you always find what you are looking for right after you post a detailed question on the forum.  I think this is what I am loooking for altera.com/literature/tt/tt_nios2_hardware_tutorial.pdf</div>

]]></content:encoded>
			<category domain="http://www.alteraforum.com/forum/forumdisplay.php?f=44">General Discussion Forum</category>
			<dc:creator>davidsmoot</dc:creator>
			<guid isPermaLink="true">http://www.alteraforum.com/forum/showthread.php?t=25185</guid>
		</item>
	</channel>
</rss>
