Re: Slow FIFO using external SRAM



damir wrote:
> I need to implement slow FIFO (16-bit wide, max. 10 MHz) using external
> single-port SRAM connected to the FPGA (Spartan II/III).
>
> Does anyone have similar FIFO controller (sync/async) implemented using
> VHDL?
>
> Thanks,
>
> Damir

I would put two small FIFOs on the FPGA, and then have a simple,
synchronous state machine to control the external RAM. The state
machine would look at how full/empty the FIFOs are, and based on their
priority determine whether it will do a either a read or write access
to the external RAM.

If you need an asych FIFO, then use one of the on-chip FIFOs to cross
the clock domains, and keep the rest on the same clock.

.



Relevant Pages

  • Re: How to synchronize a streaming system with FPGA+FT2232H FIFO
    ... FTDI chips in FIFO mode. ... I'm using the FT2232H in synchronous FIFO, ... sending various control commands to the FPGA. ... Packet, length, checksum, timeout. ...
    (comp.arch.embedded)
  • Re: Does a 1-bit mux glitch if only one input is known to change at one time?
    ... is sending the data and commands, does not have easy visibility on the FPGA ... FIFO, so it doesn't really know the right mix of data/command to send. ... What you are talking about is having control and data in one stream. ... In this approach the FPGA should allways empty the USB chip FIFO.There ...
    (comp.arch.fpga)
  • How to synchronize a streaming system with FPGA+FT2232H FIFO
    ... FTDI chips in FIFO mode. ... I'm using the FT2232H in synchronous FIFO, ... sending various control commands to the FPGA. ... 'packet', that always contain say 32 kBytes of streaming data, and 8kBytes ...
    (comp.arch.embedded)
  • Cypress FX2 on an FPGA board, Basic Questions
    ... I have very basic questions about the FX2. ... My FX2 is embedded onto an FPGA expansion board and the only pins ... the FIFO interface pins. ... Another question is about the transfer rates. ...
    (sci.electronics.design)
  • Cypress FX2 on an FPGA board, Basic Questions
    ... I have very basic questions about the FX2. ... My FX2 is embedded onto an FPGA expansion board and the only pins ... the FIFO interface pins. ... Another question is about the transfer rates. ...
    (comp.arch.embedded)