Patent ID: 8482438

Claim:
A data-processing device comprising: a data conversion unit for, when converting a plurality of sequentially input data into transfer data of the same bit number as a data bus having a prescribed bit number and sequentially transferring the transfer data, arranging the input data in each transfer data in a conversion unit using one transfer data as one transfer unit and a prescribed number of transfer units as one conversion unit, wherein the data conversion unit comprises: a plurality of data generation units configured to arrange the input data in the data bus to generate first conversion data based on each prescribed arranging method; a plurality of bit change number calculation units corresponding to the plurality of data generation units, respectively, the bit change number calculation units configured to compare a value of each bit in the first conversion data output at the n-th time (n is a natural number equal to or more than 1) by the data generation unit with a value of each bit in the first conversion data output at the (n+1)-th time by the data generation unit, and configured to calculate a bit number based on the comparison result as a bit change number, for each first conversion data; a bit change number comparison unit configured to compare values of the respective bit change numbers corresponding to the respective data generation units, configured to select the data generation unit having generated the first conversion data based on the comparison result, and configured to output selection information indicating the selected data generation unit; a first data selection unit configured to select any one of the respective first conversion data output from the respective data generation units based on the selection information, and configured to output the first selected conversion data as selection data; and a bit-coupling unit configured, when the selection data is output as the transfer data, to couple the selection information in a position of a prescribed unused bit in the selection data in which the input data has not been arranged and outputting the selection information.