Internet-Radio - Embedded System Design Project Report...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
- 1 - Embedded System Design Project Report Internet Radio Yingjian Gu yg2154@columbia.edu Qiutao Yu qy2104@columbia.edu Chun-Chuen Li cl2222@columbia.edu Imran Quyyum iq2101@columbia.edu
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
- 2 - 1. Project Overview . .......................................................................................................... 3 2. Project Design. ............................................................................................................... 4 2.1 System Memory Map. ........................................................................................... 4 2.2 SRAM Controller Design . .................................................................................... 5 2.3 Flash Controller . ................................................................................................... 8 2.5 Peripheral Bus MUX. .......................................................................................... 15 2.6 OPB TimeOut . .................................................................................................... 17 2.7 Ethernet Controller. ............................................................................................. 18 2.8 User Interface. ..................................................................................................... 20 2.9 Live Broadcast . ................................................................................................... 20 2.10 Advertisement Insertion. ................................................................................... 22 2.11 Ad/Background Sound Recording. ................................................................... 22 2.12 Packet Receving Debug Tools. ......................................................................... 22 3. Conclusion . ................................................................................................................... 23 3.1 Who Did What And Lessons Learned . ............................................................... 23 3.2 Future Work. ....................................................................................................... 24 4. Code Listings . ............................................................................................................... 25 4.1 Configuration Files . ................................................................................................ 25 4.1.1 system.mhs. ...................................................................................................... 25 4.1.2 system.mss . ...................................................................................................... 33 4.1.3 system.ucf . ....................................................................................................... 34 4.1.4 Makefile. .......................................................................................................... 39 4.2 C Code . ................................................................................................................... 44 4.2.1 audio.h. ............................................................................................................. 44 4.2.2 ether.h. .............................................................................................................. 44 4.2.3 flash.h. .............................................................................................................. 47 4.2.4 menu.h. ............................................................................................................. 47 4.2.5 flash.c. .............................................................................................................. 47 4.2.6 audio.c. ............................................................................................................. 49 4.2.7 ether.c. .............................................................................................................. 50 4.2.8 initialization.c. .................................................................................................. 58 4.2.9 int.c. .................................................................................................................. 60 4.2.10 menu.c. ........................................................................................................... 61 4.2.11 main.c. ............................................................................................................ 64 4.3 VHDL Code. ........................................................................................................... 68 4.3.1 opb_sram.vhd. .................................................................................................. 68 4.3.2 opb_flash.vhd. .................................................................................................. 78 4.3.3 opb_mux.vhd . .................................................................................................. 85 4.3.4 opb_sdram.vhd. ................................................................................................ 95 4.3.5 opb_Ethernet.vhd. .......................................................................................... 121 4.3.6 opb_audio_controller.vhd. ............................................................................. 128 4.3.7 opb_audio_sampler.vhd. ................................................................................ 137 4.3.8 opb_xsb300e_vga.vhd . .................................................................................. 147
Background image of page 2
- 3 - 1. Project Overview We have implement an internet radio server using the XESS XSB-300E board. In this project we have been able to access as much as possible peripherals on the FPGA board, and learned more from the embeded system design course. We do not focus on a real functional complex internet server software in this project. We implemented the live broadcast radio with configurable advertisement insertion. We captured the audio through the audio codec chip, and playback the broadcast content for monitoring through the codec chip and speaker. We used the UDP protocol to streaming out the audio through the ethernet controller. We could insert advitisement to the broadcast under user control. . In order to implement the configurable features, we used the VGA with menu display, and user input control from UART channel, so that the user input can be used to change the mode. We provided the SRAM, and Flash memory interface for the data storage. The SRAM is used to save the codec serial data during the capturing, also it is used as the software code running. The Flash is used to save the advertisement sound data. The SDRAM was developed, but we could not make it work with intensive audio data access. The following is the system diagram, Microphone FM Radio Speaker phone AK4565 OPB Audio Codec Interface OPB SDRAM Interface OPB SRAM Interface OPB Flash Interface OPB UART OPB VGA Controller AX88796 OPB Ethernet Interface MicroBlaze FPGA SDRAM SRAM Flash RS232 VGA Display Figure 1 System Diagram
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
- 4 - 2. Project Design 2.1 System Memory Map There are multiple pheriherals, such as the BRAM, SRAM, Flash, SDRAM, VGA, Ethernet, Audio Sampler, Audio Controller, UART, Interrupt controller and MUX, being used in the project design. The memory address map is defined in the mhs file. The following memory map is created in the OPB memory space, 0x00000FFF BRAM 0x00000000 0x2FFFFFFF SRAM 0x20000000 0x00FFFFFF Ethernet 0x00800000 0x3FFFFFFF Flash 0x30000000 0x4FFFFFFF SDRAM 0x40000000 0xFEFF01FF UART 0xFEFF0100 0xFEFF03FF Audio Sampler 0xFEFF0300 0xFEFF04FF
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/11/2009 for the course CSE CS taught by Professor Crm during the Spring '08 term at Indian Institute of Technology, Kharagpur.

Page1 / 149

Internet-Radio - Embedded System Design Project Report...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online