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
1aa4dfb9
Commit
1aa4dfb9
authored
3 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
First try simple tb generic values.
parent
71e94967
Branches
Branches containing commit
No related tags found
2 merge requests
!148
L2SDP-495
,
!146
Prepared dp_bsn_align_v2.vhd (still empty) and mmp_, tb_ and tb_mmp_ files,...
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/tb/vhdl/tb_dp_bsn_align_v2.vhd
+11
-4
11 additions, 4 deletions
libraries/base/dp/tb/vhdl/tb_dp_bsn_align_v2.vhd
with
11 additions
and
4 deletions
libraries/base/dp/tb/vhdl/tb_dp_bsn_align_v2.vhd
+
11
−
4
View file @
1aa4dfb9
...
...
@@ -40,14 +40,16 @@ ENTITY tb_dp_bsn_align_v2 IS
g_nof_streams
:
NATURAL
:
=
2
;
-- number of input and output streams
g_bsn_latency_max
:
NATURAL
:
=
1
;
-- Maximum travel latency of a remote block in number of block periods T_blk
g_bsn_latency_use_node_index
:
BOOLEAN
:
=
FALSE
;
-- FALSE for align at end node, TRUE for align at every intermediate node
g_block_size
:
NATURAL
:
=
1
7
;
-- > 1, g_block_size=1 is not supported
g_block_size
:
NATURAL
:
=
1
1
;
-- > 1, g_block_size=1 is not supported
g_bsn_w
:
NATURAL
:
=
c_dp_stream_bsn_w
;
-- number of bits in sosi BSN
g_data_w
:
NATURAL
:
=
16
;
-- number of bits in sosi data
g_filler_value
:
INTEGER
:
=
0
;
-- output sosi data value for missing input blocks
g_pipeline_input
:
NATURAL
:
=
1
;
-- >= 0, choose 0 for wires, choose 1 to ease timing closure
g_rd_latency
:
NATURAL
:
=
2
;
-- 1 or 2, choose 2 to ease timing closure
-- TB
g_diff_delay
:
NATURAL
:
=
2
0
;
g_diff_bsn
:
NATURAL
:
=
3
;
-- g_diff_bsn = g_bsn_latency_max can just be aligned
g_diff_delay
:
NATURAL
:
=
0
;
g_diff_bsn
:
NATURAL
:
=
0
;
-- g_diff_bsn = g_bsn_latency_max can just be aligned
g_nof_repeat
:
NATURAL
:
=
100
-- for constant active stream control using 1 is sufficient, use > 1 to verify longer with random stimuli
);
END
tb_dp_bsn_align_v2
;
...
...
@@ -405,11 +407,15 @@ BEGIN
g_nof_streams
=>
g_nof_streams
,
g_bsn_latency_max
=>
g_bsn_latency_max
,
g_bsn_latency_use_node_index
=>
g_bsn_latency_use_node_index
,
g_node_index_max
=>
31
,
-- limit to functional 5 bit range, instead of full 31 bit NATURAL range
g_block_size
=>
g_block_size
,
g_buffer_nof_blocks
=>
c_buffer_nof_blocks
,
g_bsn_w
=>
g_bsn_w
,
g_data_w
=>
g_data_w
,
g_filler_value
=>
g_filler_value
g_filler_value
=>
g_filler_value
,
g_use_mm_output
=>
TRUE
,
-- output via MM or via streaming DP
g_pipeline_input
=>
g_pipeline_input
,
-- >= 0, choose 0 for wires, choose 1 to ease timing closure
g_rd_latency
=>
g_rd_latency
-- 1 or 2, choose 2 to ease timing closure
)
PORT
MAP
(
dp_rst
=>
rst
,
...
...
@@ -437,6 +443,7 @@ BEGIN
g_step_size
=>
1
,
g_nof_data
=>
g_block_size
,
g_data_w
=>
g_data_w
,
g_mm_rd_latency
=>
g_rd_latency
,
g_reverse_word_order
=>
FALSE
)
PORT
MAP
(
...
...
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