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

Subversion Repositories or1200_hp

[/] [or1200_hp/] [trunk/] [rtl/] [rtl_virtex_cm4/] [verilog/] [dc_tag_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 dc_tag_blk.v when simulating
34
// the core, dc_tag_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 dc_tag_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
reg [ 8 : 0 ] addra_cml_3;
62
reg [ 8 : 0 ] addrb_cml_3;
63
 
64
 
65
 
66
input clka;
67
input ena;
68
input [0 : 0] wea;
69
input [8 : 0] addra;
70
input [19 : 0] dina;
71
input clkb;
72
input [8 : 0] addrb;
73
output [19 : 0] doutb;
74
 
75
dc_tag_blk_cm4 dc_tag_blki(
76
        .clka(clka),
77
        .ena(ena),
78
        .wea(wea),
79
        .addra({cmls, addra_cml_3}),
80
        .dina(dina),
81
        .clkb(clk),
82
        .addrb({cmls, addrb_cml_3}),
83
        .doutb(doutb));
84
 
85
always @ (posedge clk_i_cml_3) begin
86
addra_cml_3 <= addra;
87
addrb_cml_3 <= addrb;
88
end
89
 
90
endmodule
91
 
92
 

powered by: WebSVN 2.1.0

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