Nios Multi Processor Ethernet Embedded Platform Final Presentation

Slides:



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

Provide data pathways that connect various system components.
Computer Buses Ref: Burd, Chp – 220 Englander, Chp 7 p
December 2003 DJM DECO_021 CPU Chips & Buses. December 2003 DJM DECO_022 CPU Chips Modern ones are contained on a single chip Each chip has a set of pins.
Computer Architecture
Presenter : Cheng-Ta Wu Kenichiro Anjo, Member, IEEE, Atsushi Okamura, and Masato Motomura IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 39,NO. 5, MAY 2004.
INPUT-OUTPUT ORGANIZATION
StreamBlade SOE TM Initial StreamBlade TM Stream Offload Engine (SOE) Single Board Computer SOE-4-PCI Rev 1.2.
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Reporter :LYWang We propose a multimedia SoC platform with a crossbar on-chip bus which can reduce the bottleneck of on-chip communication.
Processor System Architecture
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
Nios implementation in CCD Camera for "Pi of the Sky" experiment Photonics and Web Engineering Research Group Institute of Electronics Systems Warsaw University.
Parts & Functions of a Computer. 2 Functions of a Computer.
© ABB Group Jun-15 Evaluation of Real-Time Operating Systems for Xilinx MicroBlaze CPU Anders Rönnholm.
IO Controller Module Arbitrates IO from the CCP Physically separable from CCP –Can be used as independent data logger or used in future projects. Implemented.
NIOS II Ethernet Communication Final Presentation
Computer Hardware Processing and Internal Memory.
Configurable System-on-Chip: Xilinx EDK
The Xilinx EDK Toolset: Xilinx Platform Studio (XPS) Building a base system platform.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Project performed by: Naor Huri Idan Shmuel.
Interface of DSP to Peripherals of PC Spring 2002 Supervisor: Broodney, Hen | Presenting: Yair Tshop Michael Behar בס " ד.
Ethernet Bomber Ethernet Packet Generator for network analysis Oren Novitzky & Rony Setter Advisor: Mony Orbach Started: Spring 2008 Part A final Presentation.
Performed by: Yevgeny Kliteynik Ofir Cohen Instructor: Yevgeny Fixman המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory הטכניון - מכון.
Lecture 7 Lecture 7: Hardware/Software Systems on the XUP Board ECE 412: Microcomputer Laboratory.
Using FPGAs with Embedded Processors for Complete Hardware and Software Systems Jonah Weber May 2, 2006.
OS Implementation On SOPC Final Presentation
INPUT-OUTPUT ORGANIZATION
Motherboard AKA mainboard, system board, planar board, or logic board. It is printed circuit board found in all modern computers which holds many of the.
Lecture 12 Today’s topics –CPU basics Registers ALU Control Unit –The bus –Clocks –Input/output subsystem 1.
Viterbi Decoder Project Alon weinberg, Dan Elran Supervisors: Emilia Burlak, Elisha Ulmer.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
1.  Project Goals.  Project System Overview.  System Architecture.  Data Flow.  System Inputs.  System Outputs.  Rates.  Real Time Performance.
Computer Processing of Data
OS Implementation On SOPC Midterm Presentation Performed by: Ariel Morali Nadav Malki Supervised by: Ina Rivkin.
By: Oleg Schtofenmaher Maxim Fudim Supervisor: Walter Isaschar Characterization presentation for project Winter 2007 ( Part A)
Organization of a computer: The motherboard and its components.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
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.
GBT Interface Card for a Linux Computer Carson Teale 1.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
PROCStar III Performance Charactarization Instructor : Ina Rivkin Performed by: Idan Steinberg Evgeni Riaboy Semestrial Project Winter 2010.
I T Essentials I Chapter 1 JEOPARDY HardwareConnector/CablesMemoryAcronymsPotpourri
NIOS II Ethernet Communication Final Presentation
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Modes of transfer in computer
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
Academic PowerPoint Computer System – Architecture.
Ethernet Bomber Ethernet Packet Generator for network analysis
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
High Speed Digital Systems Lab Spring/Winter 2010 Project definition Instructor: Rolf Hilgendorf Students: Elad Mor, Ilya Zavolsky Integration of an A/D.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Computer Hardware What is a CPU.
Lab 1: Using NIOS II processor for code execution on FPGA
UNIT – Microcontroller.
Operating Systems (CS 340 D)
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Microcomputer Architecture
Serial Data Hub (Proj Dec13-13).
Course Code 114 Introduction to Computer Science
Presentation transcript:

Nios Multi Processor Ethernet Embedded Platform Final Presentation Students: Yevgeny Kliteynik Ofir Cohen Instructor: Yevgeny Fixman 2002 - 2003

Abstract Embedded Systems role in the High-Tech world is growing. New embedded systems require a larger amount of flexibility, computation power and reliable I/O devices. This goal can be achieved by using Multi-Processor System with an explicit distribution of tasks.

Abstract – cont. This way one CPU handles I/O tasks, and the other handles calculation tasks. I/O Interface Common Memory Controller and Arbiter CPU 1 Extensive Calculation Tasks CPU 2 I/O

Abstract – cont. Altera’s embedded processor is a user-configurable, general-purpose RISC embedded processor. Gidel’s development board with an Altera FPGA is a suitable platform for combining System On Chip with peripheral devices.

Project Goals Combining Ethernet card with embedded system on Gidel development PCI board. Building Multi-Processor SOC (System On Chip) that consists of two Nios processors with an explicit distribution of tasks: CPU that handles I/O tasks through Ethernet connection. CPU that handles extensive calculation tasks.

