Sigma DE2-70 manual Implementing a TV Encoder, Bit VGA DAC

Page 57

DE2-70 User Manual

TD1_CLK27

PIN_G15

TV Decoder 1 Clock Input.

 

 

 

TD1_RESET_N

PIN_D14

TV Decoder 1 Reset

 

 

 

TD2_D[0]

PIN_C10

TV Decoder 2 Data[0]

 

 

 

TD2_D[1]

PIN_A9

TV Decoder 2 Data[1]

 

 

 

TD2_D[2]

PIN_B9

TV Decoder 2 Data[2]

 

 

 

TD2_D[3]

PIN_C9

TV Decoder 2 Data[3]

 

 

 

TD2_D[4]

PIN_A8

TV Decoder 2 Data[4]

 

 

 

TD2_D[5]

PIN_B8

TV Decoder 2 Data[5]

 

 

 

TD2_D[6]

PIN_A7

TV Decoder 2 Data[6]

 

 

 

TD2_D[7]

PIN_B7

TV Decoder 2 Data[7]

 

 

 

TD2_HS

PIN_E15

TV Decoder 2 H_SYNC

 

 

 

TD2_VS

PIN_D15

TV Decoder 2 V_SYNC

 

 

 

TD2_CLK27

PIN_H15

TV Decoder 2 Clock Input.

 

 

 

TD2_RESET_N

PIN_B10

TV Decoder 2 Reset

 

 

 

I2C_SCLK

PIN_J18

I2C Data

 

 

 

I2C_SDAT

PIN_H18

I2C Clock

 

 

 

Table 5.16. TV Decoder pin assignments.

5.13 Implementing a TV Encoder

Although the DE2-70 board does not include a TV encoder chip, the ADV7123 (10-bit high-speed triple ADCs) can be used to implement a professional-quality TV encoder with the digital processing part implemented in the Cyclone II FPGA. Figure 5.19 shows a block diagram of a TV encoder implemented in this manner.

TV Encoder Block

(Cyclone II 2C70)

DSP Block

Clock Sync (Calculate

Timing Gen Composite)

Y

 

 

DSP Block

SIN

 

S-Video

 

 

U

 

(Y/C)

COS

 

 

 

 

VTables

 

10-bit VGA DAC

 

O (Composite)

 

 

 

 

 

 

= Y + U.cos + V.sin

 

 

DAC

 

 

or Y (S-Video)

10-bit

 

 

 

or RCA_Y

 

 

 

 

 

 

C = U.cos + V.sin

 

 

 

 

 

 

(S-Video)

 

 

DAC

 

 

 

or RCA_Pb

10-bit

 

 

 

RCA_Pr

 

 

DAC

 

 

 

10-bit

 

 

 

 

 

 

 

 

 

 

Figure 5.19. A TV Encoder that uses the Cyclone II FPGA and the ADV7123.

54

Image 57
Contents Copyright 2007 Terasic Technologies Contents Appendix DE2-70 Package Package ContentsFeet for the DE2-70 board DE2-70 Board AssemblyGetting Help Layout and Components Altera DE2-70 BoardBlock Diagram of the DE2-70 Board Cyclone II 2C70 Fpga Ssram Audio Codec Serial ports Power-up the DE2-70 BoardLCD display shows Welcome to the Altera DE2-70 DE2-70 Control Panel Control Panel SetupPage Controlling the LEDs, 7-Segment Displays and LCD Display Controlling 7-SEG display Switches and Buttons SDRAM/SSRAM/Flash Controller and Programmer Page USB Monitoring Press Load Memory Content to a File buttonUSB Mouse Monitoring Tool PS2 DeviceSD Card Audio Playing and Recording 10. Reading the SD card Identification and SpecificationPage Overall Structure of the DE2-70 Control Panel 13. The block diagram of the DE2-70 control panel DE2-70 Video Utility Video Utility SetupDE2-70 Video Utility window VGA DisplayDisplaying selected image file on VGA Monitor Video CaptureVideo Capturing Tool Overall Structure of the DE2-70 Video UtilityVideo Capture Block Diagram Configuring the Cyclone II Fpga Using the DE2-70 BoardFpga Switch debouncing Using the LEDs and SwitchesSchematic diagram of the pushbutton and toggle switches Schematic diagram of the LEDs Pin assignments for the toggle switches Schematic diagram of the 7-segment displays Using the 7-segment DisplaysPINAD10 Clock Circuitry Block diagram of the clock distribution Lcdon Using the LCD ModuleUsing the Expansion Header JP1 PIND29 Pin assignments for the expansion headers Rset Using VGA13. VGA horizontal timing specification 11. ADV7123 pin assignments I2C Address Read is 0x34 I2C Address Write is Using the 24-bit Audio Codec10 PS/2 Serial Port RS-232 Serial PortFast Ethernet Network Controller PS/2 schematic17. Fast Ethernet schematic TV Decoder 18. TV Decoder schematic Bit VGA DAC Implementing a TV EncoderOTGD15 OTGD14 OTGD13 OTGD12 OTGD11 OTGD10 Using USB Host and DeviceUsing IrDA IrDA schematic Using SDRAM/SRAM/Flash22. Sdram schematic 23. Ssram schematic PINAA4 DRAM0CKE PINAA8 19. Sdram pin assignments SRAMDQ8 PINAK17 20. Ssram pin assignments 21. Flash pin assignments Examples of Advanced Demonstrations DE2-70 Factory ConfigurationTV Box Demonstration Block diagram of the TV box demonstration TV Box Picture in Picture PIP Demonstration Setup for the TV box demonstrationBit stream used DE270TVPIP.sof or DE270TVPIP.pof Setup for the TV box PIP demonstration USB Paintbrush Block diagram of the USB paintbrush demonstration USB Device Setup for the USB paintbrush demonstrationBlock diagram of the USB device demonstration Karaoke Machine Setup for the USB device demonstrationBit stream used DE2-70i2sound.sof or DE2-70i2sound.pof Ethernet Packet Sending/Receiving 10. The setup for the Karaoke Machine11. Packet sending and receiving using the Nios II processor SD Card Music Player 12. The setup for the Ethernet demonstration13. Block diagram of the SD music player demonstration Demonstration Setup, File Locations, and Instructions Music Synthesizer Demonstration 16 illustrates the setup for this demonstration17 illustrates the setup for this demonstration Usage of the switches, pushbuttons KEYs PS/2 Keyboard 16. The Setup of the Music Synthesizer Demonstration Nios II IDE Audio Recording and PlayingSopc Toggle switch setting for audio recorder and player Copyright Statement Revision History