Pipelined architecture for fast CMOS buffer RAMs