KSR24
Newbie level 3

HI,
I am trying to implement double buffer in vhdl ...i.e., i would like to declare two arrays such that as soon as first one is filled the index should point to second array's first element. While the second array is filling the read pointer should read contents of first array so that making it empty and process goes on..
Can anyone give me some idea how to declare read, write pointers,index??
Thanks,
Kavya.
I am trying to implement double buffer in vhdl ...i.e., i would like to declare two arrays such that as soon as first one is filled the index should point to second array's first element. While the second array is filling the read pointer should read contents of first array so that making it empty and process goes on..
Can anyone give me some idea how to declare read, write pointers,index??
Thanks,
Kavya.