FileFIFO library for a generic FIFO

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
Hannu
VLSI Staff
Posts: 546
Joined: Mon 2016-05-30 11:54
Location: Finland
Contact:

FileFIFO library for a generic FIFO

Post by Hannu »

Dear VS1010 users,

I got tired of rewriting FIFO on every time I needed one and wrote a generic implementation. This one uses FILE pointer and has all the features I have wanted so far.
  • Byte addressed
  • Blocking and non-blocking I/O
  • Tail eating overwrite
  • Simple FILE pointer interface
  • Flexible buffer memory management
  • Reasonable memory consumption (buffers not included): Total words: I 790, X 157, Y 0
Documentation and source code solution are attached to this message.

Have fun with this, report bugs and ask questions
Attachments
README.txt
Documentation for FileFIFO library
(16.43 KiB) Downloaded 300 times
filefifo.zip
FileFIFO solution
(47.53 KiB) Downloaded 276 times
Post Reply