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