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

Subversion Repositories System09

[/] [System09/] [trunk/] [rtl/] [Spartan3/] [keymap_rom2k_b16.vhd] - Blame information for rev 95

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

Line No. Rev Author Line
1 19 dilbert57
library IEEE;
2
use IEEE.STD_LOGIC_1164.ALL;
3
use IEEE.STD_LOGIC_ARITH.ALL;
4
library unisim;
5
        use unisim.vcomponents.all;
6
 
7
entity keymap_rom_b16 is
8
    Port (
9
       clk   : in  std_logic;
10
       rst   : in  std_logic;
11
       cs    : in  std_logic;
12
       rw    : in  std_logic;
13
       addr  : in  std_logic_vector (10 downto 0);
14
       rdata : out std_logic_vector (7 downto 0);
15
       wdata : in  std_logic_vector (7 downto 0)
16
    );
17
end keymap_rom_b16;
18
 
19
architecture rtl of keymap_rom_b16 is
20
 
21
 
22
signal we : std_logic;
23
signal dp : std_logic;
24
 
25
 
26
begin
27
 
28
  ROM : RAMB16_S9
29
    generic map (
30
    INIT_00 => x"00327761737a0000003171000000000000600900000000000000000000000000",
31
    INIT_01 => x"003837756a6d00000036796768626e0000357274667620000033346564786300",
32
    INIT_02 => x"00005c005d0d000000003d5b00270000002d703b6c2f2e000039306f696b2c00",
33
    INIT_03 => x"0000000000000000001b000000007f0000000000000000000008000000000000",
34
    INIT_04 => x"00121701131a0000001111000000000000000900000000000000000000000000",
35
    INIT_05 => x"001817150a0d00000016190708020e0000151214061600000013140504180300",
36
    INIT_06 => x"00001c001d0d000000001d1b00070000000d101b0c0f0e000019100f090b0c00",
37
    INIT_07 => x"0000000000000000001b000000001f0000000000000000000008000000000000",
38
    INIT_08 => x"00405741535a00000021510000000000007e0900000000000000000000000000",
39
    INIT_09 => x"002a26554a4d0000005e594748424e0000255254465620000023244544584300",
40
    INIT_0A => x"00007c007d0d000000002b7b00220000005f503a4c3f3e000028294f494b3c00",
41
    INIT_0B => x"0000000000000000001b000000007f0000000000000000000008000000000000",
42
    INIT_0C => x"00001701131a00000001110000000000001e0900000000000000000000000000",
43
    INIT_0D => x"000a06150a0d0000001e190708020e0000051214061600000003040504180300",
44
    INIT_0E => x"00001c001d0d000000001d1b00020000001f101a0c1f1e000008090f090b1c00",
45
    INIT_0F => x"0000000000000000001b000000001f0000000000000000000008000000000000",
46
    INIT_10 => x"0000000000000000000000000000000000000000000000000000000000000000",
47
    INIT_11 => x"0000000000000000000000000000000000000000000000000000000000000000",
48
    INIT_12 => x"0000000000000000000000000000000000000000000000000000000000000000",
49
    INIT_13 => x"0000000000000000000000000000000000000000000000000000000000000000",
50
    INIT_14 => x"0000000000000000000000000000000000000000000000000000000000000000",
51
    INIT_15 => x"0000000000000000000000000000000000000000000000000000000000000000",
52
    INIT_16 => x"0000000000000000000000000000000000000000000000000000000000000000",
53
    INIT_17 => x"0000000000000000000000000000000000000000000000000000000000000000",
54
    INIT_18 => x"0000000000000000000000000000000000000000000000000000000000000000",
55
    INIT_19 => x"0000000000000000000000000000000000000000000000000000000000000000",
56
    INIT_1A => x"0000000000000000000000000000000000000000000000000000000000000000",
57
    INIT_1B => x"0000000000000000000000000000000000000000000000000000000000000000",
58
    INIT_1C => x"0000000000000000000000000000000000000000000000000000000000000000",
59
    INIT_1D => x"0000000000000000000000000000000000000000000000000000000000000000",
60
    INIT_1E => x"0000000000000000000000000000000000000000000000000000000000000000",
61
    INIT_1F => x"0000000000000000000000000000000000000000000000000000000000000000",
62
    INIT_20 => x"0000000000000000000000000000000000000000000000000000000000000000",
63
    INIT_21 => x"0000000000000000000000000000000000000000000000000000000000000000",
64
    INIT_22 => x"0000000000000000000000000000000000000000000000000000000000000000",
65
    INIT_23 => x"0000000000000000000000000000000000000000000000000000000000000000",
66
    INIT_24 => x"0000000000000000000000000000000000000000000000000000000000000000",
67
    INIT_25 => x"0000000000000000000000000000000000000000000000000000000000000000",
68
    INIT_26 => x"0000000000000000000000000000000000000000000000000000000000000000",
69
    INIT_27 => x"0000000000000000000000000000000000000000000000000000000000000000",
70
    INIT_28 => x"0000000000000000000000000000000000000000000000000000000000000000",
71
    INIT_29 => x"0000000000000000000000000000000000000000000000000000000000000000",
72
    INIT_2A => x"0000000000000000000000000000000000000000000000000000000000000000",
73
    INIT_2B => x"0000000000000000000000000000000000000000000000000000000000000000",
74
    INIT_2C => x"0000000000000000000000000000000000000000000000000000000000000000",
75
    INIT_2D => x"0000000000000000000000000000000000000000000000000000000000000000",
76
    INIT_2E => x"0000000000000000000000000000000000000000000000000000000000000000",
77
    INIT_2F => x"0000000000000000000000000000000000000000000000000000000000000000",
78
    INIT_30 => x"0000000000000000000000000000000000000000000000000000000000000000",
79
    INIT_31 => x"0000000000000000000000000000000000000000000000000000000000000000",
80
    INIT_32 => x"0000000000000000000000000000000000000000000000000000000000000000",
81
    INIT_33 => x"0000000000000000000000000000000000000000000000000000000000000000",
82
    INIT_34 => x"0000000000000000000000000000000000000000000000000000000000000000",
83
    INIT_35 => x"0000000000000000000000000000000000000000000000000000000000000000",
84
    INIT_36 => x"0000000000000000000000000000000000000000000000000000000000000000",
85
    INIT_37 => x"0000000000000000000000000000000000000000000000000000000000000000",
86
    INIT_38 => x"0000000000000000000000000000000000000000000000000000000000000000",
87
    INIT_39 => x"0000000000000000000000000000000000000000000000000000000000000000",
88
    INIT_3A => x"0000000000000000000000000000000000000000000000000000000000000000",
89
    INIT_3B => x"0000000000000000000000000000000000000000000000000000000000000000",
90
    INIT_3C => x"0000000000000000000000000000000000000000000000000000000000000000",
91
    INIT_3D => x"0000000000000000000000000000000000000000000000000000000000000000",
92
    INIT_3E => x"0000000000000000000000000000000000000000000000000000000000000000",
93
    INIT_3F => x"0000000000000000000000000000000000000000000000000000000000000000"
94
    )
95
 
96
    port map (
97
          do     => rdata,
98
          dop(0) => dp,
99
          addr   => addr,
100
          clk    => clk,
101
          di     => wdata,
102
          dip(0) => dp,
103
          en     => cs,
104
          ssr    => rst,
105
          we     => we
106
        );
107
 
108
my_keymap_rom_b16 : process ( rw )
109
begin
110
         we    <= not rw;
111
end process;
112
 
113
end architecture rtl;
114
 

powered by: WebSVN 2.1.0

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