Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
distributed oscilloscope
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
distributed oscilloscope
Commits
0417163f
Commit
0417163f
authored
May 03, 2019
by
Milosz Malczak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adc: updated WRTD
parent
4264c269
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
6 deletions
+28
-6
spec_adc_top.bin
dependencies/drivers/bitstream/spec_adc_top.bin
+0
-0
fmc-adc-100m14b4cha-gw
dependencies/fmc-adc-100m14b4cha-gw
+1
-1
mock-turtle
dependencies/mock-turtle
+1
-1
wr-trigger-distribution
dependencies/wr-trigger-distribution
+1
-1
environment_variables
environment_variables
+1
-1
init.sh
init.sh
+22
-0
ADC.py
software/fec/ADC.py
+2
-2
No files found.
dependencies/drivers/bitstream/spec_adc_top.bin
View file @
0417163f
No preview for this file type
fmc-adc-100m14b4cha-gw
@
89f33dc3
Subproject commit
a60eac03a83cf136a5d3effac04346df874a24b0
Subproject commit
89f33dc365e9ad3a54fdba5c287da2a40495e95b
mock-turtle
@
a7f004e8
Subproject commit
627d5f0a6ecef25f5892df6dd2db80fcd17f6be4
Subproject commit
a7f004e8df41df80807d3dbe32b9d50e7a639047
wr-trigger-distribution
@
ba5bf92c
Subproject commit
a7fe66c426da477134e65a499ab027b274a7edd4
Subproject commit
ba5bf92ceba85b4ecd122688f8ca0b9473b6083a
environment_variables
View file @
0417163f
export WRTD_DEP_TRTL=/home/Projects/distributed_oscilloscope/dependencies/mock-turtle
export WRTD_DEP_FMC_ADC=/home/Projects/distributed_oscilloscope/dependencies/fmc-adc-100m14b4cha-gw
export WRTD_DEP_TRTL_FW=/home/Projects/distributed_oscilloscope/dependencies/mock-turtle/software/firmware
init.sh
0 → 100755
View file @
0417163f
MT_CPU_RESTART
=
"/home/Projects/distributed_oscilloscope/dependencies/mock-turtle/software/tools/mockturtle-cpu-restart"
#WRTD_CONFIG="/home/dlamprid/wrtd/repos/wrtd/software/tools/wrtd-config"
if
[
"
$EUID
"
-ne
0
]
then
echo
"Please run as root (or with sudo)"
exit
fi
for
id
in
1 2
do
# take MT out of reset, FPGA is pre-programmed with the firmware
${
MT_CPU_RESTART
}
-D
"0x0
${
id
}
"
-i
0
# Enable WRTD logging
#${WRTD_CONFIG} -D "MT0${id}" set-log on
# 251723810 = 0x0f010022 = SW trigger, ALT TIME trigger and full trigger forwarding to WRTD
echo
251723810
>
"/sys/bus/zio/devices/adc-100m14b-000
${
id
}
/cset0/trigger/source"
done
software/fec/ADC.py
View file @
0417163f
...
...
@@ -31,10 +31,10 @@ class ADC_100m14b4cha_extended_API_WRTD(ADC_100m14b4cha_extended_API):
if
(
not
self
.
WRTD_master
):
self
.
set_presamples
(
delay_samples
)
self
.
WRTD
.
add_rule_mult_src
(
'dist_triggers'
,
5
)
self
.
WRTD
.
set_rule_mult_src
(
'dist_triggers'
,
0
,
'
ADC
I'
,
'LAN1'
,
5
)
self
.
WRTD
.
set_rule_mult_src
(
'dist_triggers'
,
0
,
'
LC-
I'
,
'LAN1'
,
5
)
self
.
WRTD
.
add_rule
(
'receive_trigger'
)
self
.
WRTD
.
set_rule
(
'receive_trigger'
,
600e6
,
'LAN1'
,
'
ADC
O1'
)
self
.
WRTD
.
set_rule
(
'receive_trigger'
,
600e6
,
'LAN1'
,
'
LC-
O1'
)
self
.
WRTD
.
enable_rule
(
'receive_trigger'
)
self
.
WRTD
.
disable_rule_mult_src
(
'dist_triggers'
,
5
)
...
...
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