Exercise 1, Part 1: Building and Running the First Program
To visualize the activity discussed in the exercise, create two plot windows,
one for the
out_b
dow for the
out_b
1. Select the View–>Debug Windows–>Plot–>New menu item.
The Plot Configuration dialog box appears.
2. Change Title to
3. Type
out_b
4. Type
128
5. Change Data to
6. Click Add, then click OK.
Repeat this procedure to create a plot window for the
adjusting steps 2 and 3 accordingly. Once the plot windows are created,
adjust them to comfortable sizes. Your plot windows look similar to those
in
Figure
1-3.
Note that both line plots are flat at zero because the data arrays are
zero-initialized by VisualDSP++. We will see VisualDSP++ update the
windows as we step into the program. Issue the Debug–>Step Over com-
mand (or use the F10 hotkey) three times to highlight the call to the
bubble_sort()
windows show the random values to which the arrays are initialized.
Step Over again to observe that the
one more time to observe that
Note that the part 1 project uses the debug configuration
1
Note that you can add both plots to a single window. However, this is undesirable when two plots
have the same results, causing the plot lines to overwrite each other.
1-8
www.BDTIC.com/ADI
array and one for the
array:
Monitoring out_b
in the Address field.
(the length of the
(the type of our data).
int
function as the next instruction to execute. The two plot
out_m
Getting Started with ADSP-BF537 EZ-KIT Lite
array. To create a plot win-
out_m
.
array) in the Count field.
out_b
array is now sorted. Step Over
out_b
is also sorted.
1
variable
,
out_m
(Figure
1-4).
Need help?
Do you have a question about the ADSP-BF537 EZ-KIT Lite and is the answer not in the manual?
Questions and answers