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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
71cd4808
Commit
71cd4808
authored
7 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Only N_blk = 176 beamlets per block of N_clk = 256 are output in transpose bypass mode (--switch 1)
parent
3611532a
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/dish_bf_transpose.py
+4
-4
4 additions, 4 deletions
...ications/apertif/commissioning/tests/dish_bf_transpose.py
with
4 additions
and
4 deletions
applications/apertif/commissioning/tests/dish_bf_transpose.py
+
4
−
4
View file @
71cd4808
...
@@ -247,15 +247,15 @@ if switch==1:
...
@@ -247,15 +247,15 @@ if switch==1:
for
u
in
range
(
P_BF
):
# loop BF units
for
u
in
range
(
P_BF
):
# loop BF units
bf_unit_offset
=
fn
*
P_BF
bf_unit_offset
=
fn
*
P_BF
for
t
in
range
(
N_int_x
):
for
t
in
range
(
N_int_x
):
dbLo
=
t
*
N_
c
lk
-
c_dbSyncDelay
dbLo
=
t
*
N_
b
lk
-
c_dbSyncDelay
dbHi
=
(
t
+
1
)
*
N_
c
lk
-
c_dbSyncDelay
dbHi
=
(
t
+
1
)
*
N_
b
lk
-
c_dbSyncDelay
dbInRange
=
dbHi
>
0
and
dbLo
<
c_dbSize
dbInRange
=
dbHi
>
0
and
dbLo
<
c_dbSize
if
dbInRange
:
if
dbInRange
:
if
u
==
0
:
if
u
==
0
:
tc
.
append_log
(
tc
.
V_DEBUG
,
'
t = %d, dbLo = %d, dbHi = %d
'
%
(
t
,
dbLo
,
dbHi
))
tc
.
append_log
(
tc
.
V_DEBUG
,
'
t = %d, dbLo = %d, dbHi = %d
'
%
(
t
,
dbLo
,
dbHi
))
exp_im
=
(
bf_unit_offset
+
u
+
t
)
%
N_clk
exp_im
=
(
bf_unit_offset
+
u
+
t
)
%
N_clk
for
bu
in
range
(
N_
c
lk
):
for
bu
in
range
(
N_
b
lk
):
rdaddr
=
t
*
N_
c
lk
+
bu
-
c_dbSyncDelay
;
rdaddr
=
t
*
N_
b
lk
+
bu
-
c_dbSyncDelay
;
if
rdaddr
>=
0
and
rdaddr
<
c_dbSize
:
if
rdaddr
>=
0
and
rdaddr
<
c_dbSize
:
if
u
==
0
:
if
u
==
0
:
tc
.
append_log
(
tc
.
V_DEBUG
,
'
rdaddr = %d
'
%
rdaddr
)
tc
.
append_log
(
tc
.
V_DEBUG
,
'
rdaddr = %d
'
%
rdaddr
)
...
...
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