User guide

220 www.xilinx.com System Generator for DSP User Guide
UG640 (v 12.2) July 23, 2010
Chapter 2: Hardware/Software Co-Design
15. First, just download the bitstream and run the whole program without any
breakpoints by clicking on the play button as shown below.
16. Since there is a
getchar() command in the C-code, line 19, once you hit the play
button, the program is waiting for a user input. Place your mouse cursor into the open
console and press any key to continue the program. You should see the same results for
the
dout signal both on the SDK console and Simulink scope as shown below.
17. Place a breakpoint on line 55 of your C-code by double clicking on the line number.
This will toggle the breakpoint off/on.
Note:
You need to right click on the gray bar and select Show Line Numbers to display line
numbers. When you first start SDK it does not show line numbers.
SDK Console Simulink Scope