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

📄 mux8_4.vhd

📁 FPGA-based_oscilloscope,VHDL写的实现 示波器的程序
💻 VHD
字号:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

entity mux8_4 is
    Port ( clock : in std_logic;
           read : in std_logic;
           y0,y1,y3 : out std_logic;
           sel : in std_logic
          -- den : in std_logic
			 );
end mux8_4;

architecture Behavioral of mux8_4 is

begin
	process(sel,clock,read)
	begin
if (sel='1')then
y0<=read;
y1<='0';
y3<='1';
else
y0<=clock;
y1<='1';
--y3<=not clock;
y3<=clock;
--y3<='0';
end if;
	end process;
end Behavioral;

⌨️ 快捷键说明

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