0
有人可以帮助我如何将此vhdl代码更改为使用'when'语句?如何更改为何时声明
下面是代码我写:
library IEEE;
use IEEE.std_logic_1164.all;
entity sel2_1 is
port(A, B, SEL : in std_logic;
outsgnl : out std_logic);
end sel2_1;
architecture EX1 of sel2_1 is
begin
outsgnl <= (not SEL and A) or (SEL and B);
end EX1;
的模拟结果如下: simulation
我已经编辑了上面的问题,并把模拟结果。我试图改变vhdl代码使用时声明和我期望相同的确切结果。 – HAKIM