【发布时间】:2015-01-16 15:33:03
【问题描述】:
我有这个 VHDL 代码:
entity Element is port(
clk, D, E, F, G: in std_logic;
Qout: out std_logic);
end Element;
architecture beh of Element is
signal Qint: std_logic;
begin
process(...)
variable sel: std_logic_vector(1 downto 0);
begin
if D='1' then
Qint<= '0';
elsif E='1' then
Qint<= '1';
elsif rising_edge(clk) then
sel:=F&G;
case sel is
when "00"=> Qint<= not Qint;
when "01"=> Qint<= not Qint;
when "10"=> Qint<= '0';
when "11"=> Qint<= Qint;
when others=> null;
end case;
end if;
end process;
Qout<= Qint;
end beh;
我的问题是:如果我想要 MINIMAL 敏感度列表,我必须在敏感度列表中写入哪些信号?
【问题讨论】:
标签: vhdl