VHDL code for circular buffer

Status
Not open for further replies.

vijayanand_ME

Member level 1
Joined
Sep 28, 2006
Messages
37
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,511
vhdl circular buffer

Hi,
Could you please share the VHDL code for Circular buffer.
Thank you,
Vijay
 

circular buffer vhdl

Circular buffer is similar to the normal buffer, except that if the write pointer reaches the last location, it gets reset to the first location of the buffer ..
You can implement this action using a simple if-statement .. :
if (last) then
pointer <= first;
end if;

That's it.
 

vhdl buffer

It's VHDL code for 8 bit circular buffer. I have tested for compiling and simulation.
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…