Two SX's sharing the same SRAM?

I want to setup two sx48's to the same SRAM. One reads the other writes...both at very high speed (70+Mhz). I realize I need some fast SRAM for this (I have 15ns which I think can handle 80Mhz or more).
Anyway, any suggestions on keeping the two SX's from fighting? I would like one to read and then tell the other it's done. Then the othe SX would write and then tell the first it's done, etc.
Thanks!
cbmeeks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
Anyway, any suggestions on keeping the two SX's from fighting? I would like one to read and then tell the other it's done. Then the othe SX would write and then tell the first it's done, etc.
Thanks!
cbmeeks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
Comments
http://www.maxim-ic.com/appnotes.cfm/appnote_number/62
Other options is to multiplex signals yourself. The above article
also talks about that.
regards peter
cbmeeks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
· Dual ported memory is nice, but it's expensive.
· Is this for video ?
· One SX48 is the video generator and the other updates the screen ?
What I was thinking of doing is this:
Game SX gets it's clock from the Video generator SX output pin. (Timer output?)
Video generator SX has the address lines connected directly.
Game SX has the addres lines connected through resistors (4.7K ?).
The video generator makes it's address line INPUTS when not accessing the memory.
When the video generator needs to access the memory is does the following:
· Stops the game SX clocks
· Makes it's address lines outputs and puts the address on the pins (overriding the game SX).
· Reads the memory for 1 line of video into the SX RAM.
· Makes it's address lines inputs again.
· Starts the game SX clock again.
The SRAM control signal would work the same way, through resistors on the Game SX.
It was a plan, I haven't attempted to make it work.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
There are only two guaranteed ways to become weathy.
Spend less than you make.
Make more than you spend.
·
my plan was to have an SX48 as a video processor. His only job is to render what is in a video buffer...one pixel at a time.
Then have another SX48 for writing data to that buffer during the verticle blank.
My CPU is going to be a 6502
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
Dave
For example, the SX rendering the video signal could control when the other SX is allowed to write...it could set the output pin to high while it's in the vertical blank
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic