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

📄 butterfly1_entity10.vhd

📁 这是一个计算维特比译码的程序
💻 VHD
字号:
-- ----------------------------------------------------------------- Module: Butterfly1_entity10-- Simulink Path: hdlcoderviterbi/viterbi_block/ACS Unit/ACS/Subsystem4/Butterfly1-- Created: 2009-03-24 16:23:33-- Hierarchy Level: 4------ -------------------------------------------------------------LIBRARY IEEE;USE IEEE.std_logic_1164.ALL;USE IEEE.numeric_std.ALL;ENTITY Butterfly1_entity10 IS  PORT( clk                               :   IN    std_logic;        reset                             :   IN    std_logic;        enb                               :   IN    std_logic;        BM0                               :   IN    std_logic_vector(3 DOWNTO 0);           BM1                               :   IN    std_logic_vector(3 DOWNTO 0);           SM0                               :   IN    std_logic_vector(3 DOWNTO 0);           SM1                               :   IN    std_logic_vector(3 DOWNTO 0);           DEC0                              :   OUT   std_logic;        DEC1                              :   OUT   std_logic;        NSM0                              :   OUT   std_logic_vector(3 DOWNTO 0);           NSM1                              :   OUT   std_logic_vector(3 DOWNTO 0)           );END Butterfly1_entity10;ARCHITECTURE rtl OF Butterfly1_entity10 IS  -- Component Declarations  COMPONENT ACS0_entity21    PORT( clk                             :   IN    std_logic;          reset                           :   IN    std_logic;          enb                             :   IN    std_logic;          BM0                             :   IN    std_logic_vector(3 DOWNTO 0);             SM0                             :   IN    std_logic_vector(3 DOWNTO 0);             BM1                             :   IN    std_logic_vector(3 DOWNTO 0);             SM1                             :   IN    std_logic_vector(3 DOWNTO 0);             SM                              :   OUT   std_logic_vector(3 DOWNTO 0);             DEC                             :   OUT   std_logic          );  END COMPONENT;  COMPONENT ACS1_entity21    PORT( clk                             :   IN    std_logic;          reset                           :   IN    std_logic;          enb                             :   IN    std_logic;          BM0                             :   IN    std_logic_vector(3 DOWNTO 0);             SM0                             :   IN    std_logic_vector(3 DOWNTO 0);             BM1                             :   IN    std_logic_vector(3 DOWNTO 0);             SM1                             :   IN    std_logic_vector(3 DOWNTO 0);             SM                              :   OUT   std_logic_vector(3 DOWNTO 0);             DEC                             :   OUT   std_logic          );  END COMPONENT;  -- Component Configuration Statements  FOR ALL : ACS0_entity21    USE ENTITY work.ACS0_entity21(rtl);  FOR ALL : ACS1_entity21    USE ENTITY work.ACS1_entity21(rtl);  -- Signals  SIGNAL ACS0_out1                        : std_logic_vector(3 DOWNTO 0);     SIGNAL ACS0_out2                        : std_logic;  SIGNAL ACS1_out1                        : std_logic_vector(3 DOWNTO 0);     SIGNAL ACS1_out2                        : std_logic;BEGIN  u_ACS0 : ACS0_entity21    PORT MAP      (clk => clk,       reset => reset,       enb => enb,       BM0 => BM0,          SM0 => SM0,          BM1 => BM1,          SM1 => SM1,          SM => ACS0_out1,          DEC => ACS0_out2       );  u_ACS1 : ACS1_entity21    PORT MAP      (clk => clk,       reset => reset,       enb => enb,       BM0 => BM1,          SM0 => SM0,          BM1 => BM0,          SM1 => SM1,          SM => ACS1_out1,          DEC => ACS1_out2       );  DEC0 <= ACS0_out2;  DEC1 <= ACS1_out2;  NSM0 <= ACS0_out1;  NSM1 <= ACS1_out1;END rtl;

⌨️ 快捷键说明

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