A QCA memory with parallel read/serial write: design and analysis