Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20803 Discussions

How Can I run LWIP on-chip memory on EP1C12(Cycl)

Altera_Forum
Honored Contributor II
1,239 Views

How Can I run LWIP on-chip memory on EP1C12(Cycl)

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
517 Views

 

--- Quote Start ---  

originally posted by nik@Oct 1 2006, 04:02 PM 

how can i run lwip on-chip memory on ep1c12(cycl) 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18513) 

--- quote end ---  

 

--- Quote End ---  

 

 

Sorry, there probably isn&#39;t a way to do this.  

 

When you build your software in the IDE you will see how many bytes the program (text) and data took. Additional memory is required for stack and heap. You can see how much memory each Altera device has on-chip by referring to the architecture chapter of that device family on the altera.com literature web site. 

 

For applications of this size (that require so much overhead for the code and data of a protocol stack), my bet is that it will be much more cost effective to use an FPGA sufficient for the logic in your design and then a more general purpose off-chip ram for the code storage. 

 

Put another way, FPGA memory is very speedy -- there isn&#39;t much of it to go around. Using it for your protocol stack is "kind of like using rocket fuel for your car" to paraphrase another engineer here.
0 Kudos
Reply