Claims
- 1. An arithmetic unit comprising:
an input register operable to store externally provided digital data as a P-bit digital data, by replacing former data with later data, and to output the stored P-bit digital data; an output register operable to receive digital data, to store the input digital data as a Q-bit digital data by replacing former data with later data, and to output the stored Q-bit digital data; and an output bit selector operable to receive the P-bit digital data from said input register as a first input data and the Q-bit digital data from said output register as a second input data, to select bits, values of which bits are to be output, among bits of the first input data and bits of the second input data, in accordance with externally provided control data, and to output the Q-bit digital data comprising values of the selected bits to the output register.
- 2. An arithmetic unit comprising:
an input register operable to store externally provides digital data as a P-bit digital data, by replacing former data with later data, and to output the stored P-bit digital data; an output register operable to receive digital data, to store the input digital data as a Q-bit digital data by replacing former data with later data, and to output the stored Q-bit digital data; and an output bit selector operable to receive the P-bit digital data from said input register as first input data and the Q-bit digital data from said output register as a second input data, to select bits, values of which bits are to be output, among bits of the first input data and bits of the second input data, in accordance with externally input control data, and to output the Q-bit digital data comprising values of selected bits to the output register, wherein said output bit selector is operable to use an integer “m” as the control data, and wherein the output bit selector is operable to output a digital data comprising bits from an end to an m-th bit, which have values of bits in the same positions of the second input data, respectively, and bits of m+1-th bit and following, which have values of bits of the first input data being arranged from an end which is in the same position as the Most Significant Bit side or the Least Significant Bit side, respectively in order, as the Q-bit digital data when the control data is input.
- 3. The arithmetic unit of claim 2, wherein said output bit selector is operable to output digital data comprising bits from the end on the Most Significant Bit side to the m-th bit, which have values of bits in the same positions of the second input data, respectively, and bits of the m+1-th bit and following, which have values of bits of the first input data being arranged from the end on the Most Significant Bit side, respectively in order, as the Q-bit digital data.
- 4. The arithmetic unit of claim 2, wherein said output bit selector is operable to output digital data comprising bits from the end on the Least Significant Bit side to the m-th bit, which have values of bits in the same positions of the second input data, respectively, and bits of the m+1-th bit and following, which have values of bits of the first input data being arranged from the end on the Least Significant Bit side, respectively in order, as the Q-bit digital data.
- 5. The arithmetic unit of claim 2, wherein said output bit selector is operable to use as the control data, an operation mode, a shift direction, and a shift amount, in addition to the integer “m”,
wherein when the control data having the operation mode which indicates a mode of performing a first operation and the integer “m” is input, said output bit selector is operable to perform the first operation, and wherein when the control data having the operation mode which indicates a mode of performing a second operation, the shift direction, and the shift amount is input, said output bit selector is operable to output digital data which is obtained by shifting values of bits of the first input data in the shift direction and by the shift amount, as the Q-bit digital data.
- 6. An arithmetic unit comprising:
an input register operable to store externally provides digital data as a P-bit digital data, by replacing former data with later data, and to output the stored P-bit digital data; an output register operable to receive digital data, to store the input digital data as a Q-bit digital data by replacing former data with later data, and to output the stored Q-bit digital data; and an output bit selector operable to receive the P-bit digital data from said input register as first input data and the Q-bit digital data from said output register as a second input data, to select bits, values of which bits are to be output, among bits of the first input data and bits of the second input data, in accordance with externally input control data, and to output the Q-bit digital data comprising values of selected bits to the output register, wherein said output bit selector is operable to use an integer “m” as the control data, and wherein when the control data is input, said output bit selector is operable to output digital data comprising bits from an end to a Q-m-th bit, which have values of bits of the second input data being arranged starting from a m+1-th bit from an end which is in the same position as the Most Significant Bit side or the Least Significant Bit side, respectively in order, and bits of a Q-m+1-th bit and following, which have values of bits of the first input data being arranged from an end which is in the same position as the Most Significant Bit side or the Least Significant Bit side, respectively in order, as the Q-bit digital data.
- 7. The arithmetic unit of claim 6, wherein said output bit selector is operable to output digital data comprising bits from the end on the Most Significant Bit side to the Q-m-th bit, which have values of bits of the second input data being arranged starting from the m+1-th bit and following, which have values of bits of the first input data being arranged from the end on the Most Significant Bit side, respectively in order, as the Q-bit digital data.
- 8. The arithmetic unit of claim 6, wherein said output bit selector is operable to output digital data comprising bits from the end on the Least Significant Bit side to the Q-m-th bit, which have values of bits of the second input data being arranged starting from the m+1-th bit from the end on the Least Significant Bit side, respectively in order, and bits of the Q-m+1-th bit and following, which have values of bits of the first input data being arranged from the end on the Least Significant Bit side, respectively in order, as the Q-bit digital data.
- 9. The arithmetic unit of claim 6, wherein said output bit selector is operable to use as the control data, an operation mode, a shift direction, and a shift amount, in addition to the integer “m”,
wherein when the control data having the operation mode indicates a mode of performing a first operation and the integer “m” is input, said output bit selector is operable to perform the first operation, and wherein when the control data having the operation mode which indicates a mode of performing a second operation, the shift direction, and the shift amount is input, said output bit selector is operable to output digital data which is obtained by shifting values of bits of the first input data in the shift direction and by the shift amount, as the Q-bit digital data.
Priority Claims (1)
| Number |
Date |
Country |
Kind |
| HEI 9-149619 |
Jun 1997 |
JP |
|
Parent Case Info
[0001] This is a continuation application of U.S. patent application Ser. No. 09/445,059, filed Dec. 2, 1999.
Continuations (1)
|
Number |
Date |
Country |
| Parent |
09445059 |
Feb 2000 |
US |
| Child |
10366355 |
Feb 2003 |
US |