arith_cnt_comp.vhd

来自「用VHDL语言实现的ARM处理器的标准内核的源代码程序」· VHDL 代码 · 共 37 行

VHD
37
字号
library ieee;use ieee.std_logic_1164.all;-- PREFIX: arith_xxxpackage arith_cnt_comp is-------------------------------------------------------------------------------constant arith_cnt8_SZ : integer := 8;constant arith_cnt8_BSZ : integer := 3;type arith_cnt8_in is record    data : std_logic_vector(arith_cnt8_SZ-1 downto 0);end record;type arith_cnt8_out is record    res : std_logic_vector(arith_cnt8_BSZ-1 downto 0);end record;component arith_cnt8port (    rst    : in  std_logic;    clk    : in  std_logic;    si : in  arith_cnt8_in;    so : out arith_cnt8_out);end component;-------------------------------------------------------------------------------  end arith_cnt_comp;

⌨️ 快捷键说明

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