Software Listing of Author : "Giorgia Zucchelli"
- Fixed-Point ATAN2 using CORDIC
- License: Freeware
- Price: 0.00


This demo consists of a m-file script (fixed_point_atan2_using_cordic.m) and a m-file function (atan2_fixpt.m). The script contains a step-by-step explanation of how a four quadrant arctan can be calculated using a CORDIC (COordinate Rotation DIgital Computer) algorithm. The first part shows the CORDIC algorithm in floating-point double precision, whereas the second part of the m-file explains how to implement the CORDIC in 16-bit fixed-point with bit shifts. The third part shows how to generate C code for the m-file function to speed-up the algorithm. The m-file function contains an implementation of the CORDIC in Embedded MATLABd-OC?D? compliant m-code. This function can be used to generate C-code or HDL (VHDL or Verilog) in MATLAB™ of Simulink™.
- Publisher: Giorgia Zucchelli
- Date Released: 02-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Phase Locked Loop tutorial
- License: Freeware
- Price: 0.00


This tutorial starts with a simple conceptual model of an analog Phase-Locked Loop (PLL). Through elaboration it ends at a model of an all digital and fixed-point phase-locked loop. The final model can serve a starting point for code generation (both ANSI C or synthesizable HDL). The step-wise elaboration of the model illustrates how Simulink™ forms the basis a model-based design where continuous verification of the model reduces errors.
- Publisher: Giorgia Zucchelli
- Date Released: 18-04-2013
- Download Size: 399 KB
- Download
- Platform: Matlab, Scripts
