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
9998df21
Commit
9998df21
authored
10 years ago
by
Daniel van der Schuur
Browse files
Options
Downloads
Patches
Plain Diff
-Fixed FIFO readout as it did not work properly with gapped data.
parent
ff4e4867
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/dsp/correlator/src/vhdl/corr_accumulator.vhd
+2
-2
2 additions, 2 deletions
libraries/dsp/correlator/src/vhdl/corr_accumulator.vhd
with
2 additions
and
2 deletions
libraries/dsp/correlator/src/vhdl/corr_accumulator.vhd
+
2
−
2
View file @
9998df21
...
...
@@ -53,7 +53,7 @@ ARCHITECTURE str OF corr_accumulator IS
-- Complex accumulator data width: wide enough to support g_integration_period accumulations
CONSTANT
c_acc_data_w
:
NATURAL
:
=
g_data_w
+
ceil_log2
(
g_integration_period
);
CONSTANT
c_adder_latency
:
NATURAL
:
=
3
;
CONSTANT
c_adder_latency
:
NATURAL
:
=
2
;
CONSTANT
c_fifo_latency
:
NATURAL
:
=
1
;
SIGNAL
reg_snk_in_arr
:
t_dp_sosi_arr
(
g_nof_inputs
-1
DOWNTO
0
);
...
...
@@ -148,7 +148,7 @@ BEGIN
-- Shift out the first accumulated value when it aligns with the corresponding current value at the adder input
-- . this produces the dp_fifo_sc_src_out_arr data in sync with reg_snk_in_arr data
dp_fifo_sc_src_in_arr
(
i
)
.
ready
<=
snk_in_arr
(
i
)
.
valid
WHEN
TO_UINT
(
dp_fifo_sc_usedw_arr
(
i
))
=
g_nof_accumulators
-
c_adder_latency
-
c_fifo_latency
ELSE
'0'
;
dp_fifo_sc_src_in_arr
(
i
)
.
ready
<=
snk_in_arr
(
i
)
.
valid
WHEN
TO_UINT
(
dp_fifo_sc_usedw_arr
(
i
))
>
=
g_nof_accumulators
-
1
-
c_adder_latency
-
c_fifo_latency
-1
ELSE
'0'
;
END
GENERATE
;
...
...
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