Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
6ce41a12
Commit
6ce41a12
authored
7 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Removed pi_diag_data_buffer, because not used.
parent
b73d9a34
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/apertif/commissioning/tests/force_bf_transpose.py
+10
-14
10 additions, 14 deletions
...cations/apertif/commissioning/tests/force_bf_transpose.py
with
10 additions
and
14 deletions
applications/apertif/commissioning/tests/force_bf_transpose.py
+
10
−
14
View file @
6ce41a12
...
...
@@ -38,20 +38,19 @@
--switch 0 : Use transpose T_int_x, so data order [M_blk][N_int_x][Q_interleave]
--switch 1 : Bypass transpose T_int_x, so data order [N_int_x][N_clk]
These force data stimuli can be verified in the correlator before and after the mesh.
In node_apertif_unb1_correlator_input the test uses:
* RAM_DIAG_DATA_BUFFER_INPUT_POST to read the data for three 10G links per node
after the BSN aligner
The argument --tel index must match lcu-rt index and is used to inform the script about which dish it
is at. The --unb --fn yields the global FN index at the dish and hence also the polarization. Together
the polarization and the dish index yield the telescope path tp index in range(N_tp=24) that is used in
the forced data.
In node_apertif_unb1_correlator_mesh the test uses:
* RAM_DIAG_DATA_BUFFER_MESH to read the data for 24 TP per node after the mesh
These force data stimuli can be verified in the correlator before and after the mesh.
Usage:
# -v 5 or 6 for debugging
# -v 0, 1, 2 or 3 for regression test
> ssh lcu-rt4 -X
"
python $RADIOHDL/applications/apertif/commissioning/tests/force_bf_transpose_tp.py -v 5 --tel 2 --unb 0 --fn 0 --mode 0 --switch 0
"
# At dish set dp_force_data_parallel
> ssh lcu-rt4 -X
"
python $RADIOHDL/applications/apertif/commissioning/tests/force_bf_transpose.py -v 3 --tel 4 --unb 0:3 --fn 0:3 --mode 0 --switch 0
"
# At central correlator verify expected result via DB (for same --tel --mode and --switch)
> python $RADIOHDL/applications/apertif/commissioning/tests/verify.py -v 5 --tel 4 --unb 2 --fn 0 --mode 0 --switch 0
"
"""
###############################################################################
...
...
@@ -62,7 +61,6 @@ import test_case
import
node_io
import
pi_dp_switch
import
pi_dp_force_data_parallel
import
pi_diag_data_buffer
N_uni
=
4
# 4 UniBoards per subrack at the dish
c_nof_fn
=
4
# 4 FN per UniBoard
...
...
@@ -85,7 +83,7 @@ wsrtTelescopes = ['2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd']
###############################################################################
# Instantiations
tc
=
test_case
.
Testcase
(
'
FORCE_BF_TRANSPOSE
_TP
-
'
,
''
)
tc
=
test_case
.
Testcase
(
'
FORCE_BF_TRANSPOSE -
'
,
''
)
tc
.
set_result
(
'
PASSED
'
)
# Read switch setting
...
...
@@ -116,8 +114,6 @@ for fn in tc.nodeFnNrs:
# REG_DP_FORCE_DATA_PARALLEL
fdp
.
append
(
pi_dp_force_data_parallel
.
PiDpForceDataParallel
(
tc
,
io
,
nodeNr
=
fn
,
piInstanceName
=
''
,
nofInst
=
P_BF
))
# RAM_DIAG_DATA_BUFFER_OUTPUT
db
.
append
(
pi_diag_data_buffer
.
PiDiagDataBuffer
(
tc
,
io
,
nodeNr
=
fn
,
instanceName
=
'
OUTPUT
'
,
nofStreams
=
P_BF
,
ramSizePerStream
=
c_dbSize
,
version
=
1
))
###############################################################################
# Stimuli
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment