Presentation is loading. Please wait.

Presentation is loading. Please wait.

1.  Project Goals.  Project System Overview.  System Architecture.  Data Flow.  System Inputs.  System Outputs.  Rates.  Real Time Performance.

Similar presentations


Presentation on theme: "1.  Project Goals.  Project System Overview.  System Architecture.  Data Flow.  System Inputs.  System Outputs.  Rates.  Real Time Performance."— Presentation transcript:

1 1

2  Project Goals.  Project System Overview.  System Architecture.  Data Flow.  System Inputs.  System Outputs.  Rates.  Real Time Performance.  Conclusions.  Schedule. 2

3 ◦ Real-time streaming of webcam video through LAN using SOPC. ◦ Learning SOPC environment. ◦ Designing a system for real-time demands. ◦ Establishing a USB and Ethernet connections. ◦ Investigation and implementation of suitable internet protocols. 3

4  DE2 Altera board  Ethernet 10/100M port.  USB device port 2.0.  Cyclone II FPGA  Nios II soft-core.  Avalon switch fabric.  Environment: SOPC builder, Quartus II and NIOS IDE II. 4

5 5

6 6 Cyclone II Nios II Soft Processor Avalon Switch Fabric On Chip Memory Philips ISP1362 (USB) DM9000A (Ethernet Controller) Ethernet Port 10/100M LAN Remote PC Local PC USB Port USB Cable USB Cable RJ-45

7 7 Camera Local PC USB - device USB - host USB Service Program DE2 USB - device Frames Nios II Ethernet Port Wait for Client request Create UDP Packets Get data From USB Send over Ethernet Remote IP & MAC Remote PC LAN UDP Receive & Video Display Program Ethernet Ether. Packets Frames Screen

8  DE2 board ◦ Connected to PC through USB port, using Philips USB controller.  USB webcam ◦ Connected to PC through USB port.  USB connection service program ◦ Should be written for Windows OS. (C++) ◦ Reads frames from camera. ◦ Sends frames to USB port using OS services. 8

9  DE2 is connected to LAN. ◦ DM9000A PHY/MAC Controller supplies an Ethernet interface for NIOS II. ◦ UPD/IP over Ethernet should be Implemented using IDE2. ◦ Possible implementation of ARP and DHCP.  Remote computer is connected to LAN.  UDP service program. ◦ Should be written for Windows OS. (C++) ◦ Accepts UDP frame packets from the SOPC. ◦ Uses buffering. ◦ Displays video stream.  9 LAN

10 10 System Component Rate (Mbit/s) Ideal Stream Frame Size Limitation for 15 FPS (pixels / frame) Notes USB 2.0 is used. 480 1100X1100 Connects between local PC and DE2. Fast Ethernet100500X500 Refers to DE2 port and PC network cards. NIOS II loaded to Cyclone II can process up to 400M instructions Per second

11 CPU 11  Two memory buffers will be allocated on chip memory. ◦ Each one with a size of constant number of UDP packets.  Operation sequence (Assuming buffer B is ready): DMA transfer A ended Interrupt Start DMA transfer: USB  buffer A Send Buffer B to network using UDP packets Buffer_A_Ready_Flag = TRUE Wait for Buffer_A_Ready_Flag DMA transfer Same with B and A replaced

12 12  USB protocol will be implemented over Philips ISP1362 USB controller.  UDP sender will be implemented over DM9000A mechanism.  A USB connection service program should be written and run on local computer.  A UDP service program will be written and run on remote computer.  DMA will be used in order to achieve parallelism.

13 13 MilestoneStatus ; Due dateComments Explore development environment Done Implement Ethernet layer Done UDP implementation over Ethernet 15.12.08Data sending only Write a UDP service program for remote PC + UDP tests 22.12.08 Receive data from USB core 29.12.08

14 14 MilestoneStatus ; Due dateComments Camera service program for local computer 5.1.08 NIOS II program and integration 19.1.08 integration tests and improvements 22.1.08

15 15


Download ppt "1.  Project Goals.  Project System Overview.  System Architecture.  Data Flow.  System Inputs.  System Outputs.  Rates.  Real Time Performance."

Similar presentations


Ads by Google