📄 t152.vhd
字号:
--
-- This file implements Latch inference on signals in a combinational process
-- using incomplete sensitivity list. The signal Z should be allocated a latch
-- if the synthesis tool allows you the use of incomplete sensitivity list.
-- Failing that you should either get a warning or an error message.
--
entity TEST is
port( A,B,SEL : in bit;
Z : out bit);
end TEST;
architecture T152 of TEST is
begin
process(A,B)
begin
if SEL='1' then
Z <= A;
else
Z <= B;
end if;
end process;
end T152;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -