1. A method of operating a memory device comprising: generating a pulse stream based on capacitance discharge through a memory element; determining a resistance of the memory element based on the pulse stream; and storing the determined resistance of the memory element.