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

📄 mux2w4.vhd

📁 fast fourior transform
💻 VHD
字号:
-- output of CoreGen module generator
-- $Header: mux2VHT.vhd,v 1.2 1998/06/15 17:57:53 tonyw Exp $
-- ************************************************************************
--  Copyright 1996-1998 - Xilinx, Inc.
--  All rights reserved.
-- ************************************************************************
--
--  Description:
--    Two input mux
--                                        

LIBRARY ieee;
USE ieee.std_logic_1164.ALL;

LIBRARY xul;
USE xul.ul_utils.ALL;

ENTITY mux2w4 IS
  PORT( d0 : IN  std_logic_vector( 4 - 1 DOWNTO 0 );
        d1 : IN  std_logic_vector( 4 - 1 DOWNTO 0 );
        s0 : IN  std_logic;
        o : OUT std_logic_vector( 4 - 1 DOWNTO 0 ) );
END mux2w4;


ARCHITECTURE behv OF mux2w4 IS
CONSTANT w: integer := 4;
BEGIN
 process (d0, d1, s0)
 begin
  case rat(s0) is
    WHEN '0' => o <= d0;
    WHEN '1' => o <= d1;
    WHEN OTHERS => o <= setallX(w);
  end case;
 end process;
end behv;
 

⌨️ 快捷键说明

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