| 1 |
14 |
mjlyons |
/*******************************************************************************
|
| 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:6.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 |
|
|
// AXI_SLAVE_S_AXI
|
| 47 |
|
|
// AXILite_SLAVE_S_AXI
|
| 48 |
|
|
|
| 49 |
|
|
// The following must be inserted into your Verilog file for this
|
| 50 |
|
|
// core to be instantiated. Change the instance name and port connections
|
| 51 |
|
|
// (in parentheses) to your own signal names.
|
| 52 |
|
|
|
| 53 |
|
|
//----------- Begin Cut here for INSTANTIATION Template ---// INST_TAG
|
| 54 |
|
|
spiloopmem your_instance_name (
|
| 55 |
|
|
.clka(clka), // input clka
|
| 56 |
|
|
.ena(ena), // input ena
|
| 57 |
|
|
.wea(wea), // input [0 : 0] wea
|
| 58 |
|
|
.addra(addra), // input [11 : 0] addra
|
| 59 |
|
|
.dina(dina), // input [7 : 0] dina
|
| 60 |
|
|
.clkb(clkb), // input clkb
|
| 61 |
|
|
.enb(enb), // input enb
|
| 62 |
|
|
.addrb(addrb), // input [11 : 0] addrb
|
| 63 |
|
|
.doutb(doutb) // output [7 : 0] doutb
|
| 64 |
|
|
);
|
| 65 |
|
|
// INST_TAG_END ------ End INSTANTIATION Template ---------
|
| 66 |
|
|
|
| 67 |
|
|
// You must compile the wrapper file spiloopmem.v when simulating
|
| 68 |
|
|
// the core, spiloopmem. When compiling the wrapper file, be sure to
|
| 69 |
|
|
// reference the XilinxCoreLib Verilog simulation library. For detailed
|
| 70 |
|
|
// instructions, please refer to the "CORE Generator Help".
|
| 71 |
|
|
|