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
83506a4c
Commit
83506a4c
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Rename bsn into st_bsn.
parent
2a2db8ce
No related branches found
No related tags found
1 merge request
!270
Resolve L2SDP-791
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/lofar2/libraries/sdp/tb/vhdl/tb_sdp_crosslets_subband_select.vhd
+6
-7
6 additions, 7 deletions
...libraries/sdp/tb/vhdl/tb_sdp_crosslets_subband_select.vhd
with
6 additions
and
7 deletions
applications/lofar2/libraries/sdp/tb/vhdl/tb_sdp_crosslets_subband_select.vhd
+
6
−
7
View file @
83506a4c
...
...
@@ -84,12 +84,11 @@ ARCHITECTURE tb OF tb_sdp_crosslets_subband_select IS
SIGNAL
mm_trigger_miso
:
t_mem_miso
;
SIGNAL
st_en
:
STD_LOGIC
:
=
'1'
;
SIGNAL
st_bsn
:
NATURAL
:
=
c_scheduled_bsn
-
c_nof_block_dly
;
SIGNAL
st_siso_arr
:
t_dp_siso_arr
(
c_sdp_P_pfb
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
c_dp_siso_rdy
);
SIGNAL
st_sosi_arr
:
t_dp_sosi_arr
(
c_sdp_P_pfb
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
c_dp_sosi_rst
);
SIGNAL
exp_sosi
:
t_dp_sosi
:
=
c_dp_sosi_rst
;
SIGNAL
bsn
:
NATURAL
:
=
c_scheduled_bsn
-
c_nof_block_dly
;
SIGNAL
in_sosi_arr
:
t_dp_sosi_arr
(
c_sdp_P_pfb
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
c_dp_sosi_rst
);
SIGNAL
out_sosi
:
t_dp_sosi
;
...
...
@@ -106,7 +105,7 @@ BEGIN
rst
<=
'1'
,
'0'
AFTER
c_clk_period
*
7
;
p_mm_stimuli
:
PROCESS
VARIABLE
k
:
NATURAL
;
VARIABLE
k
:
NATURAL
;
BEGIN
proc_common_wait_until_low
(
mm_clk
,
rst
);
proc_common_wait_some_cycles
(
mm_clk
,
50
);
-- Give dut some time to start
...
...
@@ -198,14 +197,14 @@ BEGIN
END
GENERATE
;
-- Time stimuli
bsn
<=
bsn
+
1
WHEN
rising_edge
(
clk
)
AND
(
st_sosi_arr
(
0
)
.
eop
=
'1'
);
st_
bsn
<=
st_
bsn
+
1
WHEN
rising_edge
(
clk
)
AND
(
st_sosi_arr
(
0
)
.
eop
=
'1'
);
-- Add BSN to the ST data
p_in_sosi
:
PROCESS
(
st_sosi_arr
,
bsn
)
p_in_sosi
:
PROCESS
(
st_sosi_arr
,
st_
bsn
)
BEGIN
in_sosi_arr
<=
st_sosi_arr
;
FOR
I
IN
0
TO
c_sdp_P_pfb
-1
LOOP
in_sosi_arr
(
I
)
<=
st_sosi_arr
(
I
);
in_sosi_arr
(
I
)
.
bsn
<=
TO_DP_BSN
(
bsn
);
in_sosi_arr
(
I
)
.
bsn
<=
TO_DP_BSN
(
st_bsn
);
END
LOOP
;
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