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

Subversion Repositories ddr2_sdram

[/] [ddr2_sdram/] [trunk/] [ipcore_dir/] [DDR2_Ram_Core/] [user_design/] [rtl/] [DDR2_Ram_Core_dqs_delay_0.vhd] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 john_fpga
--*****************************************************************************
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           : DDR2_Ram_Core_dqs_delay_0.vhd
46
-- /___/   /\    Date Last Modified : $Date: 2010/11/26 18:25:42 $
47
-- \   \  /  \   Date Created       : Mon May 2 2005
48
--  \___\/\___\
49
-- Device      : Spartan-3/3A/3A-DSP
50
-- Design Name : DDR2 SDRAM
51
-- Purpose     : This module generate the delay in the dqs signal.
52
--*****************************************************************************
53
 
54
library ieee;
55
library UNISIM;
56
use ieee.std_logic_1164.all;
57
use ieee.std_logic_unsigned.all;
58
use UNISIM.VCOMPONENTS.all;
59
 
60
entity DDR2_Ram_Core_dqs_delay is
61
  port (
62
    clk_in  : in  std_logic;
63
    sel_in  : in  std_logic_vector(4 downto 0);
64
    clk_out : out std_logic
65
    );
66
end DDR2_Ram_Core_dqs_delay;
67
 
68
architecture arc_dqs_delay of DDR2_Ram_Core_dqs_delay is
69
 
70
  signal delay1 : std_logic;
71
  signal delay2 : std_logic;
72
  signal delay3 : std_logic;
73
  signal delay4 : std_logic;
74
  signal delay5 : std_logic;
75
  signal high   : std_logic;
76
 
77
  attribute syn_preserve  : boolean;
78
 
79
  attribute syn_preserve of one   : label is true;
80
  attribute syn_preserve of two   : label is true;
81
  attribute syn_preserve of three : label is true;
82
  attribute syn_preserve of four  : label is true;
83
  attribute syn_preserve of five  : label is true;
84
  attribute syn_preserve of six   : label is true;
85
 
86
begin
87
 
88
  high <= '1';
89
 
90
  one : LUT4 generic map (INIT => x"f3c0")
91
    port map (
92
      I0  => high,
93
      I1 => sel_in(4),
94
      I2 => delay5,
95
      I3 => clk_in,
96
      O  => clk_out
97
      );
98
 
99
  two : LUT4 generic map (INIT => x"ee22")
100
    port map (
101
      I0 => clk_in,
102
      I1 => sel_in(2),
103
      I2 => high,
104
      I3 => delay3,
105
      O  => delay4
106
      );
107
 
108
  three : LUT4 generic map (INIT => x"e2e2")
109
    port map (
110
      I0 => clk_in,
111
      I1 => sel_in(0),
112
      I2 => delay1,
113
      I3 => high,
114
      O  => delay2
115
      );
116
 
117
  four : LUT4 generic map (INIT => x"ff00")
118
    port map (
119
      I0 => high,
120
      I1 => high,
121
      I2 => high,
122
      I3 => clk_in,
123
      O  => delay1
124
      );
125
 
126
  five : LUT4 generic map (INIT => x"f3c0")
127
    port map (
128
      I0 => high,
129
      I1 => sel_in(3),
130
      I2 => delay4,
131
      I3 => clk_in,
132
      O  => delay5
133
      );
134
 
135
  six : LUT4 generic map (INIT => x"e2e2")
136
    port map (
137
      I0 => clk_in,
138
      I1 => sel_in(1),
139
      I2 => delay2,
140
      I3 => high,
141
      O  => delay3
142
      );
143
 
144
end arc_dqs_delay;

powered by: WebSVN 2.1.0

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