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/] [openchip/] [devices/] [devices_ocp.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
-- Entity:      devices
14
-- File:        devices.vhd
15
-- Author:      Antti Lukats, OpenChip
16
-- Description: Vendor and devices id's for amba plug&play
17
------------------------------------------------------------------------------
18
 
19
library ieee;
20
use ieee.std_logic_1164.all;
21
 
22
library grlib;
23
use grlib.amba.all;
24
 
25
-- pragma translate_off
26
use std.textio.all;
27
-- pragma translate_on
28
 
29
package devices_ocp is
30
 
31
-- Vendor code
32
 
33
  constant VENDOR_OPENCHIP      : amba_vendor_type := 16#06#;
34
 
35
-- OpenChip ID's
36
 
37
  constant OPENCHIP_APBGPIO     : amba_device_type := 16#001#;
38
  constant OPENCHIP_APBI2C      : amba_device_type := 16#002#;
39
  constant OPENCHIP_APBSPI      : amba_device_type := 16#003#;
40
  constant OPENCHIP_APBCHARLCD  : amba_device_type := 16#004#;
41
  constant OPENCHIP_APBPWM      : amba_device_type := 16#005#;
42
  constant OPENCHIP_APBPS2      : amba_device_type := 16#006#;
43
  constant OPENCHIP_APBMMCSD    : amba_device_type := 16#007#;
44
  constant OPENCHIP_APBNAND     : amba_device_type := 16#008#;
45
  constant OPENCHIP_APBLPC      : amba_device_type := 16#009#;
46
  constant OPENCHIP_APBCF       : amba_device_type := 16#00A#;
47
  constant OPENCHIP_APBSYSACE   : amba_device_type := 16#00B#;
48
  constant OPENCHIP_APB1WIRE    : amba_device_type := 16#00C#;
49
  constant OPENCHIP_APBJTAG     : amba_device_type := 16#00D#;
50
  constant OPENCHIP_APBSUI      : amba_device_type := 16#00E#;
51
 
52
 
53
 
54
-- pragma translate_off
55
 
56
  constant OPENCHIP_DESC : vendor_description := "OpenChip                ";
57
 
58
  constant openchip_device_table : device_table_type := (
59
    OPENCHIP_APBGPIO    => "APB General Purpose IO         ",
60
    OPENCHIP_APBI2C     => "APB I2C Interface              ",
61
    OPENCHIP_APBSPI     => "APB SPI Interface              ",
62
    OPENCHIP_APBCHARLCD => "APB Character LCD              ",
63
    OPENCHIP_APBPWM     => "APB PWM                        ",
64
    OPENCHIP_APBPS2     => "APB PS/2 Interface             ",
65
    OPENCHIP_APBMMCSD   => "APB MMC/SD Card Interface      ",
66
    OPENCHIP_APBNAND    => "APB NAND(SmartMedia) Interface ",
67
    OPENCHIP_APBLPC     => "APB LPC Interface              ",
68
    OPENCHIP_APBCF      => "APB CompactFlash (IDE)         ",
69
    OPENCHIP_APBSYSACE  => "APB SystemACE Interface        ",
70
    OPENCHIP_APB1WIRE   => "APB 1-Wire Interface           ",
71
    OPENCHIP_APBJTAG    => "APB JTAG TAP Master            ",
72
    OPENCHIP_APBSUI     => "APB Simple User Interface      ",
73
 
74
    others              => "Unknown Device                 ");
75
 
76
  constant openchip_lib : vendor_library_type := (
77
    vendorid            => VENDOR_OPENCHIP,
78
    vendordesc          => OPENCHIP_DESC,
79
    device_table        => openchip_device_table
80
  );
81
 
82
-- pragma translate_on
83
 
84
end;

powered by: WebSVN 2.1.0

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