×

Digital circuit for simultaneously generating digital sine- and cosine-function values

  • US 4,827,442 A
  • Filed: 09/08/1987
  • Issued: 05/02/1989
  • Est. Priority Date: 09/11/1986
  • Status: Expired due to Fees
First Claim
Patent Images

1. A digital circuit for simultaneously generating digital values of sine and cosine functions for a single digital argument representing a phase angle in any of the four quadrants of the sine and cosine functions, comprising:

  • a read-only memory having a first memory half which contains unsigned values for the cosine function in the first half-quadrant of the cosine function in the direction of increasing arguments and a second memory half which contains unsigned values for the cosine function in the second half-quadrant of the cosine function in the direction of decreasing arguments, said values in said first memory half corresponding to unsigned values for the sine function in the second half quadrant of the sine function in the direction of decreasing arguments and said values in said second memory half corresponding to unsigned values for the sine function in the first half-quadrant of the sine function in the direction of increasing arguments, said values of said cosine function having n bits, the digital arguments being present in the unsigned binary code, each of said digital arguments having m bits, wherein m is greater than n;

    a first multiple inverter block having a plurality of inverters each of which is provided a respective bit signal of the m-3 least significant bits of a digital argument signal input to said digital circuit;

    a first multiple switch unit having a first input coupled to receive the input of said first multiple inverter block, a second input coupled to receive the output of said first multiple inverter block, and a control input coupled to receive the third most significant bit signal of said digital argument signal, the output of said first multiple switch being connected to the address input of said first and second memory halves so that as said argument signal increases, the cosine function values in said first memory half are read out in decreasing order and the cosine function values in said second memory half are read out in increasing order;

    a second multiple switch unit having a first input connected to the output of said first memory half and a second input connected to the output of said second memory half;

    a third multiple switch unit having a first input connected to the output of said second memory half and a second input connected to the output of said first memory half;

    a first exclusive-OR gate having a first input connected to receive the second most significant bit signal of said argument signal, a second input connected to receive the third most significant bit signal of said argument signal, and an output connected to the control inputs of said second and third multiple switch units;

    a second multiple inverter block connected to the output of said second multiple switch unit;

    a third multiple inverter block connected to the output of said third multiple switch unit;

    a fourth multiple switch unit having a first input connected to the input of said second multiple inverter block and a second input connected to the output of said second multiple inverter block, the output of said fourth multiple switch unit providing an unsigned digital cosine value;

    a fifth multiple switch unit having a first input connected to the input of said third multiple inverter block and a second input connected to the output of said third multiple inverter block, the output of said fifth multiple switch unit providing an unsigned digital sine value; and

    a second exclusive-OR gate having a first input connected to receive the most significant bit signal of said argument signal, a second input connected to receive the second most significant bit signal of said argument signal, and an output which is connected to the control input of said fourth multiple switch unit and added as the sign bit to the output of said fourth multiple switch unit to form the signed cosine value in the one'"'"'s complement code, the most significant bit of said argument signal being supplied to the control input of said fifth multiple switch unit and added as the sign bit to the output of said fifth multiple switch unit to form the signed sine value in the one'"'"'s complement code.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×