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
2d6e2e16
Commit
2d6e2e16
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Adjust new_interval to occur already befor sync.
parent
d9a31c6f
No related branches found
No related tags found
1 merge request
!283
Resolve L2SDP-696
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/lofar2/libraries/sdp/tb/vhdl/tb_sdp_statistics_offload.vhd
+12
-3
12 additions, 3 deletions
...ofar2/libraries/sdp/tb/vhdl/tb_sdp_statistics_offload.vhd
with
12 additions
and
3 deletions
applications/lofar2/libraries/sdp/tb/vhdl/tb_sdp_statistics_offload.vhd
+
12
−
3
View file @
2d6e2e16
...
@@ -286,13 +286,23 @@ BEGIN
...
@@ -286,13 +286,23 @@ BEGIN
BEGIN
BEGIN
proc_common_wait_until_high
(
mm_clk
,
init_ram_done
);
proc_common_wait_until_high
(
mm_clk
,
init_ram_done
);
proc_common_wait_some_cycles
(
dp_clk
,
10
);
proc_common_wait_some_cycles
(
dp_clk
,
10
);
-- Mark first in_sosi.sync interval, starting and ending somewhat before in_sosi.sync, to
-- ensure that one in_sosi.sync occurs during new_interval. Use c_nof_clk_per_block as
-- sufficient margin to allow for some latency between new_interval and in_sosi.sync.
new_interval
<=
'1'
;
proc_common_wait_some_cycles
(
dp_clk
,
c_nof_clk_per_block
);
-- Start active in_sosi
in_sosi
.
bsn
<=
TO_DP_BSN
(
c_bsn_init
);
in_sosi
.
bsn
<=
TO_DP_BSN
(
c_bsn_init
);
in_sosi
.
valid
<=
'1'
;
in_sosi
.
valid
<=
'1'
;
in_crosslets_info_rec
<=
c_crosslets_info_rec
;
in_crosslets_info_rec
<=
c_crosslets_info_rec
;
new_interval
<=
'1'
;
-- mark first in_sosi.sync interval
WHILE
TRUE
LOOP
WHILE
TRUE
LOOP
-- One in_sosi.sync interval
-- One in_sosi.sync interval
per LOOP
FOR
i
IN
0
TO
c_nof_block_per_sync
-1
LOOP
FOR
i
IN
0
TO
c_nof_block_per_sync
-1
LOOP
-- End new_interval somewhat before next in_sosi.sync
IF
i
=
c_nof_block_per_sync
-1
THEN
new_interval
<=
'0'
;
END
IF
;
-- One in_sosi.sop/eop block per LOOP
FOR
j
IN
0
TO
c_nof_clk_per_block
-1
LOOP
FOR
j
IN
0
TO
c_nof_clk_per_block
-1
LOOP
in_sosi
.
sync
<=
'0'
;
in_sosi
.
sync
<=
'0'
;
in_sosi
.
sop
<=
'0'
;
in_sosi
.
sop
<=
'0'
;
...
@@ -314,7 +324,6 @@ BEGIN
...
@@ -314,7 +324,6 @@ BEGIN
proc_common_wait_some_cycles
(
dp_clk
,
1
);
proc_common_wait_some_cycles
(
dp_clk
,
1
);
END
LOOP
;
END
LOOP
;
END
LOOP
;
END
LOOP
;
new_interval
<=
'0'
;
END
LOOP
;
END
LOOP
;
WAIT
;
WAIT
;
END
PROCESS
;
END
PROCESS
;
...
...
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