Forum Discussion

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

FIFO Interface

The fifo interface (http://www.ece.utexas.edu/~desimone/fifo_interface/) component interfaces a FIFO megafunction to the Avalon bus so the master can read or write it like a peripheral. It's pretty simple, really.

This is one of those peripherals that makes no sense whatsoever for a normal microcontroller, because there are too many fundamental variables (how wide? how deep?).

The main site (http://www.ece.utexas.edu/~desimone/fifo_interface/) has all the documentation, or if you don't believe in documentation, you could just go ahead and download the component (http://www.ece.utexas.edu/~desimone/fifo_interface/download.html).

This component is released as free software under the GNU Lesser General Public License. Since it is something I'm doing for fun, there is no guarantee of support. Of course, since it's open source, you're free to dive in and mess with your copy all you want.

Feel free to identify bugs, suggest improvements, even send patches. There is a support topic on this forum, or you can try to contact me via email. Be advised that I'm not constantly in my office, so email replies may take up to a day or two (or longer, if I'm on travel).

Have fun! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif

13 Replies

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

    --- Quote Start ---

    originally posted by james@Sep 8 2005, 03:04 PM

    blocking mode doesn&#39;t work. i&#39;ve attached a fix (a new class.ptf file).

    the problem is that when blocking mode is specified, you have to set the read_wait_states and write_wait_states in the sbi to "peripheral_controlled" for avalon to honor the waitrequest signal.

    to deploy the fix, just overwrite the original class.ptf with this new file, run sopc builder, and double-click on all existing instantiations of the component to get the wizard_finish portion of the class.ptf to run, and then regenerate.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=9653)

    --- quote end ---

    --- Quote End ---

    I can&#39;t download the fix. The file seems not to exist. Can anyone help? I Need the blocking mode....

    Bye and thanks

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

    this is what I have downloaded Sep 08 2005

    regards

    henning

    Sorry This seems not to work. Error message is:

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    The total filespace required to upload all the attached files is greater than your per post or global limit. Please reduce the number of attachments or the size of the attachments.[/b]

    --- Quote End ---

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

    --- Quote Start ---

    originally posted by larsen@Dec 1 2005, 08:20 AM

    this is what i have downloaded sep 08 2005

    regards

    henning

    sorry this seems not to work. error message is:

    <div class='quotetop'>quote

    --- quote end ---

    --- quote start ---

    the total filespace required to upload all the attached files is greater than your per post or global limit. please reduce the number of attachments or the size of the attachments.

    --- Quote End ---

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=11291)</div>

    [/b]

    --- Quote End ---

    Can someone with the updated PTF file post it?

    Also I was wondering, why does this interface have a maximum fifo width of 32 bits? The Altera wizard allows you to specify much wider fifos...

    EDIT: Larsen sent me Jesse&#39;s PTF file. Hopefully this link stays up for a while.