Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Melyikprogramrész eredményezi a következő RTL leképzést:
Melyik
programrész eredményezi a következő RTL leképzést:
a) entity mux_2 is
a)
Port ( S: in STD_LOGIC_vector(2 downto 0);
Port ( S
: in STD_LOGIC_vector(2 downto 0);
I0,I1, I2, I3, I4, I5, I6, I7 : in STD_LOGIC;
I0,
I1, I2, I3, I4, I5, I6, I7 : in STD_LOGIC;
q: out STD_LOGIC);
q
: out STD_LOGIC);
end mux_2;
architecture ar2_mux_2 of mux_2is
architecture ar2_mux_2 of mux_2
is
begin
with S select
q<= I0 WHEN "000",
I1WHEN "010",
I1
WHEN "010",
I2WHEN "100",
I2
WHEN "100",
I3when "101”,
I3
when "101”,
I4 when others;
end ar2_mux_2;
entity mux_2 is
Port ( S: in STD_LOGIC_vector(1 downto 0);
: in STD_LOGIC_vector(1 downto 0);
I0,I1, I2, I3 : in STD_LOGIC;
I1, I2, I3 : in STD_LOGIC;
architecture Behavioral of mux_2is
architecture Behavioral of mux_2
q<= I0 WHEN S="00" ELSE
I1WHEN S="01" ELSE
WHEN S="01" ELSE
I2WHEN S="10" ELSE
WHEN S="10" ELSE
I3;
end Behavioral;
q<= I0 WHEN "00",
I1WHEN "01",
WHEN "01",
I2WHEN "10",
WHEN "10",
I3when others;
when others;
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!