Home » Fixed-point Mathematics » Cosine Function

Cosine Function

Cosine Function
Pipelined cosine function
1 (this product is downloadable)

General Description

Function y = cos(x) calculates the cosine of an angle in radians. It has a high-speed, fully pipelined architecture and uses a polynomial with dynamic coefficients to calculate the result to within 0.0002. Input and output values are 16-bit unsigned fractions.

Key Design Features

- Function y = cos(x)
- Input range between 0 and Pi/2 radians
- Output range between 0 and 1
- Uses quadratic polynomial with dynamic coefficients
- Input values as 16-bit unsigned fractions
- Output values as 16-bit unsigned fractions
- Accurate to within 0.0002
- High-speed fully pipelined architecture
- 3 clock-cycle latency


- Fixed-point mathematics
- Quadrature signal generation in digital comms
- Alternative to using a 64k x 16-bit LUT
- Cheaper than a CORDIC solution

View datasheet

16-bit pipelined COS

: *
: *
: *
Pipeline Register
desc here
Sine Function
desc here
Fixed-point to Floating-point Converter
desc here
I2C Slave Serial Interface Controller
desc here
RF Power Amplifier Precorrection System
desc here
4-Quadrant Arctan Function
desc here
High-Speed LVDS (SERDES) Transceiver
desc here
Custom source-code
desc here
Bayer to RGB Converter
desc here