48 Figure 6.47 A BCD-to-7-segment decoder LIBRARY ieee ; USE ieee.std_logic_1164.all ; ENTITY seg7 IS PORT (bcd : IN STD_LOGIC_VECTOR(3 DOWNTO 0) ; le
{"Image DocumentName": "Figure 6.47 A BCD-to-7-segment decoder", "Image ImageDescription": "LIBRARY ieee ; USE ieee.std_logic_1164.all ; ENTITY seg7 IS. PORT ( bcd : IN STD_LOGIC_VECTOR(3 DOWNTO 0) ; leds : OUT STD_LOGIC_VECTOR(1 TO 7) ) ; END seg7 ; ARCHITECTURE Behavior OF seg7 IS. BEGIN. PROCESS ( bcd ) CASE bcd IS -- abcdefg. WHEN 0000 => leds <= ; WHEN 0001 => leds <= ; WHEN 0010 => leds <= ; WHEN 0011 => leds <= ; WHEN 0100 => leds <= ; WHEN 0101 => leds <= ; WHEN 0110 => leds <= ; WHEN 0111 => leds <= ; WHEN 1000 => leds <= ; WHEN 1001 => leds <= ; WHEN OTHERS => leds <= ; END CASE ; END PROCESS ; END Behavior ; Figure 6.47 A BCD-to-7-segment decoder.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}