Memory Controller
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Memory Controller

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA
Author Message
JTW
Guest





Posted: Tue Dec 21, 2004 11:23 pm    Post subject: Memory Controller Reply with quote

If I have two or more sections of logic in my FPGA that need to read and write to the same memory, what is the typical/standard approach to control who writes/reads when? Is there an example somewhere that I could look at? Thanks, JTW
Back to top
Sandeep Kulkarni
Guest





Posted: Tue Dec 21, 2004 11:23 pm    Post subject: Re: Memory Controller Reply with quote

Hello,

To keep it simple you can try using a dual port ram.
Xilinx advantage true dual port ram.

Sandeep
"Tommy Thorn" <foobar@nowhere.void> wrote in message
news:uj8yd.13718$_3.154971@typhoon.sonic.net...
Quote:
JTW wrote:
If I have two or more sections of logic in my FPGA that need to read and
write
to the same memory, what is the typical/standard approach to control
who
writes/reads when? Is there an example somewhere that I
could look at?
Thanks, JTW

It's a problem more general than just memory, ie. you could be sharing
other devices. For the most general case you need some kind of
interconnect structure and arbitration, like for example Avalon (offered
by Altera) or WISHBONE (notably used by OpenCores, though I couldn't
seem find a bus arbiter).

Often however, you can use system specific knowledge to adopt a simpler
solution, such as running the memory at twice the speed, using odd
cycles for one device, and even for the other (rarely works for external
memory though).

Tommy
Back to top
Tommy Thorn
Guest





Posted: Wed Dec 22, 2004 7:59 am    Post subject: Re: Memory Controller Reply with quote

JTW wrote:
Quote:
If I have two or more sections of logic in my FPGA that need to read and write
to the same memory, what is the typical/standard approach to control who
writes/reads when? Is there an example somewhere that I
could look at?
Thanks, JTW

It's a problem more general than just memory, ie. you could be sharing
other devices. For the most general case you need some kind of
interconnect structure and arbitration, like for example Avalon (offered
by Altera) or WISHBONE (notably used by OpenCores, though I couldn't
seem find a bus arbiter).

Often however, you can use system specific knowledge to adopt a simpler
solution, such as running the memory at twice the speed, using odd
cycles for one device, and even for the other (rarely works for external
memory though).

Tommy
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB