OpenCores
URL https://opencores.org/ocsvn/core_arm/core_arm/trunk

Subversion Repositories core_arm

[/] [core_arm/] [trunk/] [vhdl/] [peripherals/] [io/] [peri_io_comp.vhd] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 tarookumic
library IEEE;
2
use IEEE.std_logic_1164.all;
3
use work.amba.all;
4
use work.peri_serial_comp.all;
5
 
6
package peri_io_comp is
7
 
8
-- todo: fix this (core part)
9
type io_in_type is record
10
  piol             : std_logic_vector(15 downto 0); -- I/O port inputs
11
  pci_arb_req_n    : std_logic_vector(0 to 3);
12
end record;
13
 
14
type pio_out_type is record
15
  irq              : std_logic_vector(3 downto 0);
16
  piol             : std_logic_vector(31 downto 0);
17
  piodir           : std_logic_vector(17 downto 0);
18
  io8lsb           : std_logic_vector(7 downto 0);
19
  rxd              : std_logic_vector(1 downto 0);
20
  ctsn             : std_logic_vector(1 downto 0);
21
  wrio             : std_logic;
22
end record;
23
 
24
component ioport
25
  port (
26
    rst    : in  std_logic;
27
    clk    : in  std_logic;
28
    apbi   : in  apb_slv_in_type;
29
    apbo   : out apb_slv_out_type;
30
    uart1o : in  uart_out_type;
31
    uart2o : in  uart_out_type;
32
    mctrlo_pioh : in  std_logic_vector(15 downto 0);
33
    ioi    : in  io_in_type;
34
    pioo   : out pio_out_type
35
  );
36
end component;
37
 
38
end peri_io_comp;

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.