Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
ed9b0982
Commit
ed9b0982
authored
May 01, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
just more code, debugging vdt in parallel
parent
2aa6f1d2
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
197 additions
and
8 deletions
+197
-8
byte_lane.v
phy/byte_lane.v
+6
-5
cmd_addr.v
phy/cmd_addr.v
+1
-1
phy_top.v
phy/phy_top.v
+188
-0
odelay_fine_pipe.v
phy/wrap/odelay_fine_pipe.v
+1
-1
oserdes_mem.v
phy/wrap/oserdes_mem.v
+1
-1
No files found.
phy/byte_lane.v
View file @
ed9b0982
...
...
@@ -25,7 +25,8 @@ module byte_lane #(
parameter
IBUF_LOW_PWR
=
"TRUE"
,
parameter
IOSTANDARD_DQ
=
"SSTL15_T_DCI"
,
parameter
IOSTANDARD_DQS
=
"DIFF_SSTL15_T_DCI"
,
parameter
SLEW
=
"SLOW"
,
parameter
SLEW_DQ
=
"SLOW"
,
parameter
SLEW_DQS
=
"SLOW"
,
parameter
real
REFCLK_FREQUENCY
=
300.0
,
parameter
HIGH_PERFORMANCE_MODE
=
"FALSE"
)(
...
...
@@ -47,7 +48,7 @@ module byte_lane #(
output
[
31
:
0
]
dout
,
// parallel data received from DDR3 memory, 4 bits per DQ I/O
input
[
7
:
0
]
dly_data
,
// delay value (3 LSB - fine delay)
input
[
4
:
0
]
dly_addr
,
// select which delay to program
input
ld_delay
,
// load delay data to selected iodelay
l (clk_
iv synchronous)
input
ld_delay
,
// load delay data to selected iodelay
(clk_d
iv synchronous)
input
set
// clk_div synchronous set all delays from previously loaded values
)
;
...
...
@@ -96,7 +97,7 @@ generate
.
IODELAY_GRP
(
IODELAY_GRP
)
,
.
IBUF_LOW_PWR
(
IBUF_LOW_PWR
)
,
.
IOSTANDARD
(
IOSTANDARD_DQ
)
,
.
SLEW
(
SLEW
)
,
.
SLEW
(
SLEW
_DQ
)
,
.
REFCLK_FREQUENCY
(
REFCLK_FREQUENCY
)
,
.
HIGH_PERFORMANCE_MODE
(
HIGH_PERFORMANCE_MODE
)
)
dq_i
(
...
...
@@ -123,7 +124,7 @@ dq_single #(
.
IODELAY_GRP
(
IODELAY_GRP
)
,
.
IBUF_LOW_PWR
(
IBUF_LOW_PWR
)
,
.
IOSTANDARD
(
IOSTANDARD_DQ
)
,
.
SLEW
(
SLEW
)
,
.
SLEW
(
SLEW
_DQ
)
,
.
REFCLK_FREQUENCY
(
REFCLK_FREQUENCY
)
,
.
HIGH_PERFORMANCE_MODE
(
HIGH_PERFORMANCE_MODE
)
)
dm_i
(
...
...
@@ -148,7 +149,7 @@ dqs_single #(
.
IODELAY_GRP
(
IODELAY_GRP
)
,
.
IBUF_LOW_PWR
(
IBUF_LOW_PWR
)
,
.
IOSTANDARD
(
IOSTANDARD_DQS
)
,
.
SLEW
(
SLEW
)
,
.
SLEW
(
SLEW
_DQS
)
,
.
REFCLK_FREQUENCY
(
REFCLK_FREQUENCY
)
,
.
HIGH_PERFORMANCE_MODE
(
HIGH_PERFORMANCE_MODE
)
)
dqs_i
(
...
...
phy/cmd_addr.v
View file @
ed9b0982
...
...
@@ -26,7 +26,7 @@ module cmd_addr #(
parameter
SLEW
=
"SLOW"
,
parameter
real
REFCLK_FREQUENCY
=
300.0
,
parameter
HIGH_PERFORMANCE_MODE
=
"FALSE"
,
parameter
ADDRESS_NUMBER
=
15
parameter
integer
ADDRESS_NUMBER
=
15
)(
output
[
ADDRESS_NUMBER
-
1
:
0
]
ddr3_a
,
// output address ports (14:0) for 4Gb device
output
[
2
:
0
]
ddr3_ba
,
// output bank address ports
...
...
phy/phy_top.v
0 → 100644
View file @
ed9b0982
This diff is collapsed.
Click to expand it.
phy/wrap/odelay_fine_pipe.v
View file @
ed9b0982
...
...
@@ -23,7 +23,7 @@
module
odelay_fine_pipe
//SuppressWarnings VEditor - IODELAY_GRP used in (* *) construnt
#
(
parameter
IODELAY_GRP
=
"IODELAY_MEMORY"
,
parameter
integer
DELAY_VALUE
=
0
,
parameter
[
7
:
0
]
DELAY_VALUE
=
0
,
parameter
real
REFCLK_FREQUENCY
=
200.0
,
parameter
HIGH_PERFORMANCE_MODE
=
"FALSE"
)
(
...
...
phy/wrap/oserdes_mem.v
View file @
ed9b0982
...
...
@@ -33,7 +33,7 @@ module oserdes_mem #(
output
tout_dly
,
// tristate out to be connected to odelay input
output
tout_iob
// tristate out to be connected directly to the tristate control of the output buffer
)
;
localparam
integer
MODE_DDR_BIN
=
(
MODE_DDR
==
"TRUE"
)
?
1
:
0
;
//
localparam integer MODE_DDR_BIN=(MODE_DDR=="TRUE")?1:0;
localparam
DATA_RATE
=
(
MODE_DDR
==
"TRUE"
)
?
"DDR"
:
"SDR"
;
localparam
integer
DATA_WIDTH
=
(
MODE_DDR
==
"TRUE"
)
?
4
:
2
;
localparam
integer
DDR3_DATA
=
(
MODE_DDR
==
"TRUE"
)
?
1
:
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment