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

📄 mux.vhd

📁 vhdl实现时钟和闹钟功能
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
entity mux is
port(d0,d1,sel:in bit;
q:out bit);
end mux;
architecture con of mux is
begin
process(d0,d1,sel)
variable t1,t2,t3:bit;
begin
t1:= d0 and (not sel);
t2:=d1 and sel;
t3:=t1 or t2;
q<=t3;
end process;
end con;

⌨️ 快捷键说明

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