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
258b4a4f
Commit
258b4a4f
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Use c_tb_timeout to raise ERROR if there is no result.
parent
b331f7ef
No related branches found
No related tags found
1 merge request
!289
Rename c_sdp_W_fsub_wg into c_sdp_W_local_oscillator. Use...
Pipeline
#38756
passed
2 years ago
Stage: simulation
Stage: synthesis
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/io/nw_10GbE/tb/vhdl/tb_nw_arp_request.vhd
+4
-1
4 additions, 1 deletion
libraries/io/nw_10GbE/tb/vhdl/tb_nw_arp_request.vhd
libraries/io/nw_10GbE/tb/vhdl/tb_nw_ping_response.vhd
+4
-1
4 additions, 1 deletion
libraries/io/nw_10GbE/tb/vhdl/tb_nw_ping_response.vhd
with
8 additions
and
2 deletions
libraries/io/nw_10GbE/tb/vhdl/tb_nw_arp_request.vhd
+
4
−
1
View file @
258b4a4f
...
...
@@ -45,6 +45,9 @@ END tb_nw_arp_request;
ARCHITECTURE
tb
OF
tb_nw_arp_request
IS
-- Use c_tb_timeout to raise ERROR if there is no result
CONSTANT
c_tb_timeout
:
NATURAL
:
=
100
;
SIGNAL
tb_end
:
STD_LOGIC
:
=
'0'
;
SIGNAL
clk
:
STD_LOGIC
:
=
'1'
;
SIGNAL
dp_pps
:
STD_LOGIC
:
=
'1'
;
...
...
@@ -77,7 +80,7 @@ BEGIN
dp_pps
<=
'0'
;
proc_common_wait_some_cycles
(
clk
,
10
);
src_in
.
ready
<=
'1'
;
proc_common_wait_until_evt
(
clk
,
src_out
.
eop
);
proc_common_wait_until_evt
(
c_tb_timeout
,
clk
,
src_out
.
eop
);
tb_end
<=
'1'
;
-- End with WAIT to avoid Warning: (vcom-1090) Possible infinite loop:
-- Process contains no WAIT statement.
...
...
This diff is collapsed.
Click to expand it.
libraries/io/nw_10GbE/tb/vhdl/tb_nw_ping_response.vhd
+
4
−
1
View file @
258b4a4f
...
...
@@ -42,6 +42,9 @@ END tb_nw_ping_response;
ARCHITECTURE
tb
OF
tb_nw_ping_response
IS
-- Use c_tb_timeout to raise ERROR if there is no result
CONSTANT
c_tb_timeout
:
NATURAL
:
=
100
;
CONSTANT
c_data_w
:
NATURAL
:
=
64
;
CONSTANT
c_nof_ping_packet_fields
:
NATURAL
:
=
21
;
...
...
@@ -183,7 +186,7 @@ BEGIN
p_tb_end
:
PROCESS
BEGIN
FOR
I
IN
0
TO
2
*
c_nof_ping_responses
LOOP
proc_common_wait_until_evt
(
clk
,
nw_ping_response_src_out
.
eop
);
proc_common_wait_until_evt
(
c_tb_timeout
,
clk
,
nw_ping_response_src_out
.
eop
);
END
LOOP
;
tb_end
<=
'1'
;
-- End with WAIT to avoid Warning: (vcom-1090) Possible infinite loop:
...
...
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