Implemented design with reduced BRAM depth