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
a06aacce
Commit
a06aacce
authored
Mar 16, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added x393_sata project
parent
3dddcdb1
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
467 additions
and
236 deletions
+467
-236
.gitignore
.gitignore
+1
-1
com.elphel.vdt.VivadoSynthesis.prefs
.settings/com.elphel.vdt.VivadoSynthesis.prefs
+1
-1
com.elphel.vdt.iverilog.prefs
.settings/com.elphel.vdt.iverilog.prefs
+1
-1
compressor393.v
compressor_jp/compressor393.v
+3
-0
system_defines.vh
system_defines.vh
+11
-0
x393.v
x393.v
+436
-233
x393_hispi.xdc
x393_hispi.xdc
+14
-0
No files found.
.gitignore
View file @
a06aacce
...
...
@@ -15,7 +15,7 @@ x393.prj
*.pyc
*.pickle
py393/dbg*
debug
includes/x393_cur_params_sim.vh
includes/x393_cur_params_target_*.vh
py393/exp_gpio.py
...
...
.settings/com.elphel.vdt.VivadoSynthesis.prefs
View file @
a06aacce
...
...
@@ -6,7 +6,7 @@ VivadoSynthesis_122_ConstraintsFiles=x393_hispi.xdc<-@\#\#@->x393_hispi_timing.x
VivadoSynthesis_122_SkipSnapshotSynth=true
VivadoSynthesis_123_ResetProject=true
VivadoSynthesis_123_SkipSnapshotSynth=true
VivadoSynthesis_124_ConstraintsFiles=x393_hispi.xdc<-@\#\#@->x393_hispi_timing.xdc<-@\#\#@->
VivadoSynthesis_124_ConstraintsFiles=x393_hispi.xdc<-@\#\#@->x393_hispi_timing.xdc<-@\#\#@->
x393_sata/ahci_timing.xdc<-@\#\#@->
VivadoSynthesis_127_verbose=true
VivadoSynthesis_81_parser_mode=1
VivadoSynthesis_93_OtherProblems=Netlist 29-345<-@\#\#@->Board 49-26<-@\#\#@->Synth 8-638<-@\#\#@->Synth 8-256<-@\#\#@->
...
...
.settings/com.elphel.vdt.iverilog.prefs
View file @
a06aacce
...
...
@@ -11,7 +11,7 @@ iverilog_104_ExtraFiles=glbl.v<-@\#\#@->
iverilog_104_IncludeDir=${verilog_project_loc}/ddr3<-@\#\#@->${verilog_project_loc}/includes<-@\#\#@->
iverilog_105_ExtraFiles=glbl.v<-@\#\#@->
iverilog_105_IncludeDir=${verilog_project_loc}/includes<-@\#\#@->${verilog_project_loc}/ddr3<-@\#\#@->
iverilog_106_IncludeDir=${verilog_project_loc}
_sata/x393/includes<-@\#\#@->${verilog_project_loc}_sata/x393/ddr3
<-@\#\#@->
iverilog_106_IncludeDir=${verilog_project_loc}
/x393/includes<-@\#\#@->${verilog_project_loc}/x393/ddr3<-@\#\#@->${verilog_project_loc}/x393_sata/includes
<-@\#\#@->
iverilog_109_ShowNoProblem=true
iverilog_110_ShowNoProblem=true
iverilog_110_ShowWarnings=false
...
...
compressor_jp/compressor393.v
View file @
a06aacce
...
...
@@ -226,6 +226,7 @@ module compressor393 # (
output
afi0_wrissuecap1en
,
// write address, second channel
output
afi1_clk
,
// same as hclk if the second channel is used
output
[
31
:
0
]
afi1_awaddr
,
output
afi1_awvalid
,
input
afi1_awready
,
// @SuppressThisWarning VEditor unused - used FIF0 level
...
...
@@ -638,6 +639,7 @@ module compressor393 # (
.
debug_di
(
debug_ring
[
DEBUG_RING_LENGTH
])
// input
`endif
)
;
assign
afi1_clk
=
hclk
;
end
else
begin
cmprs_afi_mux
#(
.
CMPRS_AFIMUX_ADDR
(
CMPRS_GROUP_ADDR
+
CMPRS_AFIMUX_RADDR0
)
,
...
...
@@ -723,6 +725,7 @@ module compressor393 # (
.
debug_di
(
debug_ring
[
5
])
// input
`endif
)
;
assign
afi1_clk
=
hclk
;
assign
afi1_awaddr
=
0
;
assign
afi1_awvalid
=
0
;
assign
afi1_awid
=
0
;
...
...
system_defines.vh
View file @
a06aacce
...
...
@@ -34,6 +34,17 @@
// This file may be used to define same pre-processor macros to be included into each parsed file
`ifndef SYSTEM_DEFINES
`define SYSTEM_DEFINES
// Parameters from x393_sata project
`define USE_DRP
`define ALIGN_CLOCKS
// `define STRAIGHT_XCLK
`define USE_DATASCOPE
// `define DATASCOPE_INCOMING_RAW
`define PRELOAD_BRAMS
// `define AHCI_SATA 1
// `define DEBUG_ELASTIC
// End of parameters from x393_sata project
`define PRELOAD_BRAMS
`define DISPLAY_COMPRESSED_DATA
// if HISPI is not defined, parallel sensor interface is used for all channels
...
...
x393.v
View file @
a06aacce
This diff is collapsed.
Click to expand it.
x393_hispi.xdc
View file @
a06aacce
...
...
@@ -230,3 +230,17 @@ set_property PACKAGE_PIN AB18 [get_ports {sns4_scl}]
set_property PACKAGE_PIN AB19 [get_ports {sns4_sda}]
set_property PACKAGE_PIN Y17 [get_ports {sns4_ctl}]
set_property PACKAGE_PIN Y18 [get_ports {sns4_pg}]
# ===================== SATA ======================
# bind gtx reference clock
set_property PACKAGE_PIN U6 [get_ports EXTCLK_P]
set_property PACKAGE_PIN U5 [get_ports EXTCLK_N]
# bind sata inputs/outputs
set_property PACKAGE_PIN AA5 [get_ports RXN]
set_property PACKAGE_PIN AA6 [get_ports RXP]
set_property PACKAGE_PIN AB3 [get_ports TXN]
set_property PACKAGE_PIN AB4 [get_ports TXP]
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