Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
1171 Discussions

ps/2 (mouse and key board)

Altera_Forum
Honored Contributor II
1,386 Views

Hello, 

 

Does anyone have a Verilog ps/2 interface. I tried the pslab1 

posted by John Loomis  

http://www.johnloomis.org/digitallab/ps2lab1/ps2lab1.html but didn't work. 

 

I used a "PS/2 to USB" and connected it to the DE2 board's USB. Then 

complied the porject and didn't work! 

Is this the correct way to do so? Please let me know.. 

 

 

Thanks
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
427 Views

Why didn't you use the DE2 PS2 connector? This is the only meaningful interface for this project,

0 Kudos
Altera_Forum
Honored Contributor II
427 Views

I didn't see it! now that I looked at the project closely it seems it is 

only for the keyboard and not the mouse as well. 

Thanks
0 Kudos
Altera_Forum
Honored Contributor II
427 Views

Hi, I wish to use the ps/2 port with DE1 board but I don't know where should I start. Which program I should use? Using HDL or SoPC builder? Is there any place I can get more information?

0 Kudos
Altera_Forum
Honored Contributor II
427 Views

You'll find a PS2_KEYBOARD.v module in DE1 and DE2 demonstration projects. Also the project linked above has a PS2 decoder.

0 Kudos
Altera_Forum
Honored Contributor II
427 Views

I got it. Thank you very much

0 Kudos
Altera_Forum
Honored Contributor II
427 Views

1.I'm doing a project to build a dot matrix display which required to use keyboard to key in characters to my DE1 board. Is that a way so that I can related the code above with SoPC builder and NiosII?  

2. Is that possible if I build a PS/2 core using SoPC?
0 Kudos
Altera_Forum
Honored Contributor II
427 Views

hai, i want to ask for help. 

from a book by pong p. chu  

it verilog code is separate in keyboard and mouse 

got any idea to join it together? 

because i doing my project. 

can email me in fox_hound85@hotmail.com 

thank
0 Kudos
Altera_Forum
Honored Contributor II
427 Views

Hi 

i cant use this PS2_KEYBOARD.v. 

can any body help me 

i am a new DE1 operator . 

tanks too.
0 Kudos
Reply