Since a primary purpose of this lab is to learn optimization and
efficient code techniques, your lab grade will be based
primarily on the total execution time of your system.
You are not required to optimize memory use. Note that by execution
time we mean cycle count, not the number of instructions in
your program. Remember that several of the TMS320C54xx
instructions take more than one cycle. The multicycle
instructions are primarily the multi-word instructions,
including instructions that take immediates, like
stm, and instructions using direct addressing
of memory (such as ld *(temp),A). Branch and
repeat statements also require several cycles to execute.
Most C instructions take more than one cycle. The debugger
can be used to determine the exact number of cycles used by
your code; ask your TA to demonstrate. However, since the
number of execution cycles used by an instruction is usually
determined by the number of words in its encoding, the
easiest way to estimate the number of cycles used by your
code is to count the number of instruction words in the
.lst file or the disassembly window in the
debugger.
We will grade you based on the number of cycles used between
the input_full = 0; and bit_rev_fft();
statements. Note that some instructions, like RPT, are
non-repeatable instructions; their use may cause
unnecessary glitches in I/O. For grading simplicity, your final
code should not have modifications except between these two instructions,
and M should be set to 31.
If the number of cycles between the two points is variable, the maximum
possible number of cycles will be counted. You must use the
core.asm file in
v:\ece320\54x\dsplib\core.asm or the C core
file in v:\ece320\54x\dspclib\core.asm as
provided by the TAs; these files may not be
modified. We reserve the right to test your code by
modifying the inputs.
"Doug course at UIUC using the TI C54x DSP has been adopted by many EE, CE and CS depts Worldwide "