Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Verilog keyboard input (password) using FPGA board

I am trying to write a code that enables me to enter a specific password using a PS/2 Keyboard to turn off an alarm system, I already have the Verilog code for the keyboard, which basically lights or turns on the FPGA LED light corresponding to my keyboard binary number input. I am wondering how to make the alarm system switch interacts or responses with keyboard password input that I enter.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    If you want to make a fixed password, hardcode it. Then read letter x and compare it to the already stored x