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

📄 truncate.vhd

📁 是Nios II處理器下客製化指令的一個32位元浮點數除法器
💻 VHD
字号:
-- hds header_start
--
-- VHDL Architecture FPmix32.truncate.untitled
--
-- Created:
--          by - kenboy.UNKNOWN (IBM-BVE1KE4DQ5P)
--          at - 15:26:38 2004/02/07
--
-- 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 truncate 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);
      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)
   );

-- Declarations

END truncate ;

-- hds interface_end
ARCHITECTURE untitled OF truncate IS
BEGIN
in_1bx<=from_1bx(23 downto 3);
in_1bx2<=from_1bx2(47 downto 31);
in_1bx3<=from_1bx3(71 downto 60);
END untitled;

⌨️ 快捷键说明

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