Ug Cii DSP Kit 2C35
Ug Cii DSP Kit 2C35
UG-DSP011205-1.0
ii Development Kit Version 1.0.0 Altera Corporation
DSP Development Kit, Cyclone II Edition Getting Started User GuidePreliminary May 2005
Contents
Revision History The following table displays the revision history for the chapters in this
user guide.
f For late-breaking information not available in this user guide, see the
README file on the DSP Development Kit, Cyclone II Edition version 1.0.0
CD-ROM.
How to Contact For technical support or other information about Altera products, go to
the Altera world-wide Web site at www.altera.com. You can also contact
Altera Altera through your local sales representative or any of the following
sources.
Conventions
Release Table 1–1 provides information about this release of the DSP Development
Kit, Cyclone II Edition.
Information
Table 1–1. DSP Development Kit, Cyclone II Edition Release Information
Item Description
Version 1.0.0
Release Date May 2005
Ordering Code DSP-DEVKIT-2C35
Introduction The DSP Development Kit, Cyclone II Edition provides everything you need
to develop complete system-on-a-programmable-chip (SOPC) solutions.
This document describes how to install the software provided with the
kit, how to connect the Cyclone™ II EP2C35 DSP development board to
your PC, and how to test the board.
f For more information about DSP Builder, refer to the DSP Builder User
Guide.
For more information about the reference designs and the lab, refer
to “Using the Reference Designs & Lab” on page 2–13.
Before You Before using the DSP Development Kit, Cyclone II Edition or installing
software, check the kit contents and inspect the Cyclone™ II EP2C35 DSP
Begin Using the development board to verify that you received all items. If any items are
Kit missing, contact Altera before you proceed.
Software Requirements
You must install the following software before you begin developing
designs for the DSP Development Kit, Cyclone II Edition.
■ Internet Explorer (IE) starting with version 5.0 is required to use the
Quartus II online Help system.
Installing the The instructions in this section explain how to install the following
software:
Software
■ “Installing the Quartus II Software”
■ “Installing the MegaCore Functions”
■ “Installing The MathWorks MATLAB/Simulink CD-ROM”
■ “Installing DSP Builder”
■ “Installing the Nios II Embedded Processor”
■ “Installing the Reference Designs & Lab”
6. Click Install.
7. Click Finish.
CycloneII_DSP_Kit-v1.0.0.exe
C:\altera\kits\CycloneII_DSP_Kit-v1.0.0
.Figure 2–1 shows the directory structure where the DSP Development Kit,
Cyclone II Edition is installed.
CycloneII_DSP_Kit-v1.0.0
Docs
Contains all DSP Development Kit, Cyclone II Edition documentation, including the board
design files, the physical layout database, the manufacturing files, the reference manual,
and the user guide
Examples
HW
Demonstrations
DDR2
Contains the DDR2 demonstration design
FunctionalTests
Contains a board diagnostic program
FactoryDesign
Contains the sines Quartus II project used in this user guide
Lab
Filtering
Contains the Cyclone II filtering lab
NiosII
Contains Nios II example designs
ReferenceDesigns
emif_ref_design_FFT
Contains the Cyclone II FFT co-processor reference design
Tool_Flow
Contains the Cyclone II tool flow reference design
Licensing
Licensing the DSP Development Kit, Cyclone II Edition
Before using the Quartus II software, you must obtain a license file from
the Altera web site at www.altera.com and install the license file on your
PC.
1. Select the Licensing link at the top-right corner on the home page of
the Altera Web site at www.altera.com.
4. After receiving your license that Altera e-mails you, close the
following software applications if they are open:
● Quartus II software
● MAX+PLUS II software
● LeonardoSpectrum synthesis tool
● Synplify synthesis software
● ModelSim simulator software
● Precision RTL synthesis software
Licensing MATLAB
Before installing MATLAB, make sure that you have your Personal
License Password (PLP) available.
www.mathworks.com/products/connections/
trials/altera.shtml.
Connecting the This section explains how to set up the Cyclone II EP2C35 DSP
development board hardware, how to power up the board, and includes
Cables to the the following topics:
Board & PC ■ “Connecting the USB-Blaster Download Cable”
■ “Connecting the SLP-50 Anti-Aliasing Filter” on page 2–10
■ “Connecting the SMA Cable” on page 2–11
■ “Connecting the Power Supply Cable” on page 2–12
■ “Applying Power to the Board” on page 2–12
f For details on installing the USB-Blaster™ driver on your PC, refer to the
USB-Blaster Download Cable User Guide. The driver files are installed at
<quartus-install-dir>\drivers\usb-blaster.
SRAM Object File (.sof). The reference designs and the lab provided with
the DSP Development Kit, Cyclone II Edition include SOFs for directly
configuring the Cyclone II device.
USB-Blaster Cable
Figure 2–4 shows the cable and the SLP-50 anti-aliasing filter installed as
required in “Performing the A/D and D/A Converter Performance Test”
on page 2–17.
Figure 2–4. SMA Cable & SLP-50 Filter Installed to Connect DAC CHANNEL A (J31) with ADC CHANNEL A
(J32)
Power Cable
J1
Power Connector
Using the Altera provides several reference designs and one lab with the DSP
Development Kit, Cyclone II Edition to help you get started building
Reference applications. The reference designs and the lab are described in the
Designs & Lab following documentation:
3. On the Device page of the Settings dialog box, click Device & Pin
Options, then click the Unused Pins tab.
■ The factory design stored on U17 (SAFE EPCS) configures the device
each time the Cyclone II EP2C35 DSP development board is powered
up in SAFE EPCS configuration mode.
You can also reconfigure the device with the factory design stored in
U17 (SAFE EPCS) by pressing SW7, which resets the hardware and
reconfigures the Cyclone II EP2C35 DSP development board in SYS
RESET mode.
■ A user design stored on U36 (USER EPCS) configures the device each
time the Cyclone II EP2C35 DSP development board is powered up
in USER EPCS configuration mode.
For more information on the factory design, and on SAFE and USER
configuration modes, refer to “Testing the Board Using the Factory
Design” on page 2–16.
Testing the Put the Cyclone II EP2C35 DSP development board in SAFE
configuration mode by putting a jumper on J29, pins 1 and 2. Then apply
Board Using the power and the Cyclone II device will be configured with the factory
Factory Design design stored in the EPCS64 flash memory, serial configuration device
(U17). When configuration is complete, LEDs D9 through D5
(USER_LED0 through USER_LED4, respectively), flash yellow,
functioning as a binary counter that counts down to zero. This indicates
that the Cyclone II EP2C35 DSP development board is functional and the
EP2C35 device was successfully configured with the factory design.
DAC904E Device
NCO (U25)
comb[13..0]
NCO SignalTap II SMA Cable and
ADS5520 device SLP-50 Low-pass
1 MHz (U26) Filter
Sine Wave Source
a2db[11..0]
ADC A
ADC CHANNEL A in (J32)
SMA Connector
1 The design files for the factory design are installed from the DSP
Development Kit, Cyclone II Edition, Cyclone II Edition version
1.0.0 CD-ROM in the directory:
<install-path>\CycloneII_DSP_Kit-v1.0.0\Examples\HW\
FactoryDesign
1. Connect the SLP-50 filter (low pass filter) to one end of the SMA
cable.
3. Add the correct jumpers for the clocks (see Figure 2–8 and
Figure 2–9).
4. For the ADC Output Data Format Select (J30) place a jumper on pins
5 and 6. This sets the data output format to two’s complement.
f For more information about the data output format from the ADC, refer
to the Analog-to-Digital Converter (U26) section in the Cyclone II EP2C35
DSP Development Board Reference Manual.
Figure 2–8 shows the location of jumpers J30, J35 and J37 on the
Cyclone II EP2C35 DSP development board.
Figure 2–9 shows the jumper settings described in step 3 and step 4.
6. Choose Open Project (File menu). In the Open Project dialog box,
browse to the directory:
<install-path>\CycloneII_DSP_Kit-v.1.0.0\Examples\HW\
FactoryDesign
8. The Signal Tap II file (.stp) provided with the design, sines.stp,
automatically opens when you open the sines project. To bring it to
the front, choose sines.stp (Window menu). Figure 2–10 shows
sines.stp displayed in the SignalTap II logic analyzer.
nstp_plot('sines_auto_signaltap_0.txt') r
Figure 2–11. Normalized Spectral Plot of 14-Bit DAC Channel A Input Data
The plotted graph of the peak spur level is below 60 db. A normalized
FFT plot of ADC CHANNEL A output is shown in Figure 2–12.
Figure 2–12. Normalized Spectral Plot of 12-bit ADC Channel A Output Data
Conclusion
This Getting Started User Guide walks you through the software
installation process, obtaining the license for the DSP Development Kit,
Cyclone II Edition, and other software, as well as board setup,
configuration, and testing of the Cyclone II EP2C35 DSP Development
board.