fixed circular buffer HDL