11 10 A B Z S(1) S(0) 01 00 C D Mux 4 vie (if-then-elsif-else) entity Mux_4_vie_if_then_else_elseif is Port ( S : in bit_vector (1 downto 0); A : in bit; B : in bit; C : in bit; D : in bit; Z : out bit); end Mux_4_vie_if_then_else_elseif; architecture Behavioral of Mux_4_vie_if_then_else_elseif is begin processo: process(A,B,C,D,S) begin if S= 11 then Z<=A; elsif S= 10 then Z<=B; elsif S= 01 then Z<=C; else Z<=D ; end if; end process processo; end Behavioral; 69
{"Image DocumentName": "Mux 4 vie (if-then-elsif-else)", "Image ImageDescription": "A. B. Z. S(1) S(0) C. D. entity Mux_4_vie_if_then_else_elseif is. Port ( S : in bit_vector (1 downto 0); A : in bit; B : in bit; C : in bit; D : in bit; Z : out bit); end Mux_4_vie_if_then_else_elseif; architecture Behavioral of Mux_4_vie_if_then_else_elseif is. begin. processo: process(A,B,C,D,S) if S= 11 then Z<=A; elsif S= 10 then Z<=B; elsif S= 01 then Z<=C; else Z<=D ; end if; end process processo; end Behavioral;", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}