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

📄 fourmux6.vhd

📁 DDS直接数字频率合成器
💻 VHD
字号:
--fourmux6
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;

entity fourmux6 is
  port(
       s:in integer range 0 to 5;
      a,b,c,d,e,f:in integer range 0 to 9;          
         fout:out integer range 0 to 9
); 
end;

architecture a of fourmux6 is
begin
 process(s)
begin
 if(s=0) then
fout<=a;
elsif(s=1) then
fout<=b;
elsif(s=2) then
fout<=c;
elsif(s=3) then
fout<=d;
elsif(s=4) then
fout<=e;
elsif(s=5) then
fout<=f;
end if;
end process;
end;

⌨️ 快捷键说明

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