⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wand_vhdl.vhd

📁 大家一定要看 哦 程序在与多看多练 我找了好久才找到呢
💻 VHD
字号:


library ieee ;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
package res_pack is
function res_func(data : in bit_vector)return bit;
end;
package body res_pack is
function res_func(data:in bit_vector) return bit is
begin
 for i in data'range loop
if data(i)='0' then
return'0';
end if;
end loop;
return'1';
end;
end;
use work.res_pack.all;
entity wand_vhdl is
port(x,y:in bit;z:out resolved_bit);
end wand_vhdl;
ARCHITECTURE wand OF wand_vhdl   IS
BEGIN
z<=x;
z<=y;
end wand;
	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -