summaryrefslogtreecommitdiffstats
path: root/fpga/hp_lcd_driver/common.vhdl
diff options
context:
space:
mode:
authorroot <root@new-fish.medaka.james.internal>2025-11-12 22:54:09 +0000
committerroot <root@new-fish.medaka.james.internal>2025-11-12 22:54:09 +0000
commitd584763fed1232f395f5bd33adafba344243bb9f (patch)
treee8c6d9e0fdb2ca34e273afa12f731de08ae0dfd4 /fpga/hp_lcd_driver/common.vhdl
parent328509b343b38f6479b0006962c1513fb3bc157d (diff)
downloadhp_instrument_lcds-d584763fed1232f395f5bd33adafba344243bb9f.tar.gz
hp_instrument_lcds-d584763fed1232f395f5bd33adafba344243bb9f.tar.bz2
hp_instrument_lcds-d584763fed1232f395f5bd33adafba344243bb9f.zip
working frame buffer
Diffstat (limited to 'fpga/hp_lcd_driver/common.vhdl')
-rw-r--r--fpga/hp_lcd_driver/common.vhdl24
1 files changed, 9 insertions, 15 deletions
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