What is the difference between cache and fifo?

Hi,

whether We can use both cache and fifo as buffers(small Delay)?

May I know what is the actual difference between them when you are using as “buffer application”?

whether We can use both cache and fifo as buffers(small Delay)?
what is the actual difference between them when you are using as “buffer application”?

I see a (fifo) buffer as the constrained storage of a stream of information, such as data sequential items. A cache is more of an associative array with a limited size. Of course, a cache can be used as a buffer, but it would require some supporting logic (e.g., counters) to maintain the write and read addresses for the data items, thus emulating the stream of information being stored and read. A fifo design would run at a faster clock than a cache for the same technology because of it is of less complexity than a cache design.


Ben Cohen Training for VMM, SVA (831) 345-1759
http://www.systemverilog.us/ ben@systemverilog.us

  • A Pragmatic Approach to VMM Adoption 2006 ISBN 0-9705394-9-5
  • SystemVerilog Assertions Handbook, 2005 ISBN 0-9705394-7-9
  • Using PSL/SUGAR for Formal and Dynamic Verification 2nd Edition, 2004, ISBN 0-9705394-6-0
  • Real Chip Design and Verification Using Verilog and VHDL, 2002 isbn 0-9705394-2-8
  • Component Design by Example ", 2001 ISBN 0-9705394-0-1
  • VHDL Coding Styles and Methodologies, 2nd Edition, 1999 ISBN 0-7923-8474-1
  • VHDL Answers to Frequently Asked Questions, 2nd Edition ISBN 0-7923-8115