t51.vhd
来自「Workshop vhdl code from Esperan」· VHDL 代码 · 共 22 行
VHD
22 行
--
-- This file tests support for the synthesis of While condition when evaluated as a constant.
--
entity TEST is
port (A : in bit_vector (7 downto 0);
B : in bit;
Z : out bit_vector (7 downto 0));
end TEST;
architecture T51 of TEST is
begin
process(B, A)
variable I : integer;
begin
I:= 0;
while (I < 8) loop
Z(I) <= B and A(i);
I := I + 1;
end loop;
end process;
end T51;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?