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
d436c4cb
Commit
d436c4cb
authored
1 year ago
by
David Brouwer
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into
RTSD-181
parents
51819c68
7ad0797b
No related branches found
No related tags found
1 merge request
!363
Porting ram for Intel Agilex 7
Checking pipeline status
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/tb/vhdl/dp_stream_stimuli.vhd
+9
-6
9 additions, 6 deletions
libraries/base/dp/tb/vhdl/dp_stream_stimuli.vhd
with
9 additions
and
6 deletions
libraries/base/dp/tb/vhdl/dp_stream_stimuli.vhd
+
9
−
6
View file @
d436c4cb
...
@@ -177,12 +177,15 @@ begin
...
@@ -177,12 +177,15 @@ begin
v_last
.
channel
:
=
TO_DP_CHANNEL
(
g_channel_init
+
(
g_nof_repeat
-
1
)
*
g_channel_incr
);
v_last
.
channel
:
=
TO_DP_CHANNEL
(
g_channel_init
+
(
g_nof_repeat
-
1
)
*
g_channel_incr
);
v_last
.
err
:
=
TO_DP_ERROR
(
g_err_init
+
(
g_nof_repeat
-
1
)
*
g_err_incr
);
v_last
.
err
:
=
TO_DP_ERROR
(
g_err_init
+
(
g_nof_repeat
-
1
)
*
g_err_incr
);
-- . account for g_pkt_len
-- . account for g_pkt_len
v_last
.
data
:
=
INCR_UVEC
(
v_sosi
.
data
,
g_pkt_len
-
1
);
if
g_use_complex
=
false
then
v_last
.
data
:
=
RESIZE_DP_DATA
(
v_last
.
data
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
v_last
.
data
:
=
INCR_UVEC
(
v_sosi
.
data
,
g_pkt_len
-
1
);
v_last
.
re
:
=
INCR_UVEC
(
v_sosi
.
re
,
g_pkt_len
-
1
);
v_last
.
data
:
=
RESIZE_DP_DATA
(
v_last
.
data
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
v_last
.
re
:
=
RESIZE_DP_DSP_DATA
(
v_last
.
re
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
else
v_last
.
im
:
=
INCR_UVEC
(
v_sosi
.
im
,
g_pkt_len
-
1
);
v_last
.
re
:
=
INCR_UVEC
(
v_sosi
.
re
,
g_pkt_len
-
1
);
v_last
.
im
:
=
RESIZE_DP_DSP_DATA
(
v_last
.
im
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
v_last
.
re
:
=
RESIZE_DP_DSP_DATA
(
v_last
.
re
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
v_last
.
im
:
=
INCR_UVEC
(
v_sosi
.
im
,
g_pkt_len
-
1
);
v_last
.
im
:
=
RESIZE_DP_DSP_DATA
(
v_last
.
im
(
g_in_dat_w
-
1
downto
0
));
-- wrap when >= 2**g_in_dat_w
end
if
;
last_snk_in
<=
v_last
;
last_snk_in
<=
v_last
;
-- Signal end of stimuli
-- Signal end of stimuli
...
...
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