摘要:
The present invention relates to a computer-implemented method of executing an arithmetic or logic operation (4) in combination with an accumulate operation in an arithmetic logic unit, ALU, (1) wherein the method comprises the steps of receiving a first element (2) and a second element (2') at the ALU (1) and combining the first and second elements (2, 2') in the ALU (1) according to the arithmetic or logic operation (4), performing an accumulate operation on the result of the combined first and second elements in an accumulator unit (3) via an add logic (8) of the ALU (1) and a feedback path (5) leading from the accumulator unit (3) to the add logic (8), performing a first shift operation on the accumulated result, wherein the method further comprises the step of performing a second shift operation in the feedback path (5), wherein the second shift operation is defined by an operator (4') that determines the direction of the shift and the number of bits to be shifted in a barrel shifter, wherein all steps are executed in one single clock. Further, the present invention relates to a processor, comprising an ALU (1), the ALU (1) being adapted to execute an arithmetic operation or logic operation (4) in combination with an accumulate operation in one single clock, wherein the ALU (1) is adapted to carry out the method of executing an arithmetic or logic operation (4) in combination with an accumulate operation.
摘要:
Various embodiments are provided for fully digital chaotic differential equation- based systems and methods. In one embodiment, among others, a digital circuit includes digital state registers and one or more digital logic modules configured to obtain a first value from two or more of the digital state registers; determine a second value based upon the obtained first values and a chaotic differential equation; and provide the second value to set a state of one of the plurality of digital state registers. In another embodiment, a digital circuit includes digital state registers, digital logic modules configured to obtain outputs from a subset of the digital shift registers and to provide the input based upon a chaotic differential equation for setting a state of at least one of the subset of digital shift registers, and a digital clock configured to provide a clock signal for operating the digital shift registers.
摘要:
A method, apparatus and program storage device that provides a shift process with saturation for digital signal processor operations are disclosed. An instruction is generated for shifting an operand to either maximum or the minimum value depending on the bit of data input when saturation occurs. A saturation detection circuit is combined with an arithmetic shifter and a final decision multiplexor. The final decision multiplexor receives the output from the arithmetic shifter and the saturated value from the saturation circuit. When saturation is detected by the saturation detection circuit, the final decision multiplexor selects the saturate minimum or the saturate maximum depending on whether the MSB of the data in equals one or zero, respectively.
摘要:
The present invention is a method and apparatus (106) for an N-NARY logic circuit that uses N-NARY signals (A0-A3, B0-B3). The present invention includes a shared logic tree circuit (107) that evaluates one or more N-NARY input signals and produces an N-NARY output signal (V0-V3). The present invention additionally includes a first N-NARY input signal (A0-A3) coupled to the shared logic tree circuit and a second N-NARY input signal (B0-B3) coupled to the shared logic tree circuit. The shared logic circuit evaluates the first and second N-NARY input signal and produces an N-NARY output signal (V0-V3) coupled, which additionally couples to the shared logic tree circuit. The present invention uses signals that include 1 of 2 N-NARY signals, 1 of 3 N-NARY signals, 1 of 4 N-NARY signals (A0-A3, B0-B3), 1 of 8 N-NARY signals, and the general 1 of N N-NARY signals. The present invention evaluates any given function that includes the AND/NAND, OR/NOR, or XOR/Equivalence functions.
摘要:
A data calculating device preferably used to improve the calculation precision when fixed-point calculation is performed by block-floating system. Each piece of data of a data group is calculated, the minimum scale factor representative of the calculated data is detected as a group scale factor (GSF), and calculated data is subjected to scaling based on the detected GSFs. These processing are applied to each data group of a data block. The minimum GSF out of the detected GSFs is detected as a block scale factor (BSF). When calculation of the calculated data is performed again, the calculated data of the data group is subjected to scaling according to the GSFs and BSF before the calculation performed again.