Project Goals – cont. Sharing a common external SDRAM by both Nios CPUs. Writing a software application that demonstrates the concurrent functionality of the system. Building a platform for rapid development of the embedded system on Gidel PCI card using Altera Nios technology.

Hardware Specifications Proc20K - Gidel PCI development board with: Altera FPGA chip – APEX EP20K Output voltage 0v – 2.5v Input voltage 0v – 5v Four Micron SDRAM chips – total size 64MB Internal clock – 50MHz, can be configured to 25MHz Voltage supply – 5v, 3.3v and 2.5v Ethernet card – Crystal LAN CS8900A Connection speed 10Mb/sec Internal oscillator – 20MHz Fed by voltage supply of 3.3v

Hardware Specifications – cont. Ethernet card connector Fed by voltage supply of 3.3v Implementation – pin-to-pin wire-up Serial Port adaptive connector Voltage converter – MAX232CPE Fed by voltage supply of 5v Conversion ranges: [-12v, 12v] – [0, 5] System clock rates Nios CPU core – 25MHz Micron SDRAM – 25MHz

System Overview SDRAM Gidel PCI Card PLX Apex FPGA Ethernet Card PCI IF SDRAM Controller Nios CPU (Math) Germs (E-net) Uart Selection Serial Port Connector Ethernet Card Serial IF E-net IF Adaptive Connector

SOC Structure The system consists of number of configurable modules (Altera cores). System Modules SDRAM Controller Nios CPU (Math) Uart 1 Ethernet Module Uart 2 (E-net) Germs 2 Germs 1

SOC Structure The modules are connected to Avalon Bus that responsible for arbitration of data & instructions flow. System Modules SDRAM Controller Nios CPU (Math) Uart 1 Ethernet Module Uart 2 (E-net) Germs 2 Germs 1 A v a l o n B u s r i d g e

SOC Structure The system contains interface to external devices: SDRAM, Ethernet and Serial port. System Modules SDRAM Controller A v a l o n B u s r i d g e Nios CPU (Math) Uart 1 Ethernet Module Uart 2 (E-net) Germs 2 Germs 1 Ethernet EF Serial IF SDRAM IF

SOC Structure The Uart Selection logic was added in order to determine the active Uart module. System Modules SDRAM Controller A v a l o n B u s r i d g e Nios CPU (Math) Uart 1 Ethernet Module Uart 2 (E-net) Germs 2 Germs 1 Ethernet IF Serial IF SDRAM IF Uart Selection Logic

Main SOC Modules A configurable RISC processor that enables SW development for the embedded system. It can be configured to suit special design needs. Universal bus that has data and instruction buses. All the other modules are connected to it. A controller with an interface to external SDRAM. Supports number of Nios CPUs that are connected to the Avalon Bus and performs arbitration of the access requests. Nios CPU Avalon Bus SDRAM Controller

Main SOC Modules – cont. CS8900 module that communicates with the Ethernet card and supports different communication protocols, such as TCP/IP. A monitor that is responsible for loading of the SW code into the program memory area of Nios CPU. The SW is received through the Serial port. The module that implements the RS232 communication protocol. The logic that makes it possible to select the active Uart module. Ethernet Module Germs Uart Uart Selection Logic

Memory Sharing Both Nios CPUs have access to the same SDRAM. Problem: Memory sharing violation. Program Memory Stack Data Common C P U 1 2 Program Memory Stack Data Solution: Dividing memory address space to separate areas – common and private.

Peripheral Devices The system should use an external Ethernet card. Problem: the Ethernet card and Gidel board have different physical structure. Solution: Adaptive connector for the Ethernet card fed by voltage of 3.3v from the PCI board.

Peripheral Devices – cont. The SW that should run on each Nios CPU is uploaded from the PC to the Germs monitor through Serial port. Problems: Gidel PCI board doesn’t have a suitable connector. PC serial port operates in voltage range -12v - +12v while FPGA chip supplies 0v – 2.5v and receives voltage 0v – 5v. Solution: Adapter for the serial connector that contains voltage converter fed by voltage of 5v from the PCI board.

Software SW Application was written to demonstrate the parallel operation of the system. Nios CPUs roles in the application: I/O CPU, where I/O device is Ethernet card CPU for mathematical calculations. The application implements cracking Diffie-Helmman protocol of symmetrical encryption.

Software – The Application Flow Transferring Inputs through Telnet Connection Transferring Inputs through Common Area of SDRAM Nios E-net CPU Calculating the Result User (Telnet Client) Nios Math CPU Nios E-net CPU Transferring Result through Common Area of SDRAM Transferring Result through Telnet Connection

Software – Timing Protocol The application requires transferring data between the CPUs – user input transferred from the Ethernet CPU to the math. CPU and result is transferred in the opposite direction. Problem: Common memory access timing. Check Fetch Flag – Fetch data and calculate Transferred user inputs Flag Transferred Result and Set Ready Flag Check Ready Flag and fetch the Result Solution: Timing protocol.

Software – Debugging The application development required significant debugging efforts. The debugging was done through: External registers: Nios CPUs can read/write to these registers, and they are also accessible through ProcWizard program. Serial Port: it is possible to print messages to screen when connected to the Serial Port in Nios Terminal Mode.

Conclusion Notes Built a flexible Multi-Processor embedded System that consists of two processors with an explicit distribution of tasks. Written a software application that demonstrates the parallel functionality of the system. Developed Embedded System platform that can be used in future projects. The system can be used as a platform for development of parallel applications.

The End