1 Keyboard Controller Design By Tamas Kasza Digital System Design 2 (ECE 5572) Summer 2003 A Project Proposal for
2 Design Goals Goals Attach a keyboard to the I/O device through PS/2 type of port; Design a logic which can detect and display a pushed character on the LCD display of the I/O device; Use VHDL during the development process.
3 Available Devices: D2 Board Digilab 2 (D2) FPGA-based development board with a 200K-gate Xilinx Spartan 2 XC2S200 FPGA in a PQ208 package that provides 143 user I/Os Attached parallel port cable for communication with the PC Attached AC/DC adaptor: 110 V (AC) 6 V (DC)
4 Available Devices: D2 Board
5
6 Available Devices: DIO 2 Digilab Digital I/O board 2 16x2 character LCD Four seven segment displays 16 LEDs in three colors 8 switches 15 pushbutton keypad 8-bit VGA port PS/2 port
7 Available Devices: DIO 2 Digilab Digital I/O board 2
8 Development Kit
9 Available Devices: Keyboard Keyboard with PS/2 port
10 Software Background Xilinx ISE 5 Webpack Project Navigator is the user interface that helps you manage the entire design process including design entry, simulation, synthesis, implementation and finally download the configuration of your FPGA or CPLD device
11 Software Background iMPACT configuration tool allows you to configure your PLD designs using Boundary- Scan, Slave Serial, Select Map, and Desktop Configuration modes
12 PS/2 Interface The DIO II Board receives two signals from the PS/2 interface: a clock signal and a serial data stream that is synchronized with the falling edges on the clock signal. Connection identification: # PS/2 KEYBOARD CONNECTIONS NET KB_DATA LOC=P69; NET KB_CLK LOC=P68;
13 Development Process Plan DateDevelopment StepsStatus 12-Jun Project introduction, software installation, hardware interconnected Done 19-Jun PS/2 exact specification, identification of I/O pins, detection of characters from PS/2 port, VHDL design #1 draft Later 26-Jun VHDL design #2 draft, synthesis, optimization, analysis Later 3-JulVHDL design #3 draft, simulationsLater 10-Jul VHDL design #4 draft, implementation, editing constraints (.net) file: assigning physical pins to the external signals Later 17-Jul VHDL design final versions, device programming and simulations: iterative modifications if needed Later 24-JulDocumentation, final presentationLater
14 Thank You for Your Attention!