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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
8164bf1c
Commit
8164bf1c
authored
8 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added g_align_at_sync to tb and tb_tb, but only verified it manually in wave window with tb.
parent
a923c820
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/base/dp/tb/vhdl/tb_dp_packet_merge.vhd
+3
-1
3 additions, 1 deletion
libraries/base/dp/tb/vhdl/tb_dp_packet_merge.vhd
libraries/base/dp/tb/vhdl/tb_tb_dp_packet_merge.vhd
+16
-15
16 additions, 15 deletions
libraries/base/dp/tb/vhdl/tb_tb_dp_packet_merge.vhd
with
19 additions
and
16 deletions
libraries/base/dp/tb/vhdl/tb_dp_packet_merge.vhd
+
3
−
1
View file @
8164bf1c
...
@@ -65,6 +65,7 @@ ENTITY tb_dp_packet_merge IS
...
@@ -65,6 +65,7 @@ ENTITY tb_dp_packet_merge IS
g_nof_pkt
:
NATURAL
:
=
3
;
g_nof_pkt
:
NATURAL
:
=
3
;
g_pkt_len
:
NATURAL
:
=
10
;
g_pkt_len
:
NATURAL
:
=
10
;
g_pkt_gap
:
NATURAL
:
=
0
;
g_pkt_gap
:
NATURAL
:
=
0
;
g_align_at_sync
:
BOOLEAN
:
=
FALSE
;
g_use_dp_packet_unmerge
:
BOOLEAN
:
=
FALSE
g_use_dp_packet_unmerge
:
BOOLEAN
:
=
FALSE
);
);
END
tb_dp_packet_merge
;
END
tb_dp_packet_merge
;
...
@@ -257,7 +258,8 @@ BEGIN
...
@@ -257,7 +258,8 @@ BEGIN
-- Merge every g_nof_pkt incomming packets into output packets
-- Merge every g_nof_pkt incomming packets into output packets
u_dp_packet_merge
:
ENTITY
work
.
dp_packet_merge
u_dp_packet_merge
:
ENTITY
work
.
dp_packet_merge
GENERIC
MAP
(
GENERIC
MAP
(
g_nof_pkt
=>
g_nof_pkt
g_nof_pkt
=>
g_nof_pkt
,
g_align_at_sync
=>
g_align_at_sync
)
)
PORT
MAP
(
PORT
MAP
(
rst
=>
rst
,
rst
=>
rst
,
...
...
This diff is collapsed.
Click to expand it.
libraries/base/dp/tb/vhdl/tb_tb_dp_packet_merge.vhd
+
16
−
15
View file @
8164bf1c
...
@@ -50,24 +50,25 @@ BEGIN
...
@@ -50,24 +50,25 @@ BEGIN
-- g_nof_pkt : NATURAL := 3;
-- g_nof_pkt : NATURAL := 3;
-- g_pkt_len : NATURAL := 29;
-- g_pkt_len : NATURAL := 29;
-- g_pkt_gap : NATURAL := 0;
-- g_pkt_gap : NATURAL := 0;
-- g_align_at_sync : BOOLEAN := FALSE;
-- g_use_dp_packet_unmerge : BOOLEAN := FALSE
-- g_use_dp_packet_unmerge : BOOLEAN := FALSE
u_act_act_8_nof_0
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
0
,
29
,
0
,
FALSE
);
u_act_act_8_nof_0
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
0
,
29
,
0
,
FALSE
,
FALSE
);
u_act_act_8_nof_1
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
1
,
29
,
0
,
FALSE
);
u_act_act_8_nof_1
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
1
,
29
,
0
,
FALSE
,
FALSE
);
u_act_act_8_nof_2
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
2
,
29
,
0
,
FALSE
);
u_act_act_8_nof_2
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
2
,
29
,
0
,
FALSE
,
FALSE
);
u_act_act_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
);
u_act_act_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
,
FALSE
);
u_act_act_8_nof_4
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
4
,
29
,
0
,
FALSE
);
u_act_act_8_nof_4
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
4
,
29
,
0
,
FALSE
,
FALSE
);
u_act_act_8_nof_5
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
5
,
29
,
0
,
FALSE
);
u_act_act_8_nof_5
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
5
,
29
,
0
,
FALSE
,
FALSE
);
u_act_act_8_nof_6
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
6
,
29
,
0
,
FALSE
);
u_act_act_8_nof_6
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
6
,
29
,
0
,
FALSE
,
FALSE
);
u_act_act_8_nof_7
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
7
,
29
,
0
,
FALSE
);
u_act_act_8_nof_7
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_active
,
e_active
,
8
,
c_nof_repeat
,
7
,
29
,
0
,
FALSE
,
FALSE
);
u_rnd_act_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_random
,
e_active
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
);
u_rnd_act_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_random
,
e_active
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
,
FALSE
);
u_rnd_rnd_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_random
,
e_random
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
);
u_rnd_rnd_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_random
,
e_random
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
,
FALSE
);
u_pls_act_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_pulse
,
e_active
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
);
u_pls_act_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_pulse
,
e_active
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
,
FALSE
);
u_pls_rnd_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_pulse
,
e_random
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
);
u_pls_rnd_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_pulse
,
e_random
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
,
FALSE
);
u_pls_pls_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_pulse
,
e_pulse
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
);
u_pls_pls_8_nof_3
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_pulse
,
e_pulse
,
8
,
c_nof_repeat
,
3
,
29
,
0
,
FALSE
,
FALSE
);
u_rnd_act_8_nof_1
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_random
,
e_active
,
8
,
c_nof_repeat
,
1
,
29
,
0
,
FALSE
);
u_rnd_act_8_nof_1
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_random
,
e_active
,
8
,
c_nof_repeat
,
1
,
29
,
0
,
FALSE
,
FALSE
);
u_rnd_act_8_nof_3_gap
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_random
,
e_active
,
8
,
c_nof_repeat
,
3
,
29
,
17
,
FALSE
);
u_rnd_act_8_nof_3_gap
:
ENTITY
work
.
tb_dp_packet_merge
GENERIC
MAP
(
e_random
,
e_active
,
8
,
c_nof_repeat
,
3
,
29
,
17
,
FALSE
,
FALSE
);
END
tb
;
END
tb
;
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