diff options
| author | root <root@new-fish.medaka.james.internal> | 2025-11-12 22:54:09 +0000 |
|---|---|---|
| committer | root <root@new-fish.medaka.james.internal> | 2025-11-12 22:54:09 +0000 |
| commit | d584763fed1232f395f5bd33adafba344243bb9f (patch) | |
| tree | e8c6d9e0fdb2ca34e273afa12f731de08ae0dfd4 /fpga/hp_lcd_driver/common.vhdl | |
| parent | 328509b343b38f6479b0006962c1513fb3bc157d (diff) | |
| download | hp_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.vhdl | 24 |
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 |
