1 |
224 |
arniml |
-------------------------------------------------------------------------------
|
2 |
|
|
--
|
3 |
|
|
-- T8x48 ROM
|
4 |
|
|
--
|
5 |
272 |
arniml |
-- $Id: t48_rom-struct-a.vhd,v 1.3 2006-11-26 12:53:28 arniml Exp $
|
6 |
224 |
arniml |
--
|
7 |
|
|
-- Copyright (c) 2006 Arnim Laeuger (arniml@opencores.org)
|
8 |
|
|
--
|
9 |
|
|
-- All rights reserved
|
10 |
|
|
--
|
11 |
|
|
-- Redistribution and use in source and synthezised forms, with or without
|
12 |
|
|
-- modification, are permitted provided that the following conditions are met:
|
13 |
|
|
--
|
14 |
|
|
-- Redistributions of source code must retain the above copyright notice,
|
15 |
|
|
-- this list of conditions and the following disclaimer.
|
16 |
|
|
--
|
17 |
|
|
-- Redistributions in synthesized form must reproduce the above copyright
|
18 |
|
|
-- notice, this list of conditions and the following disclaimer in the
|
19 |
|
|
-- documentation and/or other materials provided with the distribution.
|
20 |
|
|
--
|
21 |
|
|
-- Neither the name of the author nor the names of other contributors may
|
22 |
|
|
-- be used to endorse or promote products derived from this software without
|
23 |
|
|
-- specific prior written permission.
|
24 |
|
|
--
|
25 |
|
|
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
26 |
|
|
-- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
27 |
|
|
-- THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
28 |
|
|
-- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
|
29 |
|
|
-- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
30 |
|
|
-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
31 |
|
|
-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
32 |
|
|
-- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
33 |
|
|
-- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
34 |
|
|
-- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
35 |
|
|
-- POSSIBILITY OF SUCH DAMAGE.
|
36 |
|
|
--
|
37 |
|
|
-- Please report bugs to the author, but before you do so, please
|
38 |
|
|
-- make sure that this is not a derivative work and that
|
39 |
|
|
-- you have the latest version of this file.
|
40 |
|
|
--
|
41 |
|
|
-- The latest version of this file can be found at:
|
42 |
|
|
-- http://www.opencores.org/cvsweb.shtml/t48/
|
43 |
|
|
--
|
44 |
|
|
-------------------------------------------------------------------------------
|
45 |
|
|
|
46 |
|
|
architecture struct of t48_rom is
|
47 |
|
|
|
48 |
270 |
arniml |
component rom_t48
|
49 |
224 |
arniml |
port(
|
50 |
|
|
Clk : in std_logic;
|
51 |
|
|
A : in std_logic_vector(9 downto 0);
|
52 |
|
|
D : out std_logic_vector(7 downto 0)
|
53 |
|
|
);
|
54 |
|
|
end component;
|
55 |
|
|
|
56 |
|
|
begin
|
57 |
|
|
|
58 |
|
|
rom_b : rom_t48
|
59 |
|
|
port map (
|
60 |
272 |
arniml |
Clk => clk_i,
|
61 |
|
|
A => rom_addr_i,
|
62 |
|
|
D => rom_data_o
|
63 |
224 |
arniml |
);
|
64 |
|
|
|
65 |
|
|
end struct;
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
-------------------------------------------------------------------------------
|
69 |
|
|
-- File History:
|
70 |
|
|
--
|
71 |
|
|
-- $Log: not supported by cvs2svn $
|
72 |
272 |
arniml |
-- Revision 1.2 2006/11/26 11:58:28 arniml
|
73 |
|
|
-- fix component name
|
74 |
|
|
--
|
75 |
270 |
arniml |
-- Revision 1.1 2006/06/21 00:59:15 arniml
|
76 |
|
|
-- initial check-in
|
77 |
|
|
--
|
78 |
224 |
arniml |
-------------------------------------------------------------------------------
|