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

Subversion Repositories next186_soc_pc

[/] [next186_soc_pc/] [trunk/] [HW/] [ddr/] [user_design/] [rtl/] [ddr_infrastructure_iobs_0.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ndumitrach
//*****************************************************************************
2
// DISCLAIMER OF LIABILITY
3
//
4
// This file contains proprietary and confidential information of
5
// Xilinx, Inc. ("Xilinx"), that is distributed under a license
6
// from Xilinx, and may be used, copied and/or disclosed only
7
// pursuant to the terms of a valid license agreement with Xilinx.
8
//
9
// XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION
10
// ("MATERIALS") "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
11
// EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING WITHOUT
12
// LIMITATION, ANY WARRANTY WITH RESPECT TO NONINFRINGEMENT,
13
// MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx
14
// does not warrant that functions included in the Materials will
15
// meet the requirements of Licensee, or that the operation of the
16
// Materials will be uninterrupted or error-free, or that defects
17
// in the Materials will be corrected. Furthermore, Xilinx does
18
// not warrant or make any representations regarding use, or the
19
// results of the use, of the Materials in terms of correctness,
20
// accuracy, reliability or otherwise.
21
//
22
// Xilinx products are not designed or intended to be fail-safe,
23
// or for use in any application requiring fail-safe performance,
24
// such as life-support or safety devices or systems, Class III
25
// medical devices, nuclear facilities, applications related to
26
// the deployment of airbags, or any other applications that could
27
// lead to death, personal injury or severe property or
28
// environmental damage (individually and collectively, "critical
29
// applications"). Customer assumes the sole risk and liability
30
// of any use of Xilinx products in critical applications,
31
// subject only to applicable laws and regulations governing
32
// limitations on product liability.
33
//
34
// Copyright 2005, 2006, 2007 Xilinx, Inc.
35
// All rights reserved.
36
//
37
// This disclaimer and copyright notice must be retained as part
38
// of this file at all times.
39
//*****************************************************************************
40
//   ____  ____
41
//  /   /\/   /
42
// /___/  \  /   Vendor             : Xilinx
43
// \   \   \/    Version            : 3.6.1
44
//  \   \        Application        : MIG
45
//  /   /        Filename           : ddr_infrastructure_iobs_0.v
46
// /___/   /\    Date Last Modified : $Date: 2010/11/26 18:25:41 $
47
// \   \  /  \   Date Created       : Mon May 2 2005
48
//  \___\/\___\
49
// Device       : Spartan-3/3A/3A-DSP
50
// Design Name  : DDR2 SDRAM
51
// Purpose      : This module has the FDDRRSE instantiations to the clocks.
52
//*****************************************************************************
53
 
54
`include "../rtl/ddr_parameters_0.v"
55
`timescale 1ns/100ps
56
 
57
module ddr_infrastructure_iobs_0
58
  (
59
   input                     clk0,
60
   output [(`CLK_WIDTH-1):0] ddr2_ck,
61
   output [(`CLK_WIDTH-1):0] ddr2_ck_n
62
  );
63
 
64
   wire vcc;
65
   wire gnd;
66
 
67
 
68
   wire [`CLK_WIDTH-1 :0]  ddr2_clk_q;
69
 
70
 
71
   assign  gnd = 1'b0;
72
   assign  vcc = 1'b1;
73
 
74
//---- ***********************************************************
75
//----     Output DDR generation
76
//----     This includes instantiation of the output DDR flip flop
77
//----     for ddr clk's and dimm clk's
78
//---- ***********************************************************
79
 
80
 
81
 
82
 
83
 genvar clk_i;
84
 generate
85
   for(clk_i = 0; clk_i < `CLK_WIDTH; clk_i = clk_i+1)
86
   begin: gen_clk
87
    FDDRRSE clk_inst
88
     (
89
      .Q  (ddr2_clk_q[clk_i]),
90
      .C0 (clk0),
91
      .C1 (~clk0),
92
      .CE (vcc),
93
      .D0 (vcc),
94
      .D1 (gnd),
95
      .R  (gnd),
96
      .S  (gnd)
97
      );
98
    end
99
  endgenerate
100
 
101
 
102
 
103
//---- ******************************************
104
//---- Ouput BUffers for ddr clk's and dimm clk's
105
//---- ******************************************
106
 
107
 
108
 
109
 
110
   genvar obuf_i;
111
   generate
112
     for(obuf_i = 0; obuf_i < `CLK_WIDTH; obuf_i = obuf_i+1)
113
     begin: gen_obuf
114
       OBUFDS OBUFDS_inst
115
        (
116
       .I(ddr2_clk_q[obuf_i]),
117
       .O(ddr2_ck[obuf_i]),
118
       .OB(ddr2_ck_n[obuf_i])
119
       );
120
     end
121
   endgenerate
122
 
123
 
124
endmodule

powered by: WebSVN 2.1.0

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