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

Subversion Repositories yacc

[/] [yacc/] [trunk/] [rtl/] [xilinx/] [ram32x32.v] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 tak.sugawa
/*******************************************************************************
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-2004 Xilinx, Inc.                                     *
27
*     All rights reserved.                                                     *
28
*******************************************************************************/
29
// The synopsys directives "translate_off/translate_on" specified below are
30
// supported by XST, FPGA Compiler II, Mentor Graphics and Synplicity synthesis
31
// tools. Ensure they are correct for your synthesis tool(s).
32
 
33
// You must compile the wrapper file ram32x32.v when simulating
34
// the core, ram32x32. 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 Guide".
37
 
38
module ram32x32 (
39
        addra,
40
        addrb,
41
        clka,
42
        clkb,
43
        dina,
44
        dinb,
45
        douta,
46
        doutb,
47
        wea,
48
        web);    // synthesis black_box
49
 
50
input [4 : 0] addra;
51
input [4 : 0] addrb;
52
input clka;
53
input clkb;
54
input [31 : 0] dina;
55
input [31 : 0] dinb;
56
output [31 : 0] douta;
57
output [31 : 0] doutb;
58
input wea;
59
input web;
60
 
61
// synopsys translate_off
62
 
63
        BLKMEMDP_V6_1 #(
64
                5,      // c_addra_width
65
                5,      // c_addrb_width
66
                "0",     // c_default_data
67
                32,     // c_depth_a
68
                32,     // c_depth_b
69
                0,       // c_enable_rlocs
70
                1,      // c_has_default_data
71
                1,      // c_has_dina
72
                1,      // c_has_dinb
73
                1,      // c_has_douta
74
                1,      // c_has_doutb
75
                0,       // c_has_ena
76
                0,       // c_has_enb
77
                0,       // c_has_limit_data_pitch
78
                0,       // c_has_nda
79
                0,       // c_has_ndb
80
                0,       // c_has_rdya
81
                0,       // c_has_rdyb
82
                0,       // c_has_rfda
83
                0,       // c_has_rfdb
84
                0,       // c_has_sinita
85
                0,       // c_has_sinitb
86
                1,      // c_has_wea
87
                1,      // c_has_web
88
                18,     // c_limit_data_pitch
89
                "mif_file_16_1",        // c_mem_init_file
90
                0,       // c_pipe_stages_a
91
                0,       // c_pipe_stages_b
92
                0,       // c_reg_inputsa
93
                0,       // c_reg_inputsb
94
                "0",     // c_sinita_value
95
                "0",     // c_sinitb_value
96
                32,     // c_width_a
97
                32,     // c_width_b
98
                0,       // c_write_modea
99
                0,       // c_write_modeb
100
                "0",     // c_ybottom_addr
101
                1,      // c_yclka_is_rising
102
                1,      // c_yclkb_is_rising
103
                1,      // c_yena_is_high
104
                1,      // c_yenb_is_high
105
                "hierarchy1",   // c_yhierarchy
106
                0,       // c_ymake_bmm
107
                "16kx1",        // c_yprimitive_type
108
                1,      // c_ysinita_is_high
109
                1,      // c_ysinitb_is_high
110
                "1024", // c_ytop_addr
111
                0,       // c_yuse_single_primitive
112
                1,      // c_ywea_is_high
113
                1,      // c_yweb_is_high
114
                1)      // c_yydisable_warnings
115
        inst (
116
                .ADDRA(addra),
117
                .ADDRB(addrb),
118
                .CLKA(clka),
119
                .CLKB(clkb),
120
                .DINA(dina),
121
                .DINB(dinb),
122
                .DOUTA(douta),
123
                .DOUTB(doutb),
124
                .WEA(wea),
125
                .WEB(web),
126
                .ENA(),
127
                .ENB(),
128
                .NDA(),
129
                .NDB(),
130
                .RFDA(),
131
                .RFDB(),
132
                .RDYA(),
133
                .RDYB(),
134
                .SINITA(),
135
                .SINITB());
136
 
137
 
138
// synopsys translate_on
139
 
140
// FPGA Express black box declaration
141
// synopsys attribute fpga_dont_touch "true"
142
// synthesis attribute fpga_dont_touch of ram32x32 is "true"
143
 
144
// XST black box declaration
145
// box_type "black_box"
146
// synthesis attribute box_type of ram32x32 is "black_box"
147
 
148
endmodule
149
 

powered by: WebSVN 2.1.0

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