AN2094 Freescale Semiconductor / Motorola, AN2094 Datasheet - Page 48

no-image

AN2094

Manufacturer Part Number
AN2094
Description
ITU-T G.729 Implementation on StarCore SC140
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
References
C.2 Simulator Command Files for Worst-Case and
Average Analysis
C.2.1
C.2.2
C.3 Perl Script for Generating Stack Statisticsstack.pl
48
display off
break off
output off
input off
load ..\..\..\..\..\code\bin\coder.eld
radix d
break _g729_encode s
break _frame_end s
break _exit
log s coder_worst_case.log -o
go
quit
display off
break off
output off
input off
load ..\..\..\..\..\code\bin\decoder.eld
radix d
break _g729_decode s
break _frame_end s
break _exit
log s decoder_worst_case.log -o
go
quit
#!c:/Perl/bin/perl
# DSP Center Romania, 2000
=head1
The script parses the log file generated by coder_measure_stack.sc and
decoder_measure_stack.sc simulator scripts.
The output of this script are the maximum values for coder and decoder stack
size.
The script assumes a fixed directory structure. The only parameter it receives
establishes if the script runs also the simulation or not.
The log files are similar in structure, thus the same basic block is repeated
twice, once for the coder module and once for the decoder module.
=cut
# analyzed module is coder
$module="coder";
# the module needed to run the simulation and to extract build number and date
$exec_file="../../../../code/baseline/".$module.".eld";
Command File for Coder (coder_worst_case.sc)
Command File for Decoder (decoder_worst_case.sc)
ITU-T G.729 Implementation on the StarCore™ SC140/SC1400 Cores, Rev. 1
Example 17. decoder_worst_case.sc
Example 16. coder_worst_case.sc
Freescale Semiconductor

Related parts for AN2094