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
d05b84c8
"LCU/Maintenance/DBInterface/git@git.astron.nl:ro/lofar.git" did not exist on "9251cae34747b70a8043b90fe9907a3befa78b43"
Commit
d05b84c8
authored
8 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added g_bsn=0.
parent
3a69f5e1
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/base/dp/src/vhdl/dp_block_gen.vhd
+4
-3
4 additions, 3 deletions
libraries/base/dp/src/vhdl/dp_block_gen.vhd
with
4 additions
and
3 deletions
libraries/base/dp/src/vhdl/dp_block_gen.vhd
+
4
−
3
View file @
d05b84c8
...
...
@@ -54,10 +54,11 @@ ENTITY dp_block_gen IS
GENERIC
(
g_use_src_in
:
BOOLEAN
:
=
TRUE
;
-- when true use src_in.ready else use snk_in.valid for flow control
g_nof_data
:
POSITIVE
:
=
1
;
-- nof data per block
g_nof_blk_per_sync
:
NATURAL
:
=
8
;
g_nof_blk_per_sync
:
POSITIVE
:
=
8
;
g_empty
:
NATURAL
:
=
0
;
g_channel
:
NATURAL
:
=
0
;
g_error
:
NATURAL
:
=
0
;
g_bsn
:
NATURAL
:
=
0
;
g_preserve_sync
:
BOOLEAN
:
=
FALSE
;
g_preserve_bsn
:
BOOLEAN
:
=
FALSE
);
...
...
@@ -87,7 +88,7 @@ ARCHITECTURE rtl OF dp_block_gen IS
src_out
:
t_dp_sosi
;
END
RECORD
;
CONSTANT
c_reg_rst
:
t_reg
:
=
(
s_sop
,
0
,
0
,
(
OTHERS
=>
'0'
),
c_dp_sosi_rst
);
CONSTANT
c_reg_rst
:
t_reg
:
=
(
s_sop
,
0
,
0
,
TO_DP_BSN
(
g_bsn
),
c_dp_sosi_rst
);
SIGNAL
ready
:
STD_LOGIC
;
...
...
@@ -135,7 +136,7 @@ BEGIN
nxt_r
.
data_cnt
<=
0
;
-- for clarity init data count to 0 (because it will become 1 anyway at sop)
IF
en
=
'0'
THEN
-- if disabled then reset block generator
nxt_r
.
blk_cnt
<=
0
;
nxt_r
.
bsn
<=
(
OTHERS
=>
'0'
);
nxt_r
.
bsn
<=
TO_DP_BSN
(
g_bsn
);
ELSE
-- enabled block generator
IF
ready
=
'1'
THEN
-- once enabled the complete block will be output
IF
g_preserve_sync
=
FALSE
THEN
...
...
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