Skip to content
GitLab
Explore
Sign in
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
6f2404a4
Commit
6f2404a4
authored
4 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Clarified SNR of the WG sine output.
parent
d748647b
No related branches found
No related tags found
2 merge requests
!100
Removed text for XSub that is now written in Confluence Subband correlator...
,
!68
Resolve L2SDP-162
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/base/diag/src/vhdl/diag_wg.vhd
+20
-1
20 additions, 1 deletion
libraries/base/diag/src/vhdl/diag_wg.vhd
libraries/base/diag/src/vhdl/mms_diag_wg_wideband.vhd
+2
-1
2 additions, 1 deletion
libraries/base/diag/src/vhdl/mms_diag_wg_wideband.vhd
with
22 additions
and
2 deletions
libraries/base/diag/src/vhdl/diag_wg.vhd
+
20
−
1
View file @
6f2404a4
...
@@ -19,7 +19,26 @@
...
@@ -19,7 +19,26 @@
--
--
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- Based on diag_waveproc from LOFAR
-- Purpose: Sine waveform generator
-- Description:
-- . Based on diag_waveproc from LOFAR.
-- Remarks:
-- . For WG sine periods that integer fit in the WG buffer size the carrier
-- wWave (CW) frequency is exact. For fractional WG frequencies, for which
-- the CW period does not fit the WG buffer size, the WG frequency is exact
-- only on average.
-- . The signal to noise ratio (SNR) of the carrier wave (CW) sine is:
-- SNR = g_calc_dat_w * 6.02 dB + 1.76 dB,
-- provided that the CW period fits the buffer size.
---. For fractional WG frequencies the effective number of bits of the WG is
-- g_buf_addr_w - 1, because the WG buffer contains a full sine period. The
-- -1 bit or factor 1/2 comes from that the rising slope and falling slope
-- of the WG buffer sine map the period resolution to the amplitude
-- resolution. Hence for fraction WG frequencies the effective SNR of the
-- CW becomes:
-- SNR = (g_buf_addr_w-1) * 6.02 dB + 1.76 dB.
-- Hence for g_buf_addr_w = 10, the effective SNR of the generated
-- CW with fractional frequency is SNR ~= 56 dB, even if g_calc_dat_w > 9.
LIBRARY
IEEE
,
common_lib
,
common_mult_lib
,
technology_lib
;
LIBRARY
IEEE
,
common_lib
,
common_mult_lib
,
technology_lib
;
USE
IEEE
.
STD_LOGIC_1164
.
ALL
;
USE
IEEE
.
STD_LOGIC_1164
.
ALL
;
...
...
This diff is collapsed.
Click to expand it.
libraries/base/diag/src/vhdl/mms_diag_wg_wideband.vhd
+
2
−
1
View file @
6f2404a4
...
@@ -21,10 +21,11 @@
...
@@ -21,10 +21,11 @@
-- Purpose: Provides a wideband WG by using multiple diag_wg
-- Purpose: Provides a wideband WG by using multiple diag_wg
-- Description:
-- Description:
--
Remarks:
--
. See diag.wg.vhd.
-- Remarks:
-- Remarks:
-- . For g_wideband_factor=1 this diag_wg_wideband defaults to diag_wg. Hence
-- . For g_wideband_factor=1 this diag_wg_wideband defaults to diag_wg. Hence
-- no need to make a mms_diag_wg.vhd.
-- no need to make a mms_diag_wg.vhd.
--
LIBRARY
IEEE
,
common_lib
,
technology_lib
;
LIBRARY
IEEE
,
common_lib
,
technology_lib
;
USE
IEEE
.
STD_LOGIC_1164
.
ALL
;
USE
IEEE
.
STD_LOGIC_1164
.
ALL
;
...
...
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