the jk microprocessor - oakland university · microprocessor interface ece378 project 1 _ select...

17
PROJECT G U M M I 16 - BIT MICROPROCESSOR Kazumi Malhan Chris Petros Justen Beffa Marc Nahed ECE378 Final Project (Winter 2015)

Upload: vunhan

Post on 16-May-2018

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

PROJECT GUMMI16-BIT MICROPROCESSOR

Kazumi Malhan

Chris Petros

Justen Beffa

Marc Nahed

ECE378 Final Project (Winter 2015)

Page 2: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

TOP LEVEL DESIGN

Page 3: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

SERIAL INTERFACE ON PC SIDE

Users can only select one button

from each category

Write button is enabled only after

connection is established

Sending appropriate ASCII code

that matches to the instruction set

Users can only type 1 or 0 up to

7 bits to input box

Users cannot write on result box

Developed using Visual Basic

Page 4: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

TOP LEVEL DESIGN

Page 5: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

UART (RX) DATA PATH

Extracting portion of bits

Page 6: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

ASM CHARTRX receiver component RX top

Page 7: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

ASCII TO INSTRUCTION CODE

For input 7 bit numbers

1. Convert to decimal number

2. Sending “Chr(decimal number)

3. Taking last 7 bit at board

K = 01001011

D = 01000100

Page 8: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

TOP LEVEL DESIGN

Page 9: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

CONTROL UNIT

Page 10: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

CONTROL UNIT ASM CHART

Page 11: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

TOP LEVEL DESIGN

Page 12: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

ALUINSTRUCTION

Page 13: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

TEST BENCH

Page 14: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

TOP LEVEL DESIGN

Page 15: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

UART (TX) DATA PATH

Page 16: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

ASM CHART

Adding 0011000 to convert to ASCII encoding

Sending Carriage Return at the end

Page 17: The jk microprocessor - Oakland University · Microprocessor Interface ECE378 Project 1 _ Select COM port and Speed COM 2_ Select Operation Initialize Divide NOR Kazumi Ma Zhan Chris

LIVE DEMONSTRATION