Forum Discussion

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

A problem with using DCFIFO (lpm_fifo)

Hello!

In my design I have a 8bit x 4 words dual-clock fifo component (LPM_FIFO+) and I observe a very strange behaviour or the wrfull output signal.

Since I have fifo 4 word-deep I expect the wrfull signal go high on a 4th write I am surprised when the wrfull goes high right after the first write cycle.

I have tried to enable all the protection circuits available in this component but still not get the good results. The fifo component is on the data input to the uart transmitter...

At this point I would appreciate a fresh pair of eyes look from somebody on the forum - maybe there is something obvious wrong and I do not see it. Can you help me?

Here is the fragment of the circuit with the fifo component:

http://s820.photobucket.com/albums/zz128/pszemol_alt/?action=view&current=fifo.jpg

And here simulation with the wrfull signal going high after first write:

http://s820.photobucket.com/albums/zz128/pszemol_alt/?action=view&current=simul.jpg

Please note, wrfull signal is visible in the simulation as TX_EMPTY and is inversed.

Any ideas where and what to check?

Thanks!

12 Replies

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

    I tried to use NIOS several times, complete failure and frustration.

    Can you please help me to use just a FIFO, and find a way to connect it to a PC?

    My Project is at risk for wasting too much time trying with Nios.

    I appreciate all input and suggestions.

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

    The virtual JTAG doesn't use the Nios CPU and should be suitable to connect to a FIFO.

    I've never used it though, so I can't help you further than that.