Example 1: Building and Running an Application
Repeat this procedure to create a plot window for the
modifying 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.
Figure 1-3. Plot Windows
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 example 1 project uses the debug configuration. The debug
configuration is one of the two configurations VisualDSP++ provides for
projects. You can create more configurations. A configuration is a set of
project build options, similar in concept to a makefile target. It is often
desirable to maintain different types of configurations for your system.
For example, while debugging you may want to include trace or other
1
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
function as the next statement to execute. The two plot
out_m
Getting Started with ADSP-BF548 EZ-KIT Lite
out_m
array is now sorted. Step Over
out_b
is also sorted.
1
variable
,
Need help?
Do you have a question about the EZ-KIT and is the answer not in the manual?
Questions and answers