|
Index
Home
Page
Description
of Lab5
Introduction
to DSPs Family
Features
of TI TMS320C62xx
Advance
Information for TMS320C6201
Code
Devlopment Flow Tutorial
Examples
of Vector Multiplication |
|
The purpose of Lab5, Part I is to get programming experience of
the code development flow and the knowledge of hardware design for TI DSPs.
(Note: The PDF files linked in this web page are quite large. You need
not print all of them. You can just print the useful pages indicated in
the question.)
Compiler Exercise:
-
Read the Programmer's
Guide (useful pages: 2-5 to 2-13, 2-17 to 2-24, 4-9 to 4-13)and
get the basic understanding of the code development for
'C62x.
-
Use a text editor to program in C language to multiply a 10 * 10
matrix by a 10 * 1 vector;
the data of the matrix and vector should be short; you can read the example
of vector multiplication to get some ideas.
-
Run 'Codegen Tools V2.0' and compile your program (see Programmer's
Guide page 2-5 to page 2-7).
-
Run 'Sim62x.exe' and use the profile flow
(see Programmer's
Guide page 2-8 to 2-11) to get the number of cycles used in your
program. You may want to include a screen dump of the cycle count with
your report to verify your completion of the assignment.
-
Use compiler intrinsics _mpy and _mpylh introduced in the Programmers Guide (page
2-17 to 2-24, 4-9 to 4-13) to refine the code and profile it again.
|
|