 Purpose of our project  Get real world experience in ASIC digital design  Use same tools as industry engineers  Get practical experience in microprocessor.

Slides:



Advertisements
Similar presentations
VHDL Design of Multifunctional RISC Processor on FPGA
Advertisements

Nios Multi Processor Ethernet Embedded Platform Final Presentation
Categories of I/O Devices
INPUT-OUTPUT ORGANIZATION
Electrical and Computer Engineering MIDI Note Number Display UGA Presentation and Demo ECE 353 Lab B.
In this presentation you will:
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Loops, and sub-routines Interrupts Can be very useful in control applications particularly when the microprocessor must perform two tasks apparently.
EELE 367 – Logic Design Module 2 – Modern Digital Design Flow Agenda 1.History of Digital Design Approach 2.HDLs 3.Design Abstraction 4.Modern Design Steps.
Motor Control Lab Using Altera Nano FPGA
Parts & Functions of a Computer. 2 Functions of a Computer.
Introduction to Information Technology: Your Digital World © 2013 The McGraw-Hill Companies, Inc. All rights reserved.Using Information Technology, 10e©
Design and Development of High Performance PC Based Logic Analyzer MSc Project by Rab Nawaz Advisor: Dr. Shahid Masud.
The Xilinx EDK Toolset: Xilinx Platform Studio (XPS) Building a base system platform.
Read Chapter 3 (David E. Simon, An Embedded Software Primer)
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Project performed by: Naor Huri Idan Shmuel.
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
ECE 353 Lab B (part 1 – Overview)
Microcontroller based system design
Critical Design Review February 23 rd, 2010 Hassan Alabudib Kamal Sabi Peng Chen Marisol Lozano Roman Yirui Huang.
Microcontroller: Introduction
OS Implementation On SOPC Final Presentation
INPUT-OUTPUT ORGANIZATION
PIC Evaluation/ Development Board Dec02-12 December 10, 2002 Client: ECpE Department Faculty Advisors: Dr. Rover, Dr. Weber Chad Berg, Luke Bishop, Tyson.
Computerized Train Control System by: Shawn Lord Christian Thompson.
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Spring 2009.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
MICE III 68000/20/30 MICETEK International Inc. CPU MICEIII MICEView Examples Contents Part 1: An introduction to the MC68000,MC68020 and Part.
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 13 Computer Systems Roger.
Lecture #3 Page 1 ECE 4110– Sequential Logic Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.No Class Monday, Labor Day Holiday 2.HW#2 assigned.
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,
Exercise 2 The Motherboard
Core of the Embedded System
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7. Optical Discs 10/01/20151Input/Output.
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
The Computer Systems. Computer System CPU Is the brain of the PC. All program instructions are run through the CPU Control Unit This decodes and executes.
GBT Interface Card for a Linux Computer Carson Teale 1.
집적회로 Spring 2007 Prof. Sang Sik AHN Signal Processing LAB.
THE GEORGE WASHINGTON UNIVERSITY SCHOOL OF ENGINEERING AND APPLIED SCIENCE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING FINAL PRESENTATION WEATHER.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
NIOS II Ethernet Communication Final Presentation
Electrocardiogram (ECG) application operation – Part B Performed By: Ran Geler Mor Levy Instructor:Moshe Porian Project Duration: 2 Semesters Spring 2012.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 3 – The Motherboard.
Lecture #3 Page 1 ECE 4110–5110 Digital System Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.HW#2 assigned Due.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
PC Internal Components Lesson 4.  Intel is perhaps the most recognizable microprocessor manufacturer. List some others.
Part A Final Dor Obstbaum Kami Elbaz Advisor: Moshe Porian August 2012 FPGA S ETTING U SING F LASH.
LAB 3 – Synchronous Serial Port Design Using Verilog
PARTS OF A COMPUTER 2 Hardware Computer Hardware is any of the physical parts of the computer you can touch. There are 4 categories: 1. Input Devices.
Embedded Systems February 10, Serial Interface - SPI  Serial Peripheral Interface  Synchronous communications  Clock supplied by the Master.
Lab Environment and Miniproject Assignment Spring 2009 ECE554 Digital Engineering Laboratory.
Computer Systems Unit 2. Download the unit specification from moodle or the BTEC website Or alternatively visit ahmedictlecturer.wikispaces.com.
Von Neumann Machines. 3 The Von Neumann Architecture Model for designing and building computers, based on the following three characteristics: 1)The.
Networked Embedded Systems Pengyu Zhang EE107 Spring 2016 Lecture 8 Serial Buses.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
1 of 24 The new way for FPGA & ASIC development © GE-Research.
Programmable Logic Devices
Chapter 6 Input/Output Organization
ECE 4110–5110 Digital System Design
Atmega32 Serial Programming Basics
Introduction to Microprocessors and Microcontrollers
Serial Data Hub (Proj Dec13-13).
Operating Systems Chapter 5: Input/Output Management
Overview 1. Inside a PC 2. The Motherboard 3. RAM the 'brains' 4. ROM
Presentation transcript:

 Purpose of our project  Get real world experience in ASIC digital design  Use same tools as industry engineers  Get practical experience in microprocessor arch.  Learn how to interface hardware and software designed by our group and outside sources  Learn good design practices

 The team will build from scratch three peripherals for an open source processor core using RTL  The three peripherals will be:  UART  SMBUS version 1.0 – verified with 3rd party hardware/software  LCD Interface - Allows uP to interface to LCD screen on Altera DE2 Device Requirements  Implement method of using RAM and ROM for microprocessor  Have general input/output ports for controlling external devices  Device will run compiled C code from a compiler designed for reference controller  RTL will run on commercially available FPGA demo board  Design test applications to demonstrate device operability  Demonstrate stable behavior by executing a program the same way as the reference controller would  Learn the layout and extraction tools well enough to perform at least a partial layout  Develop a real world application for device

