Download System Generator for DSP User Guide
Transcript
R Using ChipScope Pro Analyzer for Real-Time Hardware Debugging 3. Configure the FPGA ♦ 4. Under the New Project Window, right click on Device 4 > Configure > Select New File. At this point, you need to look for the bitstream which was generated in step 10 of the previous section ( ./bitstream/chip_cw.bit). After configuration, you should see an INFO message at the bottom of the ChipScope Analyzer window “Found 1 Core Unit in the JTAG chain”. Import ChipScope Project File System Generator creates a project file for ChipScope in order to group data signals into buses. A bus is created for each data port so that it can be viewed in the same manner (sign and precision) in which it was viewed in the Simulink environment. Load this project file by going under File > Import > Select New File, and select <sysgen_tree>/examples/chipscope/netlist/temp/chip_chipscope.cd c. 5. Plot the Sine Waves ♦ In the New Project window, under Device 4, double click on Trigger Setup to bring up the setup window but do not set it yet at this step. ♦ In the New Project window, under Device $ > Unit 0 MyILA0 (ILA), double click on Bus Plot. A Bus Plot window appears. Select cosine and sine in the Bus Selection section, and then arm the trigger by clicking the button. Since you have not yet set any trigger conditions, values are captured immediately. Both the sine and cosine appear as shown below. You can change the display option to represent the waveforms with points, lines, or both. 6. Setup Trigger In the Trigger Setup window, change the current X value with all 1s. A low-to-high pulse is used for this trigger and can be manually triggered by pushing the center PB SW as shown below. ChipScope starts capturing data when it detects a low-to-high pulse. Earlier, you setup the buffer to 1024 so that up to 1024 data points can be captured and visualized in ChipScope. System Generator for DSP Release 10.1.3 September, 2008 www.xilinx.com 131