摘要 |
A method of the data conversion, a data conversion circuit and a data conversion program are provided which make the memory capacity of the circuit for storing the converted data small and can make the error of the output data small. To comprise a priority encoder 11 outputting bit number of "1" located at the most significant bit in the input data as L data, a bit-extracting portion outputting (L-1) to (L-2) bits in the input data as N data and (L-3) to 0 bits as M data, a table address forming portion 13 outputting a first address obtained by combining the L data with the M data, a conversion-table storing portion 14 storing a conversion table where converted data corresponds to table addresses, a multiplexer 15 selecting 0 or converted data and a linear interpolation portion 20 processing interpolation based on the two converted data.
|