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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
46c9bd7c
Commit
46c9bd7c
authored
Aug 3, 2018
by
Daniel van der Schuur
Browse files
Options
Downloads
Patches
Plain Diff
-Reduced FIFO depth for input BSN aligners:
.was 130k, now 12k.
parent
5a7a05aa
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/arts/designs/arts_unb2b_sc3/src/vhdl/arts_unb2b_sc3_input.vhd
+6
-5
6 additions, 5 deletions
.../designs/arts_unb2b_sc3/src/vhdl/arts_unb2b_sc3_input.vhd
with
6 additions
and
5 deletions
applications/arts/designs/arts_unb2b_sc3/src/vhdl/arts_unb2b_sc3_input.vhd
+
6
−
5
View file @
46c9bd7c
...
...
@@ -174,13 +174,14 @@ ARCHITECTURE str OF arts_unb2b_sc3_input IS
-------------------------------------------------------------------------------
-- BSN Aligner + FIFOs
-- . Set as small as possible (1 block) as each set of 3 fibers will be almost aligned.
-------------------------------------------------------------------------------
CONSTANT
c_block_size
:
NATURAL
:
=
176
;
CONSTANT
c_block_period
:
NATURAL
:
=
c_block_size
+
10
;
-- FIXME Based on....?
CONSTANT
c_bsn_align_latency
:
NATURAL
:
=
3
;
CONSTANT
c_bsn_align_sop_timeout
:
NATURAL
:
=
(
c_bsn_align_latency
+
1
)
*
c_block_period
;
--
wait somewhat more than c_bsn_align_latency periods
CONSTANT
c_block_size
:
NATURAL
:
=
96
;
--96 6b4 words carrying 128 48b words
CONSTANT
c_block_period
:
NATURAL
:
=
137
;
-- 140.625MSps/200MSps = 96/137
CONSTANT
c_bsn_align_latency
:
NATURAL
:
=
1
;
CONSTANT
c_bsn_align_sop_timeout
:
NATURAL
:
=
(
c_bsn_align_latency
+
0
)
*
c_block_period
;
--
This is a tight timeout.
CONSTANT
c_bsn_align_xoff_timeout
:
NATURAL
:
=
c_bsn_align_latency
*
2
*
c_block_period
;
-- flush factor 2 longer than needed
CONSTANT
c_dp_fifo_size
:
NATURAL
:
=
(
c_bsn_align_latency
+
5
)
*
c_block_size
;
-- be able to fit blocks for as long as sop time out;
CONSTANT
c_dp_fifo_size
:
NATURAL
:
=
(
c_bsn_align_latency
+
0
)
*
c_block_size
;
-- be able to fit blocks for as long as sop time out;
CONSTANT
c_dp_fifo_fill
:
NATURAL
:
=
c_block_size
;
SIGNAL
dp_fifo_fill_src_out_arr
:
t_dp_sosi_arr
(
c_nof_10GbE_streams
-1
DOWNTO
0
);
...
...
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