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
e52a6020
Commit
e52a6020
authored
3 years ago
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
JESD outputs data on upper 14 bits instead of lower 14 bits
parent
7fa6e719
No related branches found
Branches containing commit
No related tags found
1 merge request
!150
Resolve L2SDP-497
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/lofar2/libraries/sdp/src/vhdl/node_sdp_adc_input_and_timing.vhd
+10
-7
10 additions, 7 deletions
.../libraries/sdp/src/vhdl/node_sdp_adc_input_and_timing.vhd
with
10 additions
and
7 deletions
applications/lofar2/libraries/sdp/src/vhdl/node_sdp_adc_input_and_timing.vhd
+
10
−
7
View file @
e52a6020
...
...
@@ -204,13 +204,16 @@ BEGIN
-- . the input valid is always '1', even when there is no data
-----------------------------------------------------------------------------
gen_force_valid
:
FOR
I
IN
0
TO
c_sdp_S_pn
-1
GENERATE
p_sosi
:
PROCESS
(
rx_sosi_arr
)
BEGIN
dp_shiftram_snk_in_arr
(
I
)
<=
rx_sosi_arr
(
I
);
dp_shiftram_snk_in_arr
(
I
)
.
valid
<=
'1'
;
END
PROCESS
;
END
GENERATE
;
p_dp_shiftram_snk_in_arr
:
PROCESS
(
rx_sosi_arr
)
BEGIN
dp_shiftram_snk_in_arr
<=
rx_sosi_arr
;
FOR
I
IN
0
TO
c_sdp_S_pn
-1
LOOP
-- ADC data is stored in the upper 14 bits of the jesd rx_sosi.
dp_shiftram_snk_in_arr
(
I
)
.
data
<=
RESIZE_DP_SDATA
(
rx_sosi_arr
(
I
)
.
data
(
c_sdp_W_adc_jesd
-1
DOWNTO
(
c_sdp_W_adc_jesd
-
c_sdp_W_adc
)
));
-- Force valid.
dp_shiftram_snk_in_arr
(
I
)
.
valid
<=
'1'
;
END
LOOP
;
END
PROCESS
;
u_dp_shiftram
:
ENTITY
dp_lib
.
dp_shiftram
...
...
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