Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Spartan 3 - External SRAM interface

Status
Not open for further replies.

cmos babe

Full Member level 4
Full Member level 4
Joined
Jan 15, 2005
Messages
209
Helped
11
Reputation
22
Reaction score
0
Trophy points
1,296
Location
Dubai
Activity points
1,897
Hi,
I want to make a FPGA-SRAM interface.This is the first time I connect the FPGA to the outside world so I need some help .
Should the clock frequency be changed to accommodate the offset in/out before/after clock time + the read/write cycle time?

Thanks (=
 

What type SRAM? What is your clock rate now?
Are you using a common FPGA board? Someone may already have example code.
 

    cmos babe

    Points: 2
    Helpful Answer Positive Rating
are you sure it is SRAM not SDRAM?
 

SRAM is asynchronous, so the clock is irrelevant... as long as you meet the access time of the SRAM, you will be ok. If you have a 10nS access time, that's a 100 MHz maximum clock rate you can have.... but the SRAM doesn't actually use the clock.
 

In addition to the access time there's delay introduced by the clock-to-pad path and the pad-to-setup path..Shouldn't this be added to the access time to calcaculate the max clock rate?
 

Yes you need to consider the FPGA I/O delays too. To minimize those delays, try to put your I/O registers into the IOBs instead of the regular logic fabric. Also set output SLEW to FAST. If the total delay is still too much, you can either reduce the clock frequency or add another clock cycle to your SRAM access timing.

Some of the Xilinx example projects use the SRAM:
**broken link removed**
 

    cmos babe

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top