> Hello,
>
> i want to create a special UART with a FIFO (at least 64 Bytes deep,
> perhaps bigger).
> Can someone tell me, how a FIFO can be implemented in hardware ? Is is
> "simply" an array of bytes, with two counters: one for filling it in and
> one for reading out ? Or is there a better approach ?
>
> At the moment i have only knowledge in ABEL with XILINX CPLD (XC95)
> series. Is it the right way to use a CPLD (perhaps a big one, because of
> the amount of storage cells needed only for the FIFO) ? Or does a FPGA (i
> read they have RAM inside, where i hopefully can put my FIFO in ?) fit
> better this job ? What XILINX chip (because of already available
> environment) do you recommend for this and why ?
>
> Regards and thanks for helping,
>
> Martin
Check out the Picoblaze source code by Ken Chapman, which is available for
free from Xilinx web site. The source included really nice and compact UART
with 16-byte FIFO.
Remis
--
************************************************
To reply, remove >.spam< and >.fake<
Reply by Andy Peters●April 18, 20042004-04-18
"Martin Maurer" <capiman@clibb.de> wrote in message news:<c5ti7m$ljn$07$1@news.t-online.com>...
> Hello,
>
> i want to create a special UART with a FIFO (at least 64 Bytes deep, perhaps
> bigger).
> Can someone tell me, how a FIFO can be implemented in hardware ? Is is
> "simply" an array of bytes, with two counters: one for filling it in and one
> for reading out ? Or is there a better approach ?
Do a search, esp. of the FPGA/CPLD vendor web sites. FIFO examples
abound. A FIFO is a homework assignment :)
> At the moment i have only knowledge in ABEL with XILINX CPLD (XC95) series.
> Is it the right way to use a CPLD (perhaps a big one, because of the amount
> of storage cells needed only for the FIFO) ? Or does a FPGA (i read they
> have RAM inside, where i hopefully can put my FIFO in ?) fit better this job
Unless you're using one of the new Lattice XPLDs, you can't use a CPLD
to do a FIFO using internal RAM, since CPLDs ('cept those Lattices)
don't have internal RAM.
> ? What XILINX chip (because of already available environment) do you
> recommend for this and why ?
Pick one that has enough internal resources for your application. Any
of the Xilinx (or Altera, or other brands) will do fine.
Reply by Martin Maurer●April 18, 20042004-04-18
Hello,
i want to create a special UART with a FIFO (at least 64 Bytes deep, perhaps
bigger).
Can someone tell me, how a FIFO can be implemented in hardware ? Is is
"simply" an array of bytes, with two counters: one for filling it in and one
for reading out ? Or is there a better approach ?
At the moment i have only knowledge in ABEL with XILINX CPLD (XC95) series.
Is it the right way to use a CPLD (perhaps a big one, because of the amount
of storage cells needed only for the FIFO) ? Or does a FPGA (i read they
have RAM inside, where i hopefully can put my FIFO in ?) fit better this job
? What XILINX chip (because of already available environment) do you
recommend for this and why ?
Regards and thanks for helping,
Martin