peri_serial_comp.vhd

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

VHD
34
字号
library IEEE;use IEEE.std_logic_1164.all;use work.amba.all;package peri_serial_comp istype uart_in_type is record  rxd   	: std_logic;  ctsn   	: std_logic;  scaler	: std_logic_vector(7 downto 0);end record;type uart_out_type is record  rxen    	: std_logic;  txen    	: std_logic;  flow   	: std_logic;  irq   	: std_logic;  rtsn   	: std_logic;  txd   	: std_logic;end record;component uart  port (    rst    : in  std_logic;    clk    : in  std_logic;    apbi   : in  apb_slv_in_type;    apbo   : out apb_slv_out_type;    uarti  : in  uart_in_type;    uarto  : out uart_out_type  );end component; end peri_serial_comp;

⌨️ 快捷键说明

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