A device includes a voltage regulator, an auxiliary signal generator, and a circuit cell. The voltage regulator is configured to output a write voltage. The auxiliary signal generator is configured to output an auxiliary signal. The circuit cell is configured to receive both of the write voltage and the auxiliary signal according to a first select signal and a second select signal.