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

📄 index.vhd

📁 实现二进制长串的算术右移的操作。希望有点参考价值。可以直接运行
💻 VHD
字号:
library ieee;
library work;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
use work.p_index.all;

entity index is
  generic(width :integer :=10);
  port(data: in std_logic_vector(width-1 downto 0);
          q: out std_logic_vector(width-1 downto 0));
end index;
architecture rtl of index is

begin

   q<=Delta(data,p);
end rtl;

⌨️ 快捷键说明

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