14
The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH

The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

  • Upload
    others

  • View
    12

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH

Page 2: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

Brief DescriptionA Text Editor UART

PS2 Keyboard

VGA

Goal Mimic Typing Experience of a Simplified Word Processor

Page 3: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

UARTUniversal Asynchronous Receiver/Transmitter A type of serial communication

Consists of a Receiving Block and Transmitting Block *Only a Receiving Block Was Used

UART Uses: Change the Background Color

Change Text Color

Page 4: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

UARTQ = Black Background and Gold Text

W= Black Background and Green Text

E=Red Background and Green Text

R=Blue Background and Red Text

T=Yellow Background and Black Text

Y=Magenta Background and White Text

U=Green Background and Black Text

Page 5: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

PS2 KeyboardSimilar to UART (Serial Communication) Synchronous

Data is Transferred and Keyboard is Powered Via USB Port

Input for Text

Sends Multiple Codes Make

Break

Page 6: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

VGA/Output Grid System Tile Mapping

Assigned 1 Bit Per Color Red

Green

Blue

Displays Background Color and Text

Page 7: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

FSM 1

Page 8: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

FSM 2

Page 9: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

Top Schematic

Page 10: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

UART Top

Rx

Back (2:0)

Text (2:0)

Rx Done

Text To Screen Top

Back (2:0)

Text (2:0)

PS2C

PS2D

Rx En

RGB (2:0)

HSync

VSync

Reset

Rx

Clock

PS2D

PS2C

RGB (2:0

HSync

VSync

Page 11: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

UART Schematic

Page 12: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

Schematic 1

UART Receiver

Rx

STick Rx_Done Tick

DoutModulo M Counter

Q(8:0)

Max_Tick

FSMDin

DoneBack (2:0)

Text (2:0)

Back (2:0)

Text (2:0)

Rx Done Tick

Clock

Rx

Reset

Page 13: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

VGA/PS2 Schematic

Page 14: The Text Editor - Oakland Universityllamocca/Courses/ECE378/...The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH. Brief Description A Text Editor UART PS2

PS2 Receiver

PS2 D

PS2 C

PS2 Code

PS2 Code New

Key To Ascii

Key Code (7:0)

Ascii Code (7:0)

Text FSM

Data In (7:0)

Done

Data Out (7:0)

Carr

Move X Left

Move X Right

Move Y

Move Y Up

Submit

Text Screen Gen

Background (2:0)

Pixel X (9:0)

Pixel Y (9:0)

SW (6:0)

Text Color (2:0)

Move X Right

Move X Left

Move Y

Move Y Up

Ret

Submit

Video On

Text RGB (2:0)

VGA Sync

Pixel_X (9:0)

Pixel_Y (9:0)

HSync

PTick

Video On

VSync

FDE

D

CE

C

O

PS2 C

PS2 D

Clock

Background

Text Color

Res

et