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

Subversion Repositories or1200_hp

[/] [or1200_hp/] [trunk/] [rtl/] [rtl_virtex_cm4/] [verilog/] [ic_ram_sub.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 tobil
/*******************************************************************************
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-2009 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 ic_ram_blk.v when simulating
34
// the core, ic_ram_blk. 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 ic_ram_sub_cm4(
41
                clk_i_cml_1,
42
                clk_i_cml_2,
43
                clk_i_cml_3,
44
                cmls,
45
 
46
        clka,
47
        ena,
48
        wea,
49
        addra,
50
        dina,
51
        clkb,
52
        addrb,
53
        doutb);
54
 
55
 
56
input clk_i_cml_1;
57
input clk_i_cml_2;
58
input clk_i_cml_3;
59
input [1:0] cmls;
60
 
61
 
62
 
63
 
64
 
65
input clka;
66
input ena;
67
input [0 : 0] wea;
68
input [10 : 0] addra;
69
input [31 : 0] dina;
70
input clkb;
71
input [10 : 0] addrb;
72
output [31 : 0] doutb;
73
 
74
wire ena_wire;
75
wire [0 : 0] wea_wire;
76
wire [10 : 0] addra_wire;
77
wire [31 : 0] dina_wire;
78
wire [10 : 0] addrb_wire;
79
 
80
assign ena_wire = ena;
81
assign wea_wire = wea;
82
assign addra_wire = addra;
83
assign dina_wire = dina;
84
assign addrb_wire = addrb;
85
 
86
ic_ram_blk_cm4 ic_ram_blki(
87
        .clka(clka),
88
        .ena(ena_wire),
89
        .wea(wea_wire),
90
        .addra({cmls, addra_wire}),
91
        .dina(dina_wire),
92
        .clkb(clkb),
93
        .addrb({cmls, addrb_wire}),
94
        .doutb(doutb));
95
 
96
endmodule
97
 
98
 

powered by: WebSVN 2.1.0

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