Semiconductor device and system relating to data mapping
A semiconductor system may be provided. The semiconductor system may include a fail information generator and a data mapping circuit. The fail information generator may detect a data fail address of a data storage region. The data mapping circuit may change a mapping table based on the data fail address, and transmit data to be stored at the data fail address in the data storage region, to a parity storage region.
1. A semiconductor system comprising:
a fail information generator configured to detect a data fail address of a data storage region;
a mapping table logic configured to change a mapping table based on the data fail address;
a data mapper configured to transmit data to be stored at the data fail address, to a parity storage region, based on the mapping table; and
a read and write (read/write) controller configured to causes a value of the mapping table to be provided to the data mapper after a time corresponding to one of a write latency and a read latency passes, based on a command signal and an address.
2. The semiconductor system according to claim 1 , wherein the mapping table logic includes information corresponding to addresses of the data storage region and addresses of the parity storage region, and changes information corresponding to the data fail address.
3. The semiconductor system according to claim 1 , wherein the data mapper changes a data transmission path to a parity transmission path according to a changed mapping table.
4. The semiconductor system according to claim 1 ,
wherein, in a write operation, the read/write controller causes the value of the mapping table to be provided to the data mapper after the time corresponding to the write latency passes, based on the command signal and the address, and
wherein, in a read operation, the read/write controller causes the value of the mapping table to be provided to the data mapper after the time corresponding to the read latency passes, based on the command signal and the address.
5. The semiconductor system according to claim 4 , wherein the read/write controller causes a value of the changed mapping table to be provided to the data mapper, based on the address including the data fail address.
6. The semiconductor system according to claim 1 , further comprising:
an error correction code (ECC) logic configured to encode data received externally from the semiconductor system and generate a data bit and a parity bit to be transmitted to the data mapper, or decode a data bit and a parity bit received from the data mapper and generate data to be transmitted to an exterior of the semiconductor system; and
a serializer and parallelizer (serializer/parallelizer) configured to serialize data and parity outputted from the data mapper and provide the data and the parity outputted from the data mapper to the data storage region and the parity storage region, or parallelize data and parity outputted from the data storage region and the parity storage region and provide the data and the parity outputted from the data storage region to the data mapper.