Title: ECE 267
1ECE 267
Semester Project
Group Members Adeyemi Adepetu Elisa
Harianto Talha Allam
2PS2 Mouse Controller
3Specifications
Working of a PS2 device
Transmission of Data via a PS2 port
PORTS 1 clock 2 data 3 no connection 4 GND 55V
PS2 Port
The proposed Mouse Controller circuit shall take
inputs from this port
4Specifications
Inputs
Clock
Proposed Mouse Controller Circuit
33-bit data sequence
5Specifications
0
1
0
0
0
0
1
0
0
1
0
01101100111
00000000001
6Design
Input Shifter Collects input data from the mouse
bit by bit Parity Checker Checks the parity of
each of the 3 words X Y Data Convert the X and
Y magnitude to hexadecimal form Status Abstracts
information about the mouse status from the input
data
7Implementation
Output from Debussy showing various components
8Testing
Test input sequence 01001100101010111001110011110
1011 The expected output for this test input is
as follows Left button 1
Right button 0
X sign 1
Y sign 0
X
overflow 0
Y
overflow 1
Parity
error 0 The seven-segment LED output is as
follows
0000011 when the MUX enable is at 1000 state.
0001000 when the MUX
enable is at 0100 state.
0110000 when the MUX enable is at 0010 state.
1000110 when the MUX enable
is at 0001 state.
9Future Improvements
- In real circuits
- The mouse controller circuit should send an
initial
communication bit sequence to the host device. - This would require a tri-state buffer.
10For more information visit www.portfolio.iu.edu/t
allam/mouse.htm