Final Deliverables:  Source RTL for all core, peripheral and system components  Test programs/simulations demonstrating system operability  Documentation on how to use device  Deliver one functional hardware unit Objectives:  During this project the team will work on developing the following skills  Developing working RTL code  Knowledge of revision control  Knowledge of FPGA design and use  Understanding of digital communication buses  Project management skills  Design for test principles

Research Peripheral Write in Verilog Simulate with Incisive Synthesize with Quartus for FPGA Test Software Requirements Write Software Test Design circuit in Multisim Transfer to Ultiboard Send out files to be milled Solder in partsTest

 SmartSVN Revision Control  Lets us save all our code revisions  Incisive  Used to simulate Verilog code  Quartus II  Used for analysis and synthesis  Multiboard  For circuit simulation  Ultiboard  For board layout  MSPGCC  Compiling software for demo processor  CodeBlocks  For developing PC software to interface with demo

SMBUSUART LCD Interface Demo PCB PC Serial Port LCD Screen Altera DE2 FPGA Eval Board MSP430 Core (Opencores.org) MSP430 Peripheral Interface Our Verilog

 Synthesizable 16 bit MCU written in Verilog  Heart of our project  Building a whole core would be very time consuming – Use open source code  Several choices – picked OpenMSP430 because of documentation, flexibility  Can use open source compiler to build code

An asynchronous way of sending a byte of data Data is communicated between two UARTs Only two wires needed for send/receive Our UART is full-duplex – can send and receive simultaneously A UART is used to interface low speed peripheral devices(ex. Keyboard, mouse)

Transmission scheme

Parts of a UART Baud generator Receiver Transmitter Control block

 Function:  In software an LCD command forces a long wait on the MSP430 because of the setup time for the LCD, preventing the MSP430 from doing useful work.  The LCD Interface will store these instructions and initialize the LCD and execute the instructions after the LCD setup time has pasted.  This will free up the MSP430 to do whatever it wants to.  This can all be done in software, but our solution greatly decreases code complexity

 How it was made:  First, we got the LCD to work with software to make sure we were sending to right signals  Second, we split up the Verilog into a initialization block and a control block.  Next, we used Quartus to dump the code on to the FPGA  Last, we wrote some software to write to our LCD through our UART and through the LCD Interface.

 Standard 2-way serial interface based on I 2 C  Created by Intel in 1995  Has bitrate of 10kHz to 100kHz  Used on many components for basic communication  Sensors, regulators, power management, D/A  Over 3000 components listed on DigiKey  Transfers are initiated by master device, slave responds according to commands

Graphic taken from

To MSP430To PCB Bus Interface Controller SCLK Gen

Requirements  Handle communication with computer using our designed UART  Display user configurable information on the DE2 board using our designed LCD controller  Communicate with the SMBUS peripherals on our demo board (temperature sensor, LED controller, EEPROM) using our designed SMBUS controller

 A way of demonstrating the functionality of our UART  Allows us to communicate with the OpenMSP430 running on the DE2  Command line program, written in C, sends and receives data through the serial port

CommandOutput lcd_clearClears the lcd screen lcd_write [message]Writes [message] to the DE2 lcd screen beginning from first line, first spot lcd_offTurns the lcd screen off lcd_tempDisplays temperature information on lcd screen tempDisplays current temperature on PC plottempDisplays a plot of the temperature over the last minute on PC using Octave (data read from EEPROM) string[n]Displays custom message [n] on PC

 We want to make sure things work before we start putting them together  Each new module of Verilog has its own folder with test files  Can quickly trace down problems using simulator  Found out that simulator does things differently than Quartus  Spent a lot of time fixing differences

Planned Budget

Semester # 2 DE2 Board Supplied by ECE department Semester #1 MSP430 Development kit $20 DE1 Board Supplied by Packet Digital

 Weather data gathering station: temperature, humidity, wind, etc  Portable measuring devices with LCD screen and PC interface  Processor cooling (using SMBUS temperature sensor and SMBUS fan controller)

UART  Larger buffer (e.g. 8 bytes)  Parity bit, stop bit, word size, and baud rate configuration registers LCD controller  Configurable LCD size SMBUS  Multibyte reads and writes  Fix output signals register

Victory is Ours  Completed objectives  All peripherals functioning correctly  Demo working correctly on DE2  Learned about digital design flow  Project management and organization  It has been a very positive learning experience

?