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

Subversion Repositories bu_pacman

[/] [bu_pacman/] [tags/] [arelease/] [Copy of blk_mem_gen_v2_7.v] - Blame information for rev 6

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 soloist_hu
/*******************************************************************************
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-2007 Xilinx, Inc.                                     *
27
*     All rights reserved.                                                     *
28
*******************************************************************************/
29
// The synthesis directives "translate_off/translate_on" specified below are
30
// supported by Xilinx, Mentor Graphics and Synplicity synthesis
31
// tools. Ensure they are correct for your synthesis tool(s).
32
 
33
// You must compile the wrapper file blk_mem_gen_v2_7.v when simulating
34
// the core, blk_mem_gen_v2_7. When compiling the wrapper file, be sure to
35
// reference the XilinxCoreLib Verilog simulation library. For detailed
36
// instructions, please refer to the "CORE Generator Help".
37
 
38
`timescale 1ns/1ps
39
 
40
module blk_mem_gen_v2_7(
41
        clka,
42
        dina,
43
        addra,
44
        ena,
45
        wea,
46
        douta,
47
        clkb,
48
        dinb,
49
        addrb,
50
        enb,
51
        web,
52
        doutb);
53
 
54
 
55
input clka;
56
input [15 : 0] dina;
57
input [15 : 0] addra;
58
input ena;
59
input [0 : 0] wea;
60
output [15 : 0] douta;
61
input clkb;
62
input [15 : 0] dinb;
63
input [15 : 0] addrb;
64
input enb;
65
input [0 : 0] web;
66
output [15 : 0] doutb;
67
 
68
// synthesis translate_off
69
 
70
      BLK_MEM_GEN_V2_7 #(
71
                .C_ADDRA_WIDTH(16),
72
                .C_ADDRB_WIDTH(16),
73
                .C_ALGORITHM(1),
74
                .C_BYTE_SIZE(9),
75
                .C_COMMON_CLK(0),
76
                .C_DEFAULT_DATA("0"),
77
                .C_DISABLE_WARN_BHV_COLL(0),
78
                .C_DISABLE_WARN_BHV_RANGE(0),
79
                .C_FAMILY("spartan3"),
80
                .C_HAS_ENA(1),
81
                .C_HAS_ENB(1),
82
                .C_HAS_MEM_OUTPUT_REGS_A(0),
83
                .C_HAS_MEM_OUTPUT_REGS_B(0),
84
                .C_HAS_MUX_OUTPUT_REGS_A(0),
85
                .C_HAS_MUX_OUTPUT_REGS_B(0),
86
                .C_HAS_REGCEA(0),
87
                .C_HAS_REGCEB(0),
88
                .C_HAS_SSRA(0),
89
                .C_HAS_SSRB(0),
90
                .C_INIT_FILE_NAME("blk_mem_gen_v2_7.mif"),
91
                .C_LOAD_INIT_FILE(1),
92
                .C_MEM_TYPE(2),
93
                .C_MUX_PIPELINE_STAGES(0),
94
                .C_PRIM_TYPE(1),
95
                .C_READ_DEPTH_A(40000),
96
                .C_READ_DEPTH_B(40000),
97
                .C_READ_WIDTH_A(16),
98
                .C_READ_WIDTH_B(16),
99
                .C_SIM_COLLISION_CHECK("ALL"),
100
                .C_SINITA_VAL("0"),
101
                .C_SINITB_VAL("0"),
102
                .C_USE_BYTE_WEA(0),
103
                .C_USE_BYTE_WEB(0),
104
                .C_USE_DEFAULT_DATA(0),
105
                .C_USE_ECC(0),
106
                .C_USE_RAMB16BWER_RST_BHV(0),
107
                .C_WEA_WIDTH(1),
108
                .C_WEB_WIDTH(1),
109
                .C_WRITE_DEPTH_A(40000),
110
                .C_WRITE_DEPTH_B(40000),
111
                .C_WRITE_MODE_A("WRITE_FIRST"),
112
                .C_WRITE_MODE_B("WRITE_FIRST"),
113
                .C_WRITE_WIDTH_A(16),
114
                .C_WRITE_WIDTH_B(16),
115
                .C_XDEVICEFAMILY("spartan3"))
116
        inst (
117
                .CLKA(clka),
118
                .DINA(dina),
119
                .ADDRA(addra),
120
                .ENA(ena),
121
                .WEA(wea),
122
                .DOUTA(douta),
123
                .CLKB(clkb),
124
                .DINB(dinb),
125
                .ADDRB(addrb),
126
                .ENB(enb),
127
                .WEB(web),
128
                .DOUTB(doutb),
129
                .REGCEA(),
130
                .SSRA(),
131
                .REGCEB(),
132
                .SSRB(),
133
                .DBITERR(),
134
                .SBITERR());
135
 
136
 
137
// synthesis translate_on
138
 
139
endmodule
140
 

powered by: WebSVN 2.1.0

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