Patent ID: 7694108

Claim:
A semiconductor device comprising: a configuration memory storing configuration information; and a plurality of arithmetic units capable of reconfiguring circuitry dynamically in accordance with the configuration information supplied by said configuration memory, wherein at least one of the plurality of arithmetic unit includes: a data processing unit performing a processing in accordance with the configuration information using input data; an output data maintenance unit maintaining a processing result of the data processing unit and outputting the processing result maintained as output data; and an output valid signal control unit outputting an output valid signal indicating whether or not the output data outputted by the output data maintenance unit is valid, wherein the output valid signal control unit includes: a counter unit counting a number of cycles or a number of data; a comparison unit comparing a counted value of the counter unit and a value related to an output timing of the output valid signal specified by the configuration information; and an output valid signal generation unit generating and outputting the output valid signal based on a comparison result of the comparison unit, wherein an output timing of valid output data and a number of valid output data are specified by the configuration information, and wherein the counter unit is switched by the configuration information between performing a first operation counting a number of cycles, a second operation counting a number of valid input data, and a third operation counting a number of valid input data and counting a number of cycles after a specified number of valid input data being specified by the configuration information is inputted.