主权项 |
1. A memory system, comprising:
a memory controller; a write location unit configured to receive one or more write location inputs and provide a write location output, wherein the write location unit includes:
a cost calculator configured to use the one or more received write location inputs to determine a cost to write data to a volatile memory and a cost to write the data to a nonvolatile memory, anda threshold time generator configured to determine a threshold time, wherein the write location output is based on the determined cost to write data to the volatile memory, the determined cost to write data to the nonvolatile memory, and the determined threshold time; a write logical unit coupled to the write location unit and to the memory controller, and configured to:
receive the write location output from the write location unit, andprovide an output, based on the received write location output, to the memory controller to have data written to volatile memory or nonvolatile memory; wherein the memory controller is configured to be responsive to the output from the write logical unit to cause the data to be written to the volatile memory or the nonvolatile memory based on the output from the write logical unit. |