Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

ps/2 (mouse and key board)

Altera_Forum
Honored Contributor II
1,098 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
139 Views

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

Altera_Forum
Honored Contributor II
139 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
Altera_Forum
Honored Contributor II
139 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?

Altera_Forum
Honored Contributor II
139 Views

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

Altera_Forum
Honored Contributor II
139 Views

I got it. Thank you very much

Altera_Forum
Honored Contributor II
139 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?
Altera_Forum
Honored Contributor II
139 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
Altera_Forum
Honored Contributor II
139 Views

Hi 

i cant use this PS2_KEYBOARD.v. 

can any body help me 

i am a new DE1 operator . 

tanks too.
Reply