Triple Buffer Implementation in VHDL