Page 2 - MP3 NG: A Next Generation Consumer Platform; MP3 Technology; Figure 1
2 www.xilinx.com XAPP169 (v1.0) November 24, 1999 1-800-255-7778 MP3 NG: A Next Generation Consumer Platform R MP3 Technology MP3 refers to the MPEG Layer 3 audio compression scheme that was defined as part of the International Standards Organization (ISO) Moving Picture Experts Group (MPEG) audio/v...
Page 3 - • Paged memory management unit.; Figure 1: MP3 NG System Block Diagram
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 3 1-800-255-7778 R IDT RC32364 RISController™ The processor chosen for this design is the IDT RC32364. The features of this device that are leveraged in this application are: • Paged memory management unit. •...
Page 4 - nha; Offset passed; T LB; Offset pa ssed
4 www.xilinx.com XAPP169 (v1.0) November 24, 1999 1-800-255-7778 MP3 NG: A Next Generation Consumer Platform R The variable page size lets each mapping independently represent memory regions that can range from 4 KB to 16 MB. This feature lets the system designer adjust the address mapping granulari...
Page 5 - Figure 4; M a s te rC lo c k; A L E
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 5 1-800-255-7778 R The RC32364 interfaces to the system through a 32-bit multiplexed address/data bus. The bus offers a rich set of signals to control transfers of which only a subset was required for this ap...
Page 6 - Figure 5
6 www.xilinx.com XAPP169 (v1.0) November 24, 1999 1-800-255-7778 MP3 NG: A Next Generation Consumer Platform R Crystal CS4343 Stereo DAC The Digital-to-Analog Converter chosen for this design is the Crystal CS4343 from Cirrus Logic. This device features: • 1.8V to 3.3V operation. • 24-bit conversion...
Page 7 - Figure 7; Figure 6: Control Port Timing
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 7 1-800-255-7778 R The serial port can be configured for several operating modes. The mode of operation chosen for this application is referred to in the CS4343 documentation as "Serial Audio Format 2"...
Page 8 - Figure 8
8 www.xilinx.com XAPP169 (v1.0) November 24, 1999 1-800-255-7778 MP3 NG: A Next Generation Consumer Platform R Samsung FLASH Memory The FLASH memory chosen for this design is the KM29U64000T 8M x 8 device from Samsung Semiconductor. This device is based on NAND FLASH technology and is popular in MP3...
Page 9 - shows the block diagram for; CE
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 9 1-800-255-7778 R Micron SDRAM Memory The SDRAM memory chosen for this design is the MT48LC1M16A1S - 512K x 16 x 2 bank device from Micron Semiconductor. This device is available in speed grades from 125 to ...
Page 11 - can be found at the following URL:
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 11 1-800-255-7778 R National Semiconductor USBN9602 USB Function Controller The USB interface in the design is based on a National Semiconductor USBN9602 controller. This device, packaged in a 28-pin SOIC pac...
Page 12 - Software Architecture; ALE; Figure 13: USBN9602 Read / Write Cycle Timing
12 www.xilinx.com XAPP169 (v1.0) November 24, 1999 1-800-255-7778 MP3 NG: A Next Generation Consumer Platform R System Implementation This section describes how all of these pieces are integrated into a complete system. First described is the software architecture and the functionality of the key mo...
Page 13 - System; Figure 14: System Software Architecture
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 13 1-800-255-7778 R The RTOS provides process scheduling and memory allocation functions. The RTOS could be any of the commercially available packages. Probably more of a factor than any technical issue is th...
Page 15 - IP Bus Controller; Figure 15: FPGA Logic Block Diagram
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 15 1-800-255-7778 R While most of the blocks are fairly independent, the FLASH, SDRAM, and CompactFlash interfaces share common address and data busses. While this results in a fairly complex muxing scheme fo...
Page 16 - CPU Interface; shows a block diagram of this block.; Figure 16: CPU Interface Block Diagram
16 www.xilinx.com XAPP169 (v1.0) November 24, 1999 1-800-255-7778 MP3 NG: A Next Generation Consumer Platform R CPU Interface The CPU Interface block performs three functions: protocol conversion, CPU initialization and address de-multiplexing. Figure 16 shows a block diagram of this block. The CPU ...
Page 17 - LCD Controller; Table 1: CPU Interface Signal Summary
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 17 1-800-255-7778 R There is no direct software support required for this block, but the USB interface itself requires considerable software for operation. This software consists of the USB protocol stack, wh...
Page 18 - Table 2
18 www.xilinx.com XAPP169 (v1.0) November 24, 1999 1-800-255-7778 MP3 NG: A Next Generation Consumer Platform R The LCD Controller is an IP bus master and fetches data for screen refresh independently of CPU activities. The display data that is fetched is loaded into a FIFO using a block transfer ac...
Page 19 - pixel in the first; Memory Interface; The memory interface block,; Figure 18: Memory Interface Block Diagram
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 19 1-800-255-7778 R The only software support required for this block is the screen BIOS which consists of functions to generate screen images by manipulating the frame buffer memory. This buffer appears as a...
Page 20 - SDRAM Controller; Table 3; FLASH Controller
20 www.xilinx.com XAPP169 (v1.0) November 24, 1999 1-800-255-7778 MP3 NG: A Next Generation Consumer Platform R SDRAM Controller The SDRAM controller design ( Figure 19 ) is based on the design developed by Xilinx in application note XAPP134: Virtex Synthesizable High Performance SDRAM Controller. T...
Page 21 - s. With a 66 MHz processor frequency this represents 462; Error Handling; Table 4; Figure 20: FLASH Controller Block Diagram
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 21 1-800-255-7778 R When the architecture for this system was being planned, one issue that needed to be addressed was whether to execute the program image directly from FLASH or to copy it to SDRAM. There we...
Page 22 - IRDA Controller
22 www.xilinx.com XAPP169 (v1.0) November 24, 1999 1-800-255-7778 MP3 NG: A Next Generation Consumer Platform R Software support required for this block consists of the FLASH BIOS which implements low level primitives for programming, erasing, and checking validity of memory blocks. IRDA Controller ...
Page 23 - Audio DAC Interface
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 23 1-800-255-7778 R Audio DAC Interface The interface for the CS4343 consists of two separate functional blocks, one for each of the serial interfaces that are required to support this device. Figure 22 shows...
Page 24 - Touch Screen Interface; Table 7
24 www.xilinx.com XAPP169 (v1.0) November 24, 1999 1-800-255-7778 MP3 NG: A Next Generation Consumer Platform R Like the IRDA controller, an interrupt is generated every time the FIFOs transfer their last word into the shift registers. Assuming a 48 kHz audio sampling rate, this will result in an in...
Page 25 - Table 8; Conclusion; Table 9; Table 8: FPGA Resource Usage Summary
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 25 1-800-255-7778 R Spartan Device Selection Spartan devices are available in a range of densities and packages. The following criteria were used to select the device used in this application: • I/O Pins. The...
Page 26 - References; SED1743 160-bit LCD Common Driver Data Sheet, Epson Electronics
26 www.xilinx.com XAPP169 (v1.0) November 24, 1999 1-800-255-7778 MP3 NG: A Next Generation Consumer Platform R References RC32364 RISController, Hardware User’s Manual, April 1999, Integrated Device Technology Xilinx Spartan-II FPGA Data Sheet, January 2000, Xilinx IRMS6100 1.15 Mb/s IrDT Data Tran...
Page 27 - . All other trademarks and registered trademarks are; Date
MP3 NG: A Next Generation Consumer Platform XAPP169 (v1.0) November 24, 1999 www.xilinx.com 27 1-800-255-7778 R Revision History © 1999 Xilinx, Inc. All rights reserved. All Xilinx trademarks, registered trademarks, patents, and disclaim-ers are as listed at http://www.xilinx.com/legal.htm . All oth...