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

Subversion Repositories mips_enhanced

[/] [mips_enhanced/] [trunk/] [grlib-gpl-1.0.19-b3188/] [lib/] [opencores/] [can/] [cancomp.vhd] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dimamali
----------------------------------------------------------------------------
2
--  This file is a part of the GRLIB VHDL IP LIBRARY
3
--  Copyright (C) 2004 GAISLER RESEARCH
4
--
5
--  This program is free software; you can redistribute it and/or modify
6
--  it under the terms of the GNU General Public License as published by
7
--  the Free Software Foundation; either version 2 of the License, or
8
--  (at your option) any later version.
9
--
10
--  See the file COPYING for the full details of the license.
11
--
12
-----------------------------------------------------------------------------
13
-- package:     cancomp
14
-- File:        cancomp.vhd
15
-- Author:      Jiri Gaisler - Gaisler Research
16
-- Description: Opencores CAN core components
17
------------------------------------------------------------------------------
18
 
19
library ieee;
20
use ieee.std_logic_1164.all;
21
 
22
package cancomp is
23
 
24
  component can_top
25
    port(
26
        rst             : IN std_logic;
27
        addr            : IN std_logic_vector(7 DOWNTO 0);
28
        data_in         : IN std_logic_vector(7 DOWNTO 0);
29
        data_out        : OUT std_logic_vector(7 DOWNTO 0);
30
        cs              : IN std_logic;
31
        we              : IN std_logic;
32
        clk_i           : in    std_logic;
33
        rx_i            : in    std_logic;
34
        tx_o            : out   std_logic;
35
        bus_off_on      : out   std_logic;
36
        irq_on          : out   std_logic;
37
        clkout_o        : out   std_logic;
38
        q_dp_64x8       : in  std_logic_vector(7 downto 0);
39
        data_64x8       : out std_logic_vector(7 downto 0);
40
        wren_64x8       : out std_logic;
41
        rden_64x8       : out std_logic;
42
        wraddress_64x8  : out std_logic_vector(5 downto 0);
43
        rdaddress_64x8  : out std_logic_vector(5 downto 0);
44
        q_dp_64x4       : in std_logic_vector(3 downto 0);
45
        data_64x4       : out std_logic_vector(3 downto 0);
46
        wren_64x4x1     : out std_logic;
47
        wraddress_64x4x1: out std_logic_vector(5 downto 0);
48
        rdaddress_64x4x1: out std_logic_vector(5 downto 0);
49
        q_dp_64x1       : in std_logic;
50
        data_64x1       : out std_logic
51
 
52
    );
53
  end component;
54
 
55
  component can_top_sync
56
    port(
57
        rst             : IN std_logic;
58
        addr            : IN std_logic_vector(7 DOWNTO 0);
59
        data_in         : IN std_logic_vector(7 DOWNTO 0);
60
        data_out        : OUT std_logic_vector(7 DOWNTO 0);
61
        cs              : IN std_logic;
62
        we              : IN std_logic;
63
        clk_i           : in    std_logic;
64
        rx_i            : in    std_logic;
65
        tx_o            : out   std_logic;
66
        bus_off_on      : out   std_logic;
67
        irq_on          : out   std_logic;
68
        clkout_o        : out   std_logic;
69
        q_dp_64x8       : in  std_logic_vector(7 downto 0);
70
        data_64x8       : out std_logic_vector(7 downto 0);
71
        wren_64x8       : out std_logic;
72
        rden_64x8       : out std_logic;
73
        wraddress_64x8  : out std_logic_vector(5 downto 0);
74
        rdaddress_64x8  : out std_logic_vector(5 downto 0);
75
        q_dp_64x4       : in std_logic_vector(3 downto 0);
76
        data_64x4       : out std_logic_vector(3 downto 0);
77
        wren_64x4x1     : out std_logic;
78
        wraddress_64x4x1: out std_logic_vector(5 downto 0);
79
        rdaddress_64x4x1: out std_logic_vector(5 downto 0);
80
        q_dp_64x1       : in std_logic;
81
        data_64x1       : out std_logic
82
 
83
    );
84
  end component;
85
 
86
end;
87
 

powered by: WebSVN 2.1.0

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