摘要 |
<P>PROBLEM TO BE SOLVED: To provide a processor in which an area occupied by a forwarding circuit on a semiconductor chip is made small by eliminating the necessity of an address comparator or the like and reducing a circuit scale of the forwarding circuit. <P>SOLUTION: The processor 1 includes an ALU 11, a load/store unit 13, a timer 13a, an ECC calculator 13b, and a plurality of ECC registers 13c. When writing data in a main memory 14, the load/store unit 13 writes a write data and a count value of the timer 13a in the main memory 14, sets ECC state flag data indicting that an ECC in the write data is not correct in the main memory 14, and after setting the ECC state flag data, allows the ECC calculator 13b to calculate the ECC of the write data. After calculating and obtaining the ECC, the load/store unit 13 writes the calculated ECC in the main memory 14 and resets the ECC state flag data. <P>COPYRIGHT: (C)2011,JPO&INPIT |