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/] [gaisler/] [misc/] [wild.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) 2003, 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
--  This program is distributed in the hope that it will be useful,
11
--  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
--  GNU General Public License for more details.
14
--
15
--  You should have received a copy of the GNU General Public License
16
--  along with this program; if not, write to the Free Software
17
--  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
18
--============================================================================--
19
-- Design unit  : WildCard Package (package declaration)
20
--
21
-- File name    : wild.vhd
22
--
23
-- Purpose      : WildCard Package
24
--
25
-- Library      : gaisler
26
--
27
-- Authors      : Mr Sandi Alexander Habinc
28
--                Gaisler Research
29
--
30
-- Contact      : mailto:support@gaisler.com
31
--                http://www.gaisler.com
32
--
33
-- Disclaimer   : All information is provided "as is", there is no warranty that
34
--                the information is correct or suitable for any purpose,
35
--                neither implicit nor explicit.
36
--------------------------------------------------------------------------------
37
-- Version  Author   Date           Changes
38
--
39
-- 0.1      SH        1 Jan 2008    New version
40
--------------------------------------------------------------------------------
41
library  IEEE;
42
use      IEEE.Std_Logic_1164.all;
43
 
44
library  IEEE;
45
use      IEEE.Std_Logic_1164.all;
46
 
47
library  grlib;
48
use      grlib.amba.all;
49
 
50
package Wild is
51
   -----------------------------------------------------------------------------
52
   --  Name Key:
53
   --  =========
54
   --  _AS       : Address Strobe
55
   --  _DS       : Data Strobe
56
   --  _WR       : Write Select
57
   --  _CS       : Chip Select
58
   --  _OE       : Output Enable
59
   --  _n        : Active low signals (must be last part of name)
60
   --
61
   --  Name                  Width  Dir*   Description
62
   --  ====================  =====  ====   =====================================
63
   --  Addr_Data              32     I     Shared address/data bus input
64
   --  AS_n                    1     I     Address strobe
65
   --  DS_n                    1     I     Data strobe
66
   --  WR_n                    1     I     Write select
67
   --  CS_n                    1     I     PE chip select
68
   --  Reg_n                   1     I     Register mode select
69
   --  Ack_n                   1     O     Acknowledge strobe
70
   --  Addr_Data              32     O     Shared address/data bus output
71
   --  Addr_Data_OE_n          1     O     Address/data bus output enable
72
   --  Int_Req_n               1     O     Interrupt request
73
   --  DMA_0_Data_OK_n         1     O     DMA channel 0 data OK flag
74
   --  DMA_0_Burst_OK_n        1     O     DMA channel 0 burst OK flag
75
   --  DMA_1_Data_OK_n         1     O     DMA channel 1 data OK flag
76
   --  DMA_1_Burst_OK_n        1     O     DMA channel 1 burst OK flag
77
   --  Reg_Data_OK_n           1     O     Register space data OK flag
78
   --  Reg_Burst_OK_n          1     O     Register space burst OK flag
79
   --  Force_K_Clk_n           1     O     Forces K_Clk to run when active
80
   -----------------------------------------------------------------------------
81
   type LAD_In_Type is record
82
      Addr_Data:        Std_Logic_Vector(31 downto 0);   -- Shared address/data bus
83
      AS_n:             Std_Logic;                       -- Address strobe
84
      DS_n:             Std_Logic;                       -- Data strobe
85
      WR_n:             Std_Logic;                       -- Write select
86
      CS_n:             Std_Logic;                       -- Chip select
87
      Reg_n:            Std_Logic;                       -- Register select
88
   end record;
89
 
90
   type LAD_Out_Type is record
91
      Addr_Data:        Std_Logic_Vector(31 downto 0);   -- Shared address/data bus output
92
      Addr_Data_OE_n:   Std_Logic_Vector(31 downto 0);   -- Address/data bus output enable
93
      Ack_n:            Std_Logic;                       -- Acknowledge strobe
94
      Int_Req_n:        Std_Logic;                       -- Interrupt request
95
      DMA_0_Data_OK_n:  Std_Logic;                       -- DMA chan 0 data OK flag
96
      DMA_0_Burst_OK:   Std_Logic;                       -- DMA chan 0 burst OK flag
97
      DMA_1_Data_OK_n:  Std_Logic;                       -- DMA chan 1 data OK flag
98
      DMA_1_Burst_OK:   Std_Logic;                       -- DMA chan 1 burst OK flag
99
      Reg_Data_OK_n:    Std_Logic;                       -- Reg space data OK flag
100
      Reg_Burst_OK:     Std_Logic;                       -- Reg space burst OK flag
101
      Force_K_Clk_n:    Std_Logic;                       -- K_Clk forced-run select
102
      Reserved:         Std_Logic;                       -- Reserved for future use
103
   end record;
104
 
105
   component Wild2AHB is
106
   generic (
107
      hindex:     in    Integer := 0;
108
      burst:      in    Integer := 0;
109
      syncrst:    in    Integer := 0);
110
   port (
111
      rstkn:      in    Std_ULogic;
112
      clkk:       in    Std_ULogic;
113
 
114
      rstfn:      in    Std_ULogic;
115
      clkf:       in    Std_ULogic;
116
 
117
      ahbmi:      in    AHB_Mst_In_Type;
118
      ahbmo:      out   AHB_Mst_Out_Type;
119
 
120
      ladi:       in    LAD_In_Type;
121
      lado:       out   LAD_Out_Type);
122
   end component;
123
 
124
end package Wild; --==========================================================--

powered by: WebSVN 2.1.0

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