Project Goals 1.Get to know Quartus SoPC builder environment 2.Stream 2.Stream Video 3.Build 3.Build foundation for part B - Tracking system.

Slides:



Advertisements
Similar presentations
Bus Specification Embedded Systems Design and Implementation Witawas Srisa-an.
Advertisements

Categories of I/O Devices
Interfacing mixed signal peripherals by protocols of packet type Emil Gueorguiev Saramov Angel Nikolaev Popov Computer Systems Department, Technical University.
Yaron Doweck Yael Einziger Supervisor: Mike Sumszyk Spring 2011 Semester Project.
Chapter 10 Input/Output Organization. Connections between a CPU and an I/O device Types of bus (Figure 10.1) –Address bus –Data bus –Control bus.
Reporter :LYWang We propose a multimedia SoC platform with a crossbar on-chip bus which can reduce the bottleneck of on-chip communication.
Universal Serial Bus Grant Heileman. The History of USB In 1994 a collaborative effort to design a standard for peripheral devices was made between Compaq,
1/1/ / faculty of Electrical Engineering eindhoven university of technology Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir.
Avalon Switch Fabric. 2 Proprietary interconnect specification used with Nios II Principal design goals – Low resource utilization for bus logic – Simplicity.
CS-334: Computer Architecture
Nios implementation in CCD Camera for "Pi of the Sky" experiment Photonics and Web Engineering Research Group Institute of Electronics Systems Warsaw University.
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
USB: Data Flow Sukesh Shenoy. USB implementation areas.
Input-output and Communication Prof. Sin-Min Lee Department of Computer Science.
Super Fast Camera System Performed by: Tokman Niv Levenbroun Guy Supervised by: Leonid Boudniak.
© 2004 Xilinx, Inc. All Rights Reserved Implemented by : Alon Ben Shalom Yoni Landau Project supervised by: Mony Orbach High speed digital systems laboratory.
Simulation Interface Final Presentation Guy Zur Eithan Nadir Instructor : Igal Kogan.
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Project performed by: Naor Huri Idan Shmuel.
Programming I/O for Embedded System. Page 2 Overview Basis: A DE2 Computer Architecture Parallel I/O 7-Segment Display Basic Manipulating 7-Segment Display.
JTAG UART port in NIOS.
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
CSCE 313: Embedded Systems Multiprocessor Systems
ECE Department: University of Massachusetts, Amherst ECE 354 Spring 2006 Lab 2: Capturing and Displaying Digital Image.
USB 2.0 to SD-Card File Transfer
OS Implementation On SOPC Final Presentation
Programming & Development of Mobile & Embedded Systems Lin Zhong ELEC424, Fall 2010.
By: Nadav Haklai & Noam Rabinovici Supervisors: Mike Sumszyk & Roni Lavi Semester:Spring 2010.
USB host for web camera connection
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Lab 2: Capturing and Displaying Digital Image
Introduction to USB © 2010 Renesas Electronics America Inc. All rights reserved.
USB host for web camera connection
1.  Project Goals.  Project System Overview.  System Architecture.  Data Flow.  System Inputs.  System Outputs.  Rates.  Real Time Performance.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
OS Implementation On SOPC Midterm Presentation Performed by: Ariel Morali Nadav Malki Supervised by: Ina Rivkin.
1 3-General Purpose Processors: Altera Nios II 2 Altera Nios II processor A 32-bit soft core processor from Altera Comes in three cores: Fast, Standard,
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
Interrupts and DMA CSCI The Role of the Operating System in Performing I/O Two main jobs of a computer are: –Processing –Performing I/O manage and.
1 Nios II Processor Architecture and Programming CEG 4131 Computer Architecture III Miodrag Bolic.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Principles of I/0 hardware.
I/O Example: Disk Drives To access data: — seek: position head over the proper track (8 to 20 ms. avg.) — rotational latency: wait for desired sector (.5.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
© 2005 Altera Corporation SOPC Builder: a Design Tool for Rapid System Prototyping on FPGAs Kerry Veenstra Workshop on Architecture Research using FPGA.
Towards the Design of Heterogeneous Real-Time Multicore System m Yumiko Kimezawa February 1, 20131MT2012.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
NIOS II Ethernet Communication Final Presentation
Towards the Design of Heterogeneous Real-Time Multicore System Adaptive Systems Laboratory, Master of Computer Science and Engineering in the Graduate.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
1 Presented By: Eyal Enav and Tal Rath Eyal Enav and Tal Rath Supervisor: Mike Sumszyk Mike Sumszyk.
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
Fall 2000M.B. Ibáñez Lecture 25 I/O Systems. Fall 2000M.B. Ibáñez Categories of I/O Devices Human readable –used to communicate with the user –video display.
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
Network On Chip Platform
Chapter 13 – I/O Systems (Pgs ). Devices  Two conflicting properties A. Growing uniformity in interfaces (both h/w and s/w): e.g., USB, TWAIN.
Part A Final Dor Obstbaum Kami Elbaz Advisor: Moshe Porian August 2012 FPGA S ETTING U SING F LASH.
Proposal for an Open Source Flash Failure Analysis Platform (FLAP) By Michael Tomer, Cory Shirts, SzeHsiang Harper, Jake Johns
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
IT3002 Computer Architecture
USB host for web camera connection Characterization presentation Presenters: Alexander Shapiro Sergey Alexandrov Supervisor: Mike Sumszyk High Speed Digital.
Data Stream Managing Unit Intermediate Presentation Advisor : Vitaly Spector Students : Neomi Makleff Hadas Azulay Lab : High Speed Digital Systems.
System Interconnect Fabric
Serial Data Hub (Proj Dec13-13).
Greg Bell Business Development Mgr Industrial & Security Markets
Low cost FPGA implimentation of tracking system from USB to VGA
Chapter 13: I/O Systems.
Presentation transcript:

Project Goals 1.Get to know Quartus SoPC builder environment 2.Stream 2.Stream Video 3.Build 3.Build foundation for part B - Tracking system

Project Stages 1.Configure 1.Configure the system using SoPC builder 2.Create 2.Create embedded software 3.Generate 3.Generate system input using USB 4.Display 4.Display video

Costs DE2: 0/269/495$ (Academic/Commercial/) DE3: 0/?/2695$ Virtex 2 pro 299$(269/Ac/com) –Usb 2.0 ext. 39$

USB Basics

Host 1.Detect Attachment/Removal 2.Manage Control flow 3.Manage Data Flow Device 1.Respond to Requests Status Status Data Data

Isochronous Transfer 1.High priority 2.Low latency 3.No Resend on Error

System Architecture

Referenced Architecture 1.Tal Rath and Eyal Enav Configuration: Configuration:  NIOS II USB  Jungo configuration 2.DE2 demonstrations

Our Design Data flow inside the System Data flow inside the System Input from file Input from file Streaming format Streaming format

Video Streamer Packet Number Packet Data USB 38 Packets per frame

Packet Arrival

Interrupts NIOS II can be informed about a device finishing its process via IRQs. Devices we want the processor to have communication with, are assigned IRQs in the SOPC builder. Each IRQ is assigned a function in C, that will be called when an interrupt occurs.

Software

TIMELINE TIME

Why DMA? CPU can perform data transfers…CPU can perform data transfers… … but then it won’t be available for anything else… The DMA allows us to transfer data from one place to another without making use of the CPU.The DMA allows us to transfer data from one place to another without making use of the CPU.

Masters can operate concurrently if they don’t address the same slave. Masters in our design are the DMA’s and NIOS II architecture. Concurrent accesses to SDRAM happen when we write data from the USB to the SDRAM Avalon Bus

Direct Memory Access DMA receives:DMA receives: –Source –Destination –Amount of data to transfer

DMA USB INTERFACE USB DATA PORT PC sends a packet System receives INT DMA starts transfer System awaits next INT Transfer finishes

SRAM VGA INTERFACE

Access Collision

System with fifo Transmission done Reception done DMA streaming FIFO

Selected Design

Pixel Format Data Bytes per packet = 1022 Data Bytes per packet = 1022 Bytes per pixel = 2 Bytes per pixel = 2 Pixel per packet = 1022/2 = 511 Pixel per packet = 1022/2 = 511

24 vs 16 bit RGB 24 bit RGB16 bit RGB

Tools and Debug 1.Quartus II 1.Quartus II – Signal tap.Quartus II Quartus II 2.Model Sim 2.Model Sim – for design verificationModel Sim Model Sim 3.Logic analyser Logic analyserLogic analyser 4.Nios II IDE Nios II IDENios II IDE 5.Hex Editor Hex EditorHex Editor 6.Microsoft Visual Studio Microsoft Visual StudioMicrosoft Visual Studio

Troubleshooting 1.Quartus Quartus Version related issues USB Drivers 2.Model Sim Model SimModel Sim 3.Nios II IDE Nios II IDENios II IDE SoPC builder environment

VGA signals in Signaltap VGA signals in Signal tap

VGA signals in ModelSim

LogicAnalizer Logic Analizer Digital Scope Memory

Hex Editor Neo

Nios II IDE Memory view

Microsoft Visual studio 2005

Memory considerations 0.5 MB SRAM is not enough for possible extended image resolution (640x480). 8 MB of SDRAM will be enough for: 160x120x3x3 = 172,800 Bytes which is the current plan.

Summery StatusMilestone Done Learn SOPC environment (Quartus,Nios II IDE,SOPC builder ect.) Done Evaluate different VGA architectures Done Evaluate different DMA configurations Done Ramp up on USB 1.1 protocol Done Create interrupt driven software architecture Done Create internal protocol for streaming video Done Integration of different projects and platforms Done Evaluate alternative architectures for Steaming video system

2.Algorithm Motion image computation Mass center computation Prediction of next mass center (Kalman filter or more simple algorithm)