Data coding device, memory controller, and storage device
A data coding device may include a raw data storage configured to store raw data of which the total number of bits is 2N, a previous data storage configured to store previous data output before the raw data, a counter configured to count the number of reference data bits included in the raw data, and a data output circuit configured to invert and output the raw data according to a comparison result with the previous data when the number of reference data bits included in the raw data is N, and invert and output the raw data according to the number of reference data bits included in the raw data when the number of reference data bits included in the raw data is not N.
1 . A memory system comprising:
a plurality of slots receiving a command input from an external host;
a command processor configured to receive and process the command from the plurality of slots according to a priority; and
a performance management circuit including counter circuits respectively corresponding to the plurality of slots, activating a counter circuit corresponding to a slot to which the command is input among the plurality of slots in response to an input of the command, switching the counter circuit to an expiration state when a preset time is exceeded without a response corresponding to the command being provided to the host, providing an interrupt signal requesting processing of the command to the command processor in response to the expiration state of the counter circuit, and deactivating the counter circuit when a response corresponding to the command is completed from the slot.
2 . The memory system of claim 1 , wherein when the response corresponding to the command is not provided to the host until the preset time is exceeded, the performance management circuit stores information indicating a state of the command in a bitmap corresponding to the slot to which the command is input.
3 . The memory system of claim 2 , wherein the performance management circuit outputs the interrupt signal based on information indicating the state of the command.
4 . A storage device comprising:
a memory device;
a command manager configured to manage whether or not to perform a command received from an external command; and
a command processor configured to receive and process the command according to a priority from the command manager,
wherein the command manager comprises:
a plurality of slots receiving a command input from an external host; and
a performance management circuit including counter circuits respectively corresponding to the plurality of slots, activating a counter circuit corresponding to a slot to which the command is input among the plurality of slots in response to an input of the command, switching the counter circuit to an expiration state when a preset time is exceeded without a response corresponding to the command being provided to the host, providing an interrupt signal requesting processing of the command to the command processor in response to the expiration state of the counter circuit, and deactivating the counter circuit when a response corresponding to the command is completed from the slot.
5 . The storage device of claim 4 , wherein the command processor performs the command based on the interrupt signal.