Local Oscillator Constant

Block: Local Oscillator Constant (lo_const)
Block Author: Aaron Parsons
Document Author: Ben Blackman

Contents

Summary

Gives the sine and cosine of a desired constant phase.

Mask Parameters

Parameter

Variable

Description

Output Bitwidth

n_bits

Bitwidth of the outputs.

Phase (0 to 2*pi)

phase

The phase value for which the sine and cosine are evaluated.

Ports

Port

Dir

Data Type

Description

sin

OUT

Fix_(n_bits)_(n_bits-1)

The sine of the given phase value.

cos

OUT

Fix_(n_bits)_(n_bits-1)

The cosine of the given phase value.

Description

Usage

This block gives the sine and cosine of a user-specified, constant phase value with a user-specified bitwidth.