Interfacing 4x4 keypad with 16x2 LCD on FPGA using VHDL

OP #6841204
Rate this post
• ▲ useful
▼ not useful
Hello all! I have recently dived into the world of FPGA, and have 
challenged my self to see if you are able to take an input from a 4x4 
keypad and display the output on an 16x2 LCD utilizing the DE-10 LITE 
FPGA board on quartus. I have found out how to send the keypad inputs to 
seven segment display and how to utilize the LCD on it's own.. although 
now putting the two together is where I have hit a brick wall. As you 
all know there is not much VHDL resources online so if anyone has 
accomplished this please feel free to respond and lend a helping hand 
thank you!
Guest #6841327
Rate this post
• ▲ useful
▼ not useful
Can you show the internal interfaces of your keypad controller and your 
lcd controller?
Maybe you need a state machine to connect both things together.

My lcd controller looks like this:
1
entity lcd_controller is
2
    generic
3
    (
4
        clk_frequency : integer := 10_000_000
5
    );
6
    port 
7
    (
8
        clk     : in  std_ulogic;
9
        --
10
        line1   : std_ulogic_vector( 127 downto 0)   := ( others => '0');
11
        line2   : std_ulogic_vector( 127 downto 0)   := ( others => '0');
12
        update  : std_ulogic                         := '0';
13
        --
14
        db      : out std_ulogic_vector(7 downto 0);
15
        rs      : out std_ulogic;
16
        rw      : out std_ulogic;
17
        en      : out std_ulogic
18
    );
19
end entity lcd_controller;

Duke

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.