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


This ZIP File is associated with Rev 1 of the Application Note


 PGO Linker - A Code Layout Tool for Blackfin(r) Processors (EE-306)


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


Date Created:	November 17th, 2006


*****************************************************************************************
The executable (PGOLinker.exe) should be copied to the VisualDSP++ directory, which by
default is <install path>\Analog Devices\VisualDSP 4.5. 

Command line parameters:
 
PGOLinker <dxefile(.dxe)> <Output file (.asm)> -L1Min -L1Max -L1Step algorithm

<dxefile(.dxe)>     - Blackfin executable file

<Output file(.asm)> - The file would contain all the linker directives for the function
                      symbols

Options
-------
-help:      To display all options
-L1Min:     Minimum size of L1 Instruction SRAM, default: 4KB
-L1Max:     Maximum size of L1 Instruction SRAM, default: 80KB
-L1Step:    Steps of increase in L1 SRAM, default: 4KB
-algorithm: O1 | O2

Steps to run the tool:
1.	Load the program in VisualDSP++.
2.	Choose Tools->Profiler to open the Profiler window.
3.	Run the program with a sample input data set.
4.	Wait until the program halts or is halted manually.
5.	Open a Windows Command Prompt window.
6.	Execute the PGO Linker utility with the appropriate command-line arguments. The tool
    produces an .asm file.
7.	Include the generated .asm file in the project.
8.	Rebuild the project.
