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

📄 mux2.vhd

📁 DLX CPU VHDL CODE UNIVERSITY
💻 VHD
字号:
---- $RCSfile: mux2.vhd,v $-- $Revision: 1.1 $-- $Author: petera $-- $Date: 90/06/21 10:12:27 $--use work.dp32_types.all;entity mux2 is  generic (width : positive;      	    Tpd : Time := unit_delay);  port (i0, i1 : in bit_vector(width-1 downto 0);      	y : out bit_vector(width-1 downto 0);	sel : in bit);end mux2;architecture behaviour of mux2 isbegin  with sel select    y <=  i0 after Tpd when '0',      	  i1 after Tpd when '1';end behaviour;entity bitmux2 is  port (i0, i1 : in bit;      	y : out bit;	sel : in bit);end bitmux2;architecture behaviour of bitmux2 isbegin  with sel select    y <=  i0  when '0',      	  i1  when '1';end behaviour;

⌨️ 快捷键说明

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