parity.vhd
来自「altium designer09设计教程+原理图+PCB实例」· VHDL 代码 · 共 25 行
VHD
25 行
Library IEEE;
Use IEEE.std_logic_1164.all;
Use WORK.utility.all;
entity PARITYC is
port
(
L : in STD_LOGIC_VECTOR(3 downto 0);
U : in STD_LOGIC_VECTOR(3 downto 0);
P : out STD_LOGIC
);
end PARITYC;
architecture PARITY_Arch of PARITYC is
signal VTC : STD_LOGIC_VECTOR(7 downto 0);
begin
VTC(7 downto 4) <= U;
VTC(3 downto 0) <= L;
P <= fparity(VTC);
end PARITY_Arch;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?