*********************************************************************************************************************************


This directory is associated with Rev 5 of the Application Note


    Expert Code Generator for SHARC® Processors (EE-322) 


that can be found at www.analog.com/ee-notes


Analog Devices, Inc.
DSP Division
Three Technology Way
P.O. Box 9106
Norwood, MA 02062

Date Created:     January 17th, 2012

*********************************************************************************************************************************

Description of the EE-Note:

The ADSP-214xx family of SHARC® processors includes new modules and enhanced features as compared to the older family of SHARC® 
processors. Some important new blocks include the Double Data Rate 2 (DDR2) controller (2146x only), the Finite Impulse Response 
(FIR), Infinite Impulse Response (IIR), and Fast Fourier Transform (FFT) hardware accelerators. Expert Code Generator can be used 
to generate code for initializing these blocks to your system’s requirements. In addition, Expert Code Generator also produces 
initialization code for the Phase-Locked Loop (PLL), SDRAM, and Asynchronous Memory Interface (AMI) controllers both for new and 
the older SHARC® processors (2126x onwards). Expert Code Generator consists of two utilities that can be directly integrated as 
plug-ins to VisualDSP++® environment:

1) Code generator for initializing PLL, DDR2/SDRAM, and AMI controllers
2) Code generator for FIR, IIR, and FFT accelerators


*********************************************************************************************************************************

This folder includes:

1. Subdirectory: "Example Codes"

	This folder contains example codes to test the code generated by the two plug-ins.

 
2. Subdirectory: "Twiddle Files"

	This folder contains .dat files for the twiddle cofficients needed when using FFT accelerators.

3. cs_macros.h
	
	This file contains all the macros that are called by the GUI generated source files. To ensure that the 
       code builds properly, this file should be copied at the following path of the VisualDSP++ installation:

	"..\Program Files\Analog Devices\VisualDSP 5.0\<212xx/213xx/214xx>\include"

4.PLL_DDR2_SDRAM_AMI_Init.dll

	dll file for registering "Code Generator for PLL,DDR2/SDRAM,and AMI Controllers". Steps to register the dll file are given in the application note.

5. ACC_Init.dll

	dll file for registering "Code Generator Accelerators". Steps to register the dll file are given in the application note.


*****************************************************************************************

All code examples have been written and tested with

	VisualDSP++ 5.0 Update 10


*****************************************************************************************