Integrating lcd driver with controller

This commit is contained in:
T-moe
2016-06-03 18:28:04 +02:00
parent 106fbb3dac
commit 8f14757888
4 changed files with 111 additions and 73 deletions

View File

@@ -215,7 +215,8 @@ begin
next_lcd_en <= '1';
next_lcd_rs <= '0';
if(new_character == '1') then -- send data
if(new_character = '1') then -- send data
next_lcd_rs <= '1';
next_counter <= (others => '0');
next_ret_state <= DONE;
next_ret_counter <= to_unsigned(PAUSE_COUNT,NBITS);
@@ -257,6 +258,6 @@ begin
lcd_db <= cur_lcd_db;
lcd_en <= cur_lcd_en;
lcd_rs <= cur_lcd_rs;
busy <= '0' when cur_state == DONE else '1';
busy <= '0' when cur_state = DONE else '1';
end Behavioral;