Skip to content

sijundu/CORDIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Individual Repository

This repo will house work for your individual assignments.

CORDIC

Design and implement a flexible CORDIC generator in Chisel.

  1. Support vectoring and rotation modes
  2. Make widths for X, Y, and Z parameterized
  3. Gain correction will be optionally supported (controlled by a parameter). If gain correction is enabled, the output will be multiplied by the appropriate scaling factor. Otherwise, the unscaled result will be passed directly to the output.
  4. Z is modulo $2\pi$ with full range supported
  5. The degree of unrolling should be set by a parameter.

Parameters and IO

Cordic.scala defines some parameters objects, a Bundle to use as your IO, and an empty implementation of a FixedIterativeCordic (which you will need to implement).

CordicApp

The template also includes an App (similar to a main function in Java) that can be used to run your generator. It accepts commandline arguments. To see the options, run

sbt "run --help"

Tests

The template includes a simple test using DspTester and an associated ScalaTest specification. You can run tests with

sbt test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages