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

Subversion Repositories next186_soc_pc

[/] [next186_soc_pc/] [trunk/] [HW/] [ipcore_dir/] [cache.vho] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ndumitrach
--------------------------------------------------------------------------------
2
--     This file is owned and controlled by Xilinx and must be used           --
3
--     solely for design, simulation, implementation and creation of          --
4
--     design files limited to Xilinx devices or technologies. Use            --
5
--     with non-Xilinx devices or technologies is expressly prohibited        --
6
--     and immediately terminates your license.                               --
7
--                                                                            --
8
--     XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS"          --
9
--     SOLELY FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR                --
10
--     XILINX DEVICES.  BY PROVIDING THIS DESIGN, CODE, OR INFORMATION        --
11
--     AS ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE, APPLICATION            --
12
--     OR STANDARD, XILINX IS MAKING NO REPRESENTATION THAT THIS              --
13
--     IMPLEMENTATION IS FREE FROM ANY CLAIMS OF INFRINGEMENT,                --
14
--     AND YOU ARE RESPONSIBLE FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE       --
15
--     FOR YOUR IMPLEMENTATION.  XILINX EXPRESSLY DISCLAIMS ANY               --
16
--     WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE                --
17
--     IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR         --
18
--     REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF        --
19
--     INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS        --
20
--     FOR A PARTICULAR PURPOSE.                                              --
21
--                                                                            --
22
--     Xilinx products are not intended for use in life support               --
23
--     appliances, devices, or systems. Use in such applications are          --
24
--     expressly prohibited.                                                  --
25
--                                                                            --
26
--     (c) Copyright 1995-2012 Xilinx, Inc.                                   --
27
--     All rights reserved.                                                   --
28
--------------------------------------------------------------------------------
29
 
30
-- The Xilinx LogiCORE IP Block Memory Generator replaces the Dual Port Block Memory and Single Port Block Memory LogiCOREs, but is not a direct drop-in replacement.  It should be used in all new Xilinx designs. The core supports RAM and ROM functions over a wide range of widths and depths. Use this core to generate block memories with symmetric or asymmetric read and write port widths, as well as cores which can perform simultaneous write operations to separate locations, and simultaneous read operations from the same location. For more information on differences in interface and feature support between this core and the Dual Port Block Memory and Single Port Block Memory LogiCOREs, please consult the data sheet.
31
 
32
-- Interfaces:
33
--    AXI4_SLAVE_S_AXI
34
--    AXILite_SLAVE_S_AXI
35
 
36
-- The following code must appear in the VHDL architecture header:
37
 
38
------------- Begin Cut here for COMPONENT Declaration ------ COMP_TAG
39
COMPONENT cache
40
  PORT (
41
    clka : IN STD_LOGIC;
42
    wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0);
43
    addra : IN STD_LOGIC_VECTOR(8 DOWNTO 0);
44
    dina : IN STD_LOGIC_VECTOR(31 DOWNTO 0);
45
    douta : OUT STD_LOGIC_VECTOR(31 DOWNTO 0);
46
    clkb : IN STD_LOGIC;
47
    web : IN STD_LOGIC_VECTOR(0 DOWNTO 0);
48
    addrb : IN STD_LOGIC_VECTOR(10 DOWNTO 0);
49
    dinb : IN STD_LOGIC_VECTOR(7 DOWNTO 0);
50
    doutb : OUT STD_LOGIC_VECTOR(7 DOWNTO 0)
51
  );
52
END COMPONENT;
53
-- COMP_TAG_END ------ End COMPONENT Declaration ------------
54
 
55
-- The following code must appear in the VHDL architecture
56
-- body. Substitute your own instance name and net names.
57
 
58
------------- Begin Cut here for INSTANTIATION Template ----- INST_TAG
59
your_instance_name : cache
60
  PORT MAP (
61
    clka => clka,
62
    wea => wea,
63
    addra => addra,
64
    dina => dina,
65
    douta => douta,
66
    clkb => clkb,
67
    web => web,
68
    addrb => addrb,
69
    dinb => dinb,
70
    doutb => doutb
71
  );
72
-- INST_TAG_END ------ End INSTANTIATION Template ------------
73
 
74
-- You must compile the wrapper file cache.vhd when simulating
75
-- the core, cache. When compiling the wrapper file, be sure to
76
-- reference the XilinxCoreLib VHDL simulation library. For detailed
77
-- instructions, please refer to the "CORE Generator Help".
78
 

powered by: WebSVN 2.1.0

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