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
44e4b9c5
Commit
44e4b9c5
authored
6 years ago
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
testbench should be skipped when te selected technology is not stratixiv
parent
e717ab72
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
applications/aartfaac/libraries/rsp_terminal/hdllib.cfg
+1
-1
1 addition, 1 deletion
applications/aartfaac/libraries/rsp_terminal/hdllib.cfg
applications/aartfaac/libraries/rsp_terminal/tb/vhdl/tb_tb_rsp_terminal.vhd
+6
-3
6 additions, 3 deletions
...aac/libraries/rsp_terminal/tb/vhdl/tb_tb_rsp_terminal.vhd
with
7 additions
and
4 deletions
applications/aartfaac/libraries/rsp_terminal/hdllib.cfg
+
1
−
1
View file @
44e4b9c5
hdl_lib_name
=
rsp_terminal
hdl_lib_name
=
rsp_terminal
hdl_library_clause_name
=
rsp_terminal_lib
hdl_library_clause_name
=
rsp_terminal_lib
hdl_lib_uses_synth
=
common dp diag
hdl_lib_uses_synth
=
common dp diag
hdl_lib_uses_sim
=
rsp_serdes tr_nonbonded
hdl_lib_uses_sim
=
rsp_serdes tr_nonbonded
technology
hdl_lib_technology
=
hdl_lib_technology
=
...
...
This diff is collapsed.
Click to expand it.
applications/aartfaac/libraries/rsp_terminal/tb/vhdl/tb_tb_rsp_terminal.vhd
+
6
−
3
View file @
44e4b9c5
...
@@ -20,9 +20,11 @@
...
@@ -20,9 +20,11 @@
--
--
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
LIBRARY
IEEE
;
LIBRARY
IEEE
,
technology_lib
;
USE
IEEE
.
std_logic_1164
.
ALL
;
USE
IEEE
.
std_logic_1164
.
ALL
;
USE
work
.
rsp_terminal_pkg
.
ALL
;
USE
work
.
rsp_terminal_pkg
.
ALL
;
USE
technology_lib
.
technology_pkg
.
ALL
;
USE
technology_lib
.
technology_select_pkg
.
ALL
;
-- > as 3
-- > as 3
-- > run -all --> OK, note that tb instances with g_phy_link_down_en=TRUE will cause expected 'Warning: rad_frame_rx timeout occurred!'
-- > run -all --> OK, note that tb instances with g_phy_link_down_en=TRUE will cause expected 'Warning: rad_frame_rx timeout occurred!'
...
@@ -64,12 +66,13 @@ BEGIN
...
@@ -64,12 +66,13 @@ BEGIN
u_trnb_model_align
:
ENTITY
work
.
tb_rsp_terminal
GENERIC
MAP
(
FALSE
,
12
,
TRUE
,
"TRNB"
,
1
,
FALSE
,
c_phy_xon_delay
,
c_phy_propagation_delay
)
PORT
MAP
(
tb_end_vec
(
7
));
u_trnb_model_align
:
ENTITY
work
.
tb_rsp_terminal
GENERIC
MAP
(
FALSE
,
12
,
TRUE
,
"TRNB"
,
1
,
FALSE
,
c_phy_xon_delay
,
c_phy_propagation_delay
)
PORT
MAP
(
tb_end_vec
(
7
));
u_trnb_phy
:
ENTITY
work
.
tb_rsp_terminal
GENERIC
MAP
(
FALSE
,
12
,
FALSE
,
"TRNB"
,
0
,
FALSE
,
c_phy_xon_delay
,
c_phy_propagation_delay
)
PORT
MAP
(
tb_end_vec
(
8
));
u_trnb_phy
:
ENTITY
work
.
tb_rsp_terminal
GENERIC
MAP
(
FALSE
,
12
,
FALSE
,
"TRNB"
,
0
,
FALSE
,
c_phy_xon_delay
,
c_phy_propagation_delay
)
PORT
MAP
(
tb_end_vec
(
8
));
tb_end
<=
'1'
WHEN
tb_end_vec
=
c_tb_end_vec
ELSE
'0'
;
tb_end
<=
'1'
WHEN
tb_end_vec
=
c_tb_end_vec
OR
c_tech_select_default
/=
c_tech_stratixiv
ELSE
'0'
;
p_tb_end
:
PROCESS
p_tb_end
:
PROCESS
BEGIN
BEGIN
WAIT
UNTIL
tb_end
=
'1'
;
WAIT
UNTIL
tb_end
=
'1'
;
WAIT
FOR
1
ns
;
ASSERT
(
c_tech_select_default
=
c_tech_stratixiv
)
REPORT
"Technology is not stratixiv, skipping testbench..."
SEVERITY
WARNING
;
WAIT
FOR
1
ms
;
REPORT
"Multi tb simulation finished."
SEVERITY
FAILURE
;
REPORT
"Multi tb simulation finished."
SEVERITY
FAILURE
;
WAIT
;
WAIT
;
END
PROCESS
;
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