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
3647f8ed
Commit
3647f8ed
authored
Mar 10, 2023
by
Andrey Filippov
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added new gtkwave sav, changes to old files to satisfy newer Icarus. FPGA 0x03031003
parent
e982c5ae
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2181 additions
and
8 deletions
+2181
-8
x393_cocotb_lwir_07.sav
cocotb/x393_cocotb_lwir_07.sav
+1501
-0
x393_cocotb_lwir_08.sav
cocotb/x393_cocotb_lwir_08.sav
+669
-0
ddr3.v
ddr3/ddr3.v
+5
-5
GTXE2_GPL.v
x393_sata/wrapper/GTXE2_GPL.v
+6
-3
No files found.
cocotb/x393_cocotb_lwir_07.sav
0 → 100644
View file @
3647f8ed
This diff is collapsed.
Click to expand it.
cocotb/x393_cocotb_lwir_08.sav
0 → 100644
View file @
3647f8ed
This diff is collapsed.
Click to expand it.
ddr3/ddr3.v
View file @
3647f8ed
...
@@ -2534,7 +2534,7 @@ module ddr3 (
...
@@ -2534,7 +2534,7 @@ module ddr3 (
end
end
task
cmd_addr_timing_check
;
task
cmd_addr_timing_check
;
input
i
;
input
[
4
:
0
]
i
;
reg
[
4
:
0
]
i
;
reg
[
4
:
0
]
i
;
begin
begin
if
(
rst_n_in
&&
prev_cke
)
begin
if
(
rst_n_in
&&
prev_cke
)
begin
...
@@ -2578,7 +2578,7 @@ module ddr3 (
...
@@ -2578,7 +2578,7 @@ module ddr3 (
// Processes to check setup and hold of data signals
// Processes to check setup and hold of data signals
task
dm_timing_check
;
task
dm_timing_check
;
input
i
;
input
[
4
:
0
]
i
;
reg
[
4
:
0
]
i
;
reg
[
4
:
0
]
i
;
begin
begin
if
(
dqs_in_valid
)
begin
if
(
dqs_in_valid
)
begin
...
@@ -2629,7 +2629,7 @@ module ddr3 (
...
@@ -2629,7 +2629,7 @@ module ddr3 (
always
@
(
dm_in
[
31
])
dm_timing_check
(
31
)
;
always
@
(
dm_in
[
31
])
dm_timing_check
(
31
)
;
task
dq_timing_check
;
task
dq_timing_check
;
input
i
;
input
[
6
:
0
]
i
;
reg
[
6
:
0
]
i
;
reg
[
6
:
0
]
i
;
begin
begin
if
(
dqs_in_valid
)
begin
if
(
dqs_in_valid
)
begin
...
@@ -2776,7 +2776,7 @@ module ddr3 (
...
@@ -2776,7 +2776,7 @@ module ddr3 (
always
@
(
dq_in
[
127
])
dq_timing_check
(
127
)
;
always
@
(
dq_in
[
127
])
dq_timing_check
(
127
)
;
task
dqs_pos_timing_check
;
task
dqs_pos_timing_check
;
input
i
;
input
[
5
:
0
]
i
;
reg
[
5
:
0
]
i
;
reg
[
5
:
0
]
i
;
reg
[
4
:
0
]
j
;
reg
[
4
:
0
]
j
;
begin
begin
...
@@ -2911,7 +2911,7 @@ module ddr3 (
...
@@ -2911,7 +2911,7 @@ module ddr3 (
always
@
(
negedge
dqs_in
[
63
])
if
(
!
dqs_in
[
63
])
dqs_pos_timing_check
(
63
)
;
always
@
(
negedge
dqs_in
[
63
])
if
(
!
dqs_in
[
63
])
dqs_pos_timing_check
(
63
)
;
task
dqs_neg_timing_check
;
task
dqs_neg_timing_check
;
input
i
;
input
[
5
:
0
]
i
;
reg
[
5
:
0
]
i
;
reg
[
5
:
0
]
i
;
reg
[
4
:
0
]
j
;
reg
[
4
:
0
]
j
;
begin
begin
...
...
x393_sata/wrapper/GTXE2_GPL.v
View file @
3647f8ed
...
@@ -772,7 +772,9 @@ assign next_disparity = ^oword[word_count - 1] ? word_disparity[word_count - 1]
...
@@ -772,7 +772,9 @@ assign next_disparity = ^oword[word_count - 1] ? word_disparity[word_count - 1]
endmodule
endmodule
module
gtxe2_chnl_tx_oob
#(
module
gtxe2_chnl_tx_oob
#(
parameter
width
=
20
parameter
width
=
20
,
parameter
[
3
:
0
]
SATA_BURST_SEQ_LEN
=
4'b0101
,
parameter
SATA_CPLL_CFG
=
"VCO_3000MHZ"
)
)
(
(
// top-level ifaces
// top-level ifaces
...
@@ -787,8 +789,8 @@ module gtxe2_chnl_tx_oob #(
...
@@ -787,8 +789,8 @@ module gtxe2_chnl_tx_oob #(
output
wire
[
width
-
1
:
0
]
outdata
,
output
wire
[
width
-
1
:
0
]
outdata
,
output
wire
outval
output
wire
outval
)
;
)
;
parameter
[
3
:
0
]
SATA_BURST_SEQ_LEN
=
4'b0101
;
//
parameter [3:0] SATA_BURST_SEQ_LEN = 4'b0101;
parameter
SATA_CPLL_CFG
=
"VCO_3000MHZ"
;
//
parameter SATA_CPLL_CFG = "VCO_3000MHZ";
localparam
burst_len_mult
=
SATA_CPLL_CFG
==
"VCO_3000MHZ"
?
2
// assuming each usrclk cycle == 20 sata serial clk cycles
localparam
burst_len_mult
=
SATA_CPLL_CFG
==
"VCO_3000MHZ"
?
2
// assuming each usrclk cycle == 20 sata serial clk cycles
:
SATA_CPLL_CFG
==
"VCO_1500MHZ"
?
4
:
SATA_CPLL_CFG
==
"VCO_1500MHZ"
?
4
...
@@ -1140,6 +1142,7 @@ wire [internal_data_width - 1:0] oob_data;
...
@@ -1140,6 +1142,7 @@ wire [internal_data_width - 1:0] oob_data;
wire
oob_val
;
wire
oob_val
;
assign
oob_active
=
oob_val
;
assign
oob_active
=
oob_val
;
gtxe2_chnl_tx_oob
#(
gtxe2_chnl_tx_oob
#(
.
width
(
internal_data_width
)
,
.
width
(
internal_data_width
)
,
.
SATA_BURST_SEQ_LEN
(
SATA_BURST_SEQ_LEN
)
,
.
SATA_BURST_SEQ_LEN
(
SATA_BURST_SEQ_LEN
)
,
...
...
Andrey Filippov
@AndreyFilippov
mentioned in commit
e982c5ae
·
Mar 10, 2023
mentioned in commit
e982c5ae
mentioned in commit e982c5ae87ba12ece31e159861d9b697931d7750
Toggle commit list
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