the text editor - oakland universityllamocca/courses/ece378/...the text editor andrew glenn, aaron...
TRANSCRIPT
The Text Editor ANDREW GLENN, AARON BOENING, ANDREA TAYLOR, MCKENZIE WALSH
Brief DescriptionA Text Editor UART
PS2 Keyboard
VGA
Goal Mimic Typing Experience of a Simplified Word Processor
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
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
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
VGA/Output Grid System Tile Mapping
Assigned 1 Bit Per Color Red
Green
Blue
Displays Background Color and Text
FSM 1
FSM 2
Top Schematic
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
UART Schematic
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
VGA/PS2 Schematic
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