1 |
32 |
redbear |
# (C) 2001-2017 Intel Corporation. All rights reserved.
|
2 |
|
|
# Your use of Intel Corporation's design tools, logic functions and other
|
3 |
|
|
# software and tools, and its AMPP partner logic functions, and any output
|
4 |
40 |
redbear |
# files from any of the foregoing (including device programming or simulation
|
5 |
32 |
redbear |
# files), and any associated documentation or information are expressly subject
|
6 |
|
|
# to the terms and conditions of the Intel Program License Subscription
|
7 |
40 |
redbear |
# Agreement, Intel FPGA IP License Agreement, or other applicable
|
8 |
32 |
redbear |
# license agreement, including, without limitation, that your use is for the
|
9 |
|
|
# sole purpose of programming logic devices manufactured by Intel and sold by
|
10 |
|
|
# Intel or its authorized distributors. Please refer to the applicable
|
11 |
|
|
# agreement for further details.
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
#####################################################################
|
15 |
|
|
#
|
16 |
|
|
# THIS IS AN AUTO-GENERATED FILE!
|
17 |
|
|
# -------------------------------
|
18 |
|
|
# If you modify this files, all your changes will be lost if you
|
19 |
|
|
# regenerate the core!
|
20 |
|
|
#
|
21 |
|
|
# FILE DESCRIPTION
|
22 |
|
|
# ----------------
|
23 |
|
|
# This file specifies the timing properties of the memory device and
|
24 |
|
|
# of the memory interface
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
package require ::quartus::ddr_timing_model
|
28 |
|
|
|
29 |
|
|
###################
|
30 |
|
|
# #
|
31 |
|
|
# TIMING SETTINGS #
|
32 |
|
|
# #
|
33 |
|
|
###################
|
34 |
|
|
|
35 |
|
|
# Interface Clock Period
|
36 |
|
|
set t(CK) 3.333
|
37 |
|
|
|
38 |
|
|
# Reference Clock Period
|
39 |
|
|
set t(refCK) 8.0
|
40 |
|
|
|
41 |
|
|
# Minimum Clock Period
|
42 |
|
|
set t(min_CK) 2.5
|
43 |
|
|
|
44 |
|
|
##########################
|
45 |
|
|
# Memory timing parameters
|
46 |
|
|
##########################
|
47 |
|
|
|
48 |
|
|
# A/C Setup/Hold
|
49 |
|
|
set t(IS) 0.35
|
50 |
|
|
set t(IH) 0.35
|
51 |
|
|
|
52 |
|
|
# Data Setup/Hold
|
53 |
|
|
set t(DS) 0.225
|
54 |
|
|
set t(DH) 0.225
|
55 |
|
|
|
56 |
|
|
# DQS clock edge to DQ data edge (in same group)
|
57 |
|
|
set t(DQSQ) [expr { 120 / 1000.0 }]
|
58 |
|
|
set t(QH) 0.38
|
59 |
|
|
set t(QH) [expr (0.5*$t(CK)-(0.5-$t(QH))*$t(min_CK))/$t(CK)]
|
60 |
|
|
|
61 |
|
|
# Convert QH into time unit so that it's consistent with DQSQ
|
62 |
|
|
set t(QH_time) [ expr $t(QH) * $t(CK) ]
|
63 |
|
|
|
64 |
|
|
# DQS to CK input timing
|
65 |
|
|
set t(DSS) 0.2
|
66 |
|
|
set t(DSH) 0.2
|
67 |
|
|
set t(DQSS) 0.25
|
68 |
|
|
set t(DSS) [expr $t(DSS)*$t(min_CK)/$t(CK)]
|
69 |
|
|
set t(DSH) [expr $t(DSH)*$t(min_CK)/$t(CK)]
|
70 |
|
|
set t(DQSS) [expr 0.5 - $t(DQSS)*$t(min_CK)/$t(CK)]
|
71 |
|
|
|
72 |
|
|
# DQS Width
|
73 |
|
|
set t(QSH) 0.38
|
74 |
|
|
|
75 |
|
|
# Write Levelling parameters
|
76 |
|
|
set t(WLS) [ expr 0.13 * $t(min_CK) ]
|
77 |
|
|
set t(WLH) [ expr 0.13 * $t(min_CK) ]
|
78 |
|
|
|
79 |
|
|
# DQS to CK timing on reads
|
80 |
|
|
set t(DQSCK) [expr { 400 / 1000.0 }]
|
81 |
|
|
|
82 |
|
|
# FPGA Duty Cycle Distortion
|
83 |
|
|
set t(DCD) 0.0
|
84 |
|
|
|
85 |
|
|
#######################
|
86 |
|
|
# Controller parameters
|
87 |
|
|
#######################
|
88 |
|
|
|
89 |
|
|
set t(RL) 7
|
90 |
|
|
set t(WL) 6
|
91 |
|
|
set t(DWIDTH_RATIO) [expr { 1 * 2 }]
|
92 |
|
|
set t(rd_to_wr_turnaround_oct) 2
|
93 |
|
|
|
94 |
|
|
#####################
|
95 |
|
|
# FPGA specifications
|
96 |
|
|
#####################
|
97 |
|
|
|
98 |
|
|
# Sequencer VCALIB width. Determins multicycle length
|
99 |
|
|
set vcalib_count_width 2
|
100 |
|
|
|
101 |
|
|
set fpga(tPLL_PSERR) 0.0
|
102 |
|
|
set fpga(tPLL_JITTER) 0.0
|
103 |
|
|
|
104 |
|
|
# Systematic DCD in the Write Levelling delay chains
|
105 |
|
|
set t(WL_DCD) [expr [get_micro_node_delay -micro WL_DCD -parameters {IO VPAD} -in_fitter]/1000.0]
|
106 |
|
|
# Non-systematic DC jitter in the Write Levelling delay chains
|
107 |
|
|
set t(WL_DCJ) [expr [get_micro_node_delay -micro WL_DC_JITTER -parameters {IO VPAD} -in_fitter]/1000.0]
|
108 |
|
|
# Phase shift error in the Write Levelling delay chains between DQ and DQS
|
109 |
|
|
set t(WL_PSE) 0.0
|
110 |
|
|
# Jitter in the Write Levelling delay chains
|
111 |
|
|
set t(WL_JITTER) [expr [get_micro_node_delay -micro WL_JITTER -parameters {IO PHY_SHORT} -in_fitter]/1000.0]
|
112 |
|
|
set t(WL_JITTER_DIVISION) [expr [get_micro_node_delay -micro WL_JITTER_DIVISION -parameters {IO PHY_SHORT} -in_fitter]/100.0]
|
113 |
|
|
|
114 |
|
|
###############
|
115 |
|
|
# SSN Info
|
116 |
|
|
###############
|
117 |
|
|
|
118 |
|
|
set SSN(pushout_o) [expr [get_micro_node_delay -micro SSO -parameters [list IO DQDQSABSOLUTE NONLEVELED MAX] -in_fitter]/1000.0]
|
119 |
|
|
set SSN(pullin_o) [expr [get_micro_node_delay -micro SSO -parameters [list IO DQDQSABSOLUTE NONLEVELED MIN] -in_fitter]/-1000.0]
|
120 |
|
|
set SSN(pushout_i) [expr [get_micro_node_delay -micro SSI -parameters [list IO DQDQSABSOLUTE NONLEVELED MAX] -in_fitter]/1000.0]
|
121 |
|
|
set SSN(pullin_i) [expr [get_micro_node_delay -micro SSI -parameters [list IO DQDQSABSOLUTE NONLEVELED MIN] -in_fitter]/-1000.0]
|
122 |
|
|
set SSN(rel_pushout_o) [expr [get_micro_node_delay -micro SSO -parameters [list IO DQDQSRELATIVE NONLEVELED MAX] -in_fitter]/1000.0]
|
123 |
|
|
set SSN(rel_pullin_o) [expr [get_micro_node_delay -micro SSO -parameters [list IO DQDQSRELATIVE NONLEVELED MIN] -in_fitter]/-1000.0]
|
124 |
|
|
set SSN(rel_pushout_i) [expr [get_micro_node_delay -micro SSI -parameters [list IO DQDQSRELATIVE NONLEVELED MAX] -in_fitter]/1000.0]
|
125 |
|
|
set SSN(rel_pullin_i) [expr [get_micro_node_delay -micro SSI -parameters [list IO DQDQSRELATIVE NONLEVELED MIN] -in_fitter]/-1000.0]
|
126 |
|
|
|
127 |
|
|
###############
|
128 |
|
|
# Board Effects
|
129 |
|
|
###############
|
130 |
|
|
|
131 |
|
|
# Intersymbol Interference
|
132 |
|
|
set ISI(addresscmd_setup) 0.0
|
133 |
|
|
set ISI(addresscmd_hold) 0.0
|
134 |
|
|
set ISI(DQ) 0.0
|
135 |
|
|
set ISI(DQS) 0.0
|
136 |
|
|
set ISI(READ_DQ) 0.0
|
137 |
|
|
set ISI(READ_DQS) 0.0
|
138 |
|
|
|
139 |
|
|
# Board skews
|
140 |
|
|
set board(abs_max_CK_delay) 0.6
|
141 |
|
|
set board(abs_max_DQS_delay) 0.6
|
142 |
|
|
set board(minCK_DQS_skew) -0.01
|
143 |
|
|
set board(maxCK_DQS_skew) 0.01
|
144 |
|
|
set board(tpd_inter_DIMM) 0.0
|
145 |
|
|
set board(intra_DQS_group_skew) 0.02
|
146 |
|
|
set board(inter_DQS_group_skew) 0.02
|
147 |
|
|
set board(DQ_DQS_skew) 0.0
|
148 |
|
|
set board(intra_addr_ctrl_skew) 0.02
|
149 |
|
|
set board(addresscmd_CK_skew) 0.0
|
150 |
|
|
|