Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Add 64byte FIFO to UART Core?

Can i add a 64 byte FIFO in between UART Core and NIOS II?

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    UART core already has FIFO inside, just select the proper buffer size.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I think you might be referring to the JTAG UART? The standard UART core just has a hardware buffer of 1. TX and RX data registers.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Oh, my bad... Yes, I was thinking about JTAG UART somehow. Anyway, I see no problems adding FIFO to the UART.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I thought there was a uart with fifo somewhere.

    Thinks....

    It ought to be possible to use a single M9K memory block to implement (say) 32 byte tx and rx buffers for 16 uarts provided the maximum uart byte rate is 32 times less than the system clock (2 clocks cycles for each uart).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    AFAIK, the DMA component can be used to copy data from a memory buffer to a UART core, without having the CPU write each byte.