Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sdptr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Corné Lukken
sdptr
Commits
1d88a719
Commit
1d88a719
authored
3 years ago
by
Pieter Donker
Browse files
Options
Downloads
Patches
Plain Diff
TR_tod_pps_delta_R now in seconds.
parent
db9b801d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/constants.h
+2
-2
2 additions, 2 deletions
src/constants.h
src/tr.cpp
+1
-1
1 addition, 1 deletion
src/tr.cpp
with
3 additions
and
3 deletions
src/constants.h
+
2
−
2
View file @
1d88a719
...
@@ -45,13 +45,13 @@
...
@@ -45,13 +45,13 @@
#define C_Q_fft 2
#define C_Q_fft 2
#define C_N_sub 512
#define C_N_sub 512
#define C_N_sub_bf 488
#define C_N_step 1
#define C_N_step 1
#define C_N_crosslets_max 7
#define C_N_crosslets_max 7
#define C_N_scrap 512 // Number of 32 bit words in FPGA scrap memory.
#define C_N_scrap 512 // Number of 32 bit words in FPGA scrap memory.
#define C_N_pol 2 // Number of antenna polarizations, X and Y.
#define C_N_pol 2 // Number of antenna polarizations, X and Y.
#define C_A_pn 6 // Number of dual polarization antennas per Processing Node (PN) FPGA.
#define C_A_pn 6 // Number of dual polarization antennas per Processing Node (PN) FPGA.
#define C_N_beamlets 976 // Number of beamlets per antenna band 488, 976
// #define C_N_beamlets 976 // Number of beamlets per antenna band 488, 976
#define C_N_sub_bf 488
#define C_200MHZ_1_CNT_NS 5 // Time of one cnt in nS
#define C_200MHZ_1_CNT_NS 5 // Time of one cnt in nS
#define C_N_CLK_PER_PPS 200000000
#define C_N_CLK_PER_PPS 200000000
...
...
This diff is collapsed.
Click to expand it.
src/tr.cpp
+
1
−
1
View file @
1d88a719
...
@@ -145,7 +145,7 @@ bool TranslatorMap::translator(TermOutput& termout, const char cmd, const string
...
@@ -145,7 +145,7 @@ bool TranslatorMap::translator(TermOutput& termout, const char cmd, const string
for
(
uint
i
=
0
;
i
<
pps_offset_cnt
.
size
();
i
++
)
{
for
(
uint
i
=
0
;
i
<
pps_offset_cnt
.
size
();
i
++
)
{
if
(
pps_offset_cnt
[
i
]
>
0
)
{
if
(
pps_offset_cnt
[
i
]
>
0
)
{
cout
<<
"use pps_offset_cnt from node "
<<
i
<<
" cnt="
<<
pps_offset_cnt
[
i
]
<<
endl
;
cout
<<
"use pps_offset_cnt from node "
<<
i
<<
" cnt="
<<
pps_offset_cnt
[
i
]
<<
endl
;
pps_delta
=
(
double
)(
pps_offset_cnt
[
i
]
*
C_200MHZ_1_CNT_NS
)
;
pps_delta
=
(
double
)(
pps_offset_cnt
[
i
]
*
C_200MHZ_1_CNT_NS
)
/
1e9
;
// pps_delta in seconds now
break
;
break
;
}
}
}
}
...
...
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