Skip to content
GitLab
Explore
Sign in
Register
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
505e3c2b
Commit
505e3c2b
authored
1 year ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Use RESIZE_DP_DSP_UDATA() for counter stimuli in re, im.
parent
d1778e4f
No related branches found
No related tags found
1 merge request
!357
Move func_sdp_bdo_cep_hdr_field_sel_dest() from sdp_bdo_pkg to...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/tb/vhdl/dp_stream_stimuli.vhd
+2
-2
2 additions, 2 deletions
libraries/base/dp/tb/vhdl/dp_stream_stimuli.vhd
with
2 additions
and
2 deletions
libraries/base/dp/tb/vhdl/dp_stream_stimuli.vhd
+
2
−
2
View file @
505e3c2b
...
@@ -143,9 +143,9 @@ begin
...
@@ -143,9 +143,9 @@ begin
v_sosi
.
data
:
=
RESIZE_DP_DATA
(
v_sosi
.
data
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
v_sosi
.
data
:
=
RESIZE_DP_DATA
(
v_sosi
.
data
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
else
else
v_sosi
.
re
:
=
INCR_UVEC
(
v_sosi
.
re
,
g_pkt_len
);
v_sosi
.
re
:
=
INCR_UVEC
(
v_sosi
.
re
,
g_pkt_len
);
v_sosi
.
re
:
=
RESIZE_DP_DSP_DATA
(
v_sosi
.
re
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
v_sosi
.
re
:
=
RESIZE_DP_DSP_
U
DATA
(
v_sosi
.
re
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
v_sosi
.
im
:
=
INCR_UVEC
(
v_sosi
.
im
,
g_pkt_len
);
v_sosi
.
im
:
=
INCR_UVEC
(
v_sosi
.
im
,
g_pkt_len
);
v_sosi
.
im
:
=
RESIZE_DP_DSP_DATA
(
v_sosi
.
im
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
v_sosi
.
im
:
=
RESIZE_DP_DSP_
U
DATA
(
v_sosi
.
im
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
end
if
;
end
if
;
-- Send packet
-- Send packet
if
g_use_complex
=
false
then
if
g_use_complex
=
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