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

📄 sum28_shell.vhd

📁 是Nios II處理器下客製化指令的一個32位元浮點數除法器
💻 VHD
字号:
-- hds header_start
--
-- VHDL Entity FPmix32.sum28_shell.symbol
--
-- Created:
--          by - kenboy.UNKNOWN (IBM-BVE1KE4DQ5P)
--          at - 15:34:40 2004/03/23
--
-- Generated by Mentor Graphics' HDL Designer(TM) 2001.5 (Build 170)
--
-- hds header_end
LIBRARY ieee;
USE ieee.std_logic_1164.all;
USE ieee.std_logic_arith.all;


ENTITY sum28_shell IS
   PORT( 
      from_1bx  : IN     std_logic_vector (23 DOWNTO 0);
      from_1bx2 : IN     std_logic_vector (47 DOWNTO 0);
      from_1bx3 : IN     std_logic_vector (71 DOWNTO 0);
      sout      : OUT    std_logic_vector (29 DOWNTO 0)
   );

-- Declarations

END sum28_shell ;

-- hds interface_end
--
-- VHDL Architecture FPmix32.sum28_shell.struct
--
-- Created:
--          by - kenboy.UNKNOWN (IBM-BVE1KE4DQ5P)
--          at - 15:34:40 2004/03/23
--
-- Generated by Mentor Graphics' HDL Designer(TM) 2001.5 (Build 170)
--
LIBRARY ieee;
USE ieee.std_logic_1164.all;
USE ieee.std_logic_arith.all;


--LIBRARY FPmix32;

ARCHITECTURE struct OF sum28_shell IS

   -- Architecture declarations

   -- Internal signal declarations
   SIGNAL in_1bx  : std_logic_vector(20 DOWNTO 0);
   SIGNAL in_1bx2 : std_logic_vector(16 DOWNTO 0);
   SIGNAL in_1bx3 : std_logic_vector(11 DOWNTO 0);


   -- Component Declarations
   COMPONENT sum28
   PORT (
      in_1bx  : IN     std_logic_vector (20 DOWNTO 0);
      in_1bx2 : IN     std_logic_vector (16 DOWNTO 0);
      in_1bx3 : IN     std_logic_vector (11 DOWNTO 0);
      sout    : OUT    std_logic_vector (29 DOWNTO 0)
   );
   END COMPONENT;
   COMPONENT truncate
   PORT (
      from_1bx  : IN     std_logic_vector (23 DOWNTO 0);
      from_1bx2 : IN     std_logic_vector (47 DOWNTO 0);
      from_1bx3 : IN     std_logic_vector (71 DOWNTO 0);
      in_1bx    : OUT    std_logic_vector (20 DOWNTO 0);
      in_1bx2   : OUT    std_logic_vector (16 DOWNTO 0);
      in_1bx3   : OUT    std_logic_vector (11 DOWNTO 0)
   );
   END COMPONENT;

   -- Optional embedded configurations
   -- pragma synthesis_off
 --  FOR ALL : sum28 USE ENTITY FPmix32.sum28;
   --FOR ALL : truncate USE ENTITY FPmix32.truncate;
   -- pragma synthesis_on


BEGIN
   -- Instance port mappings.
   I0 : sum28
      PORT MAP (
         in_1bx  => in_1bx,
         in_1bx2 => in_1bx2,
         in_1bx3 => in_1bx3,
         sout    => sout
      );
   I1 : truncate
      PORT MAP (
         from_1bx  => from_1bx,
         from_1bx2 => from_1bx2,
         from_1bx3 => from_1bx3,
         in_1bx    => in_1bx,
         in_1bx2   => in_1bx2,
         in_1bx3   => in_1bx3
      );

END struct;

⌨️ 快捷键说明

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