From d584763fed1232f395f5bd33adafba344243bb9f Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Nov 2025 22:54:09 +0000 Subject: working frame buffer --- fpga/hp_lcd_driver/common.vhdl | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'fpga/hp_lcd_driver/common.vhdl') diff --git a/fpga/hp_lcd_driver/common.vhdl b/fpga/hp_lcd_driver/common.vhdl index 08895d8..39d1f28 100644 --- a/fpga/hp_lcd_driver/common.vhdl +++ b/fpga/hp_lcd_driver/common.vhdl @@ -264,21 +264,15 @@ begin --- r <= r_s when video_in_data(1) = '0' else --- x"00" when video_in_data(0)='0' else --- x"ff"; --- g <= g_s when video_in_data(1) = '0' else --- x"00" when video_in_data(0)='0' else --- x"ff"; --- b <= b_s when video_in_data(1) = '0' else --- x"00" when video_in_data(0)='0' else --- x"ff"; - -r<=r_s; -g<=g_s; -b<=b_s; - - + r <= r_s when video_in_data(1) = '0' else + x"00" when video_in_data(0)='0' else + x"ff"; + g <= g_s when video_in_data(1) = '0' else + x"00" when video_in_data(0)='0' else + x"ff"; + b <= b_s when video_in_data(1) = '0' else + x"00" when video_in_data(0)='0' else + x"ff"; output0 : entity work.output_stage -- cgit v1.2.3