Digilent SRAM 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
Digilent SRAM Controller

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





Posted: Thu Dec 15, 2005 5:15 pm    Post subject: Digilent SRAM Controller Reply with quote

Hi,

I was wondering if anybody had designed a vhdl sram controller for the
Digilent Memory Expansion board that is designed for the spartan 3
starter kit. It is just two ISSI IS61LV5128AL sram chips. I have
tried writing a controller but cant seem to get it to work!!

Thank a lot,

Alastair
Back to top
al99999
Guest





Posted: Thu Dec 15, 2005 5:15 pm    Post subject: Re: Digilent SRAM Controller Reply with quote

Thanks, trying to use VIO in chipscope with the code below and getting
the following error:

ERROR:Xst:2091 Different types for port <async_in> on entity and
component for <vio>.

Any ideas?

Thanks

entity vio_top is
Port(
control: in std_logic_vector(35 downto 0);
async_in: in std_logic_vector(7 downto 0)
);
end vio_top;

architecture structure of vio_top is


-------------------------------------------------------------------
--
-- VIO core component declaration
--
-------------------------------------------------------------------
component vio
port
(
control : in std_logic_vector(35 downto 0);
async_in : in std_logic_vector(7 downto 0)
);
end component;


begin


-------------------------------------------------------------------
--
-- VIO core instance
--
-------------------------------------------------------------------
i_vio : vio
port map
(
control => control,
async_in => async_in
);


end structure;
Back to top
Antti Lukats
Guest





Posted: Thu Dec 15, 2005 5:15 pm    Post subject: Re: Digilent SRAM Controller Reply with quote

"al99999" <alastairlynch@gmail.com> schrieb im Newsbeitrag
news:1134651034.610713.142150@f14g2000cwb.googlegroups.com...
Quote:
Hi,

I was wondering if anybody had designed a vhdl sram controller for the
Digilent Memory Expansion board that is designed for the spartan 3
starter kit. It is just two ISSI IS61LV5128AL sram chips. I have
tried writing a controller but cant seem to get it to work!!

Thank a lot,

Alastair


SRAM doesnt need an controller, just connect it to whatever you want, if you
did it right and the hardware is ok it will work.

for EDK just add an EMC IP core to the SoC and setup the port connection in
the ucf file, thats should be it.

Antti
Back to top
al99999
Guest





Posted: Thu Dec 15, 2005 5:16 pm    Post subject: Re: Digilent SRAM Controller Reply with quote

Thanks, I'm not using EDK, only ISE, so I need a simple controller for
the CE, OE and WE pins and to put the data and address on the correct
buses at the right times.
Back to top
Antti Lukats
Guest





Posted: Thu Dec 15, 2005 5:16 pm    Post subject: Re: Digilent SRAM Controller Reply with quote

"al99999" <alastairlynch@gmail.com> schrieb im Newsbeitrag
news:1134655074.184301.148800@g49g2000cwa.googlegroups.com...
Quote:
Thanks, I'm not using EDK, only ISE, so I need a simple controller for
the CE, OE and WE pins and to put the data and address on the correct
buses at the right times.

that is just plain wires, if you have some circuitry that the SRAM can be

connected.

if you have trouble then just use VIO in chipscope, connected the SRAM to
VIO pins and check the that the sram is really working properly, then go
ahead and check your desing

Antti
Back to top
Leon
Guest





Posted: Thu Dec 15, 2005 5:16 pm    Post subject: Re: Digilent SRAM Controller Reply with quote

Here is a RAM tester for the S3 kit:

http://www.derepas.com/fabrice/hard/

It'll probably help you.

Leon
Back to top
Brian Davis
Guest





Posted: Fri Dec 16, 2005 7:45 am    Post subject: Re: Digilent SRAM Controller Reply with quote

al99999 wrote:
Quote:
Thanks, I'm not using EDK, only ISE, so I need a simple controller for
the CE, OE and WE pins and to put the data and address on the correct
buses at the right times.

fpga-cpu group threads about async SRAM strobe & OE timing:
http://groups.yahoo.com/group/fpga-cpu/messages/539?threaded=1
http://groups.yahoo.com/group/fpga-cpu/messages/2039?threaded=1

fpga-cpu post with S3 kit SRAM tester:
http://groups.yahoo.com/group/fpga-cpu/message/2177

The archive for that is here
ftp://members.aol.com/fpgastuff/ram_test.zip

And a post on re-compiling it under 7.1 :
http://groups.google.com/group/comp.arch.fpga/msg/8955e7209e0c3929

That example includes pipelined SRAM control logic (registered address,
data, and tristate contols in IOB registers, gated write pulse ) for
the Xilinx/Digilent S3 eval kit.

I've started a newer version of that, using a DCM duty cycle tweak,
that works at around 60 Mhz with address & data lines all in SLOW
slew rate mode, I'll probably update that archive file sometime next
month.

Brian
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