VHDL Code for Mouse

Thread Starter

adiiscool20

Joined Aug 7, 2009
3
i need a vhdl code for mouse working.how does a mouse move and how does the counter count the movement of mouse and send to cpu.basically i require a code in vhdl on how mouse works?
 

Thread Starter

adiiscool20

Joined Aug 7, 2009
3
hey thanks for the link i learnt a alot from it..but i need a code for how the horizontal n vertical movements are counted..how the led signals are counted???
 

scythe

Joined Mar 23, 2009
49
Hey adiiscool20, what you are looking for is how to code a VHDL PS2 interface. I haven't ever coded one myself, but if you do a google search, you should be able to find something that will help you. I have some friends who did this for their final projects in my hardware design class last semester, and they coded a PS2 interface to utilize a mouse.

Sorry I can't be more helpful, but hopefully that will point you in the right direction. ^^
 

Thread Starter

adiiscool20

Joined Aug 7, 2009
3
hey thanks for the previous information.can u plz guide me a little bit on this project.i have been told to work on this project mentiones below:
"To make a shaft encoder into FPGA so as to study it as hardware"
I AM NOT ABLE TO UNDERSTAND WHAT actually i have to do??can u please explain a little bit plz.........
 

vjabagch

Joined Jul 23, 2009
4
A mouse protocol is an agreed upon way (decided by engineers who pioneered the interface) how to communicate with a device, namely the mouse. There are a great number of protocols out there for different devices. For example, a USB works differently than a PS2 mouse.

Try these two links

This is a link for a PS2 protocol

http://www.computer-engineering.org/index.php?title=PS/2_Mouse/Keyboard_Protocol


This is a link for a PS2 Interface

http://www.computer-engineering.org/index.php?title=PS/2_Mouse_Interface
 
Top