Inhaltszusammenfassung zur Seite Nr. 1
Altera DE2-70 Board
Version 1.01 Copyright © 2007 Terasic Technologies
Inhaltszusammenfassung zur Seite Nr. 2
Altera DE2 Board CONTENTS Chapter 1 DE2-70 Package ...............................................................................................................1 1.1 Package Contents.................................................................................................................1 1.2 The DE2-70 Board Assembly ..............................................................................................2 1.3 Getting Help......................................................
Inhaltszusammenfassung zur Seite Nr. 3
Altera DE2 Board 5.12 TV Decoder........................................................................................................................52 5.13 Implementing a TV Encoder..............................................................................................54 5.14 Using USB Host and Device..............................................................................................55 5.15 Using IrDA........................................................................
Inhaltszusammenfassung zur Seite Nr. 4
DE2-70 User Manual Chapter 1 DE2-70 Package The DE2-70 package contains all components needed to use the DE2-70 board in conjunction with a computer that runs the Microsoft Windows software. 1.1 Package Contents Figure 1.1 shows a photograph of the DE2-70 package. Figure 1.1. The DE2-70 package contents. 1
Inhaltszusammenfassung zur Seite Nr. 5
DE2-70 User Manual The DE2-70 package includes: • The DE2-70 board • USB Cable for FPGA programming and control • DE2-70 System CD containing the DE2-70 documentation and supporting materials, including the User Manual, the Control Panel utility, reference designs and demonstrations, device datasheets, tutorials, and a set of laboratory exercises ® ® • CD-ROMs containing Altera’s Quartus II Web Edition and the Nios II Embedded Design Suit Evaluation Edition software. • Bag of six rub
Inhaltszusammenfassung zur Seite Nr. 6
DE2-70 User Manual 1.3 Getting Help Here are the addresses where you can get help if you encounter problems: • Altera Corporation 101 Innovation Drive San Jose, California, 95134 USA Email: university@altera.com • Terasic Technologies No. 356, Sec. 1, Fusing E. Rd. Jhubei City, HsinChu County, Taiwan, 302 Email: support@terasic.com Web: DE2-70.terasic.com 3
Inhaltszusammenfassung zur Seite Nr. 7
DE2-70 User Manual Chapter 2 Altera DE2-70 Board This chapter presents the features and design characteristics of the DE2-70 board. 2.1 Layout and Components A photograph of the DE2-70 board is shown in Figure 2.1. It depicts the layout of the board and indicates the location of the connectors and key components. Ethernet 10/100M Port USB Device Port Mic in Line In Line Out VGA Out RS-232 Port Video In 1 Video In 2 USB Blaster Port USB Host Port TV TV D De eco code der r (N (NTS TS
Inhaltszusammenfassung zur Seite Nr. 8
DE2-70 User Manual (AS) programming modes are supported • 2-Mbyte SSRAM • Two 32-Mbyte SDRAM • 8-Mbyte Flash memory • SD Card socket • 4 pushbutton switches • 18 toggle switches • 18 red user LEDs • 9 green user LEDs • 50-MHz oscillator and 28.63-MHz oscillator for clock sources • 24-bit CD-quality audio CODEC with line-in, line-out, and microphone-in jacks • VGA DAC (10-bit high-speed triple DACs) with VGA-out connector • 2 TV Decoder (NTSC/PAL/SECAM) and TV-in connector •
Inhaltszusammenfassung zur Seite Nr. 9
DE2-70 User Manual Figure 2.2. Block diagram of the DE2-70 board. Following is more detailed information about the blocks in Figure 2.2: Cyclone II 2C70 FPGA • 68,416 LEs • 250 M4K RAM blocks • 1,152,000 total RAM bits • 150 embedded multipliers • 4 PLLs • 622 user I/O pins • FineLine BGA 896-pin package Serial Configuration device and USB Blaster circuit • Altera’s EPCS16 Serial Configuration device • On-board USB Blaster for programming and user API control • JTAG an
Inhaltszusammenfassung zur Seite Nr. 10
DE2-70 User Manual SSRAM • 2-Mbyte standard synchronous SRAM • Organized as 512K x 36 bits • Accessible as memory for the Nios II processor and by the DE2-70 Control Panel SDRAM • Two 32-Mbyte Single Data Rate Synchronous Dynamic RAM memory chips • Organized as 4M x 16 bits x 4 banks • Accessible as memory for the Nios II processor and by the DE2-70 Control Panel Flash memory • 8-Mbyte NOR Flash memory • Support both byte and word mode access • Accessible as memory for the N
Inhaltszusammenfassung zur Seite Nr. 11
DE2-70 User Manual Audio CODEC • Wolfson WM8731 24-bit sigma-delta audio CODEC • Line-level input, line-level output, and microphone input jacks • Sampling frequency: 8 to 96 KHz • Applications for MP3 players and recorders, PDAs, smart phones, voice recorders, etc. VGA output • Uses the ADV7123 240-MHz triple 10-bit high-speed video DAC • With 15-pin high-density D-sub connector • Supports up to 1600 x 1200 at 100-Hz refresh rate • Can be used with the Cyclone II FPGA to implem
Inhaltszusammenfassung zur Seite Nr. 12
DE2-70 User Manual Serial ports • One RS-232 port • One PS/2 port • DB-9 serial connector for the RS-232 port • PS/2 connector for connecting a PS2 mouse or keyboard to the DE2-70 board IrDA transceiver • Contains a 115.2-kb/s infrared transceiver • 32 mA LED drive current • Integrated EMI shield • IEC825-1 Class 1 eye safe • Edge detection input Two 40-pin expansion headers • 72 Cyclone II I/O pins, as well as 8 power and ground lines, are brought out to two 40-pin expansio
Inhaltszusammenfassung zur Seite Nr. 13
DE2-70 User Manual At this point you should observe the following: • All user LEDs are flashing • All 7-segment displays are cycling through the numbers 0 to F • The LCD display shows Welcome to the Altera DE2-70 • The VGA monitor displays the image shown in Figure 2.3. • Set the toggle switch SW17 to the DOWN position; you should hear a 1-kHz sound • Set the toggle switch SW17 to the UP position and connect the output of an audio player to the Line-in connector on the DE2-70 board
Inhaltszusammenfassung zur Seite Nr. 14
DE2-70 User Manual Chapter 3 DE2-70 Control Panel The DE2-70 board comes with a Control Panel facility that allows users to access various components on the board from a host computer. The host computer communicates with the board through an USB connection. The facility can be used to verify the functionality of components on the board or be used as a debug tool while developing RTL code. This chapter first presents some basic functions of the Control Panel, then describes its stru
Inhaltszusammenfassung zur Seite Nr. 15
DE2-70 User Manual close that port; you cannot use Quartus II to download a configuration file into the FPGA until you close the USB port. 7. The Control Panel is now ready for use; experiment by setting the value of some LEDs display and observing the result on the DE2-70 board. Figure 3.1. The DE2-70 Control Panel. The concept of the DE2-70 Control Panel is illustrated in Figure 3.2. The “Control Codes” that performs the control functions is implemented in the FPGA board. It c
Inhaltszusammenfassung zur Seite Nr. 16
DE2-70 User Manual 7-SEG Display 16x2 LCD SDRAM Flash SSRAM USB Blaster Control PS/2 Codes USB Device SD Card Soket LEDs LEDs Figure 3.2. The DE2-70 Control Panel concept. The DE2-70 Control Panel can be used to light up LEDs, change the values displayed on 7-segment and LCD displays, monitor buttons/switches status, read/write the SDRAM, SSRAM and Flash Memory, monitor the status of an USB mouse, read data from a PS/2 keyboard, and read SD-CARD specification information. The featu
Inhaltszusammenfassung zur Seite Nr. 17
DE2-70 User Manual Figure 3.3. Controlling LEDs. Choosing the 7-SEG tab leads to the window in Figure 3.4. In the tab sheet, directly use the Up-Down control and Dot Check box to specified desired patterns, the 7-SEG patterns on the board will be updated immediately. Figure 3.4. Controlling 7-SEG display. 14
Inhaltszusammenfassung zur Seite Nr. 18
DE2-70 User Manual Choosing the LCD tab leads to the window in Figure 3.5. Text can be written to the LCD display by typing it in the LCD box and pressing the Set button. Figure 3.5. Controlling LEDs and the LCD display. The ability to set arbitrary values into simple display devices is not needed in typical design activities. However, it gives the user a simple mechanism for verifying that these devices are functioning correctly in case a malfunction is suspected. Thus, it can b
Inhaltszusammenfassung zur Seite Nr. 19
DE2-70 User Manual Figure 3.6. Monitoring switches and buttons. The ability to check the status of button and switch is not needed in typical design activities. However, it provides users a simple mechanism for verifying if the buttons and switches are functioning correctly. Thus, it can be used for troubleshooting purposes. 3.4 SDRAM/SSRAM/Flash Controller and Programmer The Control Panel can be used to write/read data to/from the SDRAM, SSRAM, and FLASH chips on the DE2-70 boa
Inhaltszusammenfassung zur Seite Nr. 20
DE2-70 User Manual Figure 3.7. Accessing the SDRAM-U1. A 16-bit word can be written into the SDRAM by entering the address of the desired location, specifying the data to be written, and pressing the Write button. Contents of the location can be read by pressing the Read button. Figure 3.7 depicts the result of writing the hexadecimal value 06CA into location 200, followed by reading the same location. The Sequential Write function of the Control Panel is used to write the cont