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
0fac6976
Commit
0fac6976
authored
3 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added dbg_out_sosi_* signals.
parent
fadf0653
No related branches found
No related tags found
1 merge request
!132
Renamed proc_dp_verify_sync_v2() into overloaded proc_dp_verify_sync() and...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/tb/vhdl/tb_dp_bsn_sync_interval.vhd
+13
-4
13 additions, 4 deletions
libraries/base/dp/tb/vhdl/tb_dp_bsn_sync_interval.vhd
with
13 additions
and
4 deletions
libraries/base/dp/tb/vhdl/tb_dp_bsn_sync_interval.vhd
+
13
−
4
View file @
0fac6976
...
@@ -114,7 +114,7 @@ ARCHITECTURE tb OF tb_dp_bsn_sync_interval IS
...
@@ -114,7 +114,7 @@ ARCHITECTURE tb OF tb_dp_bsn_sync_interval IS
SIGNAL
ctrl_enable
:
STD_LOGIC
:
=
'0'
;
SIGNAL
ctrl_enable
:
STD_LOGIC
:
=
'0'
;
SIGNAL
ctrl_enable_evt
:
STD_LOGIC
:
=
'0'
;
SIGNAL
ctrl_enable_evt
:
STD_LOGIC
:
=
'0'
;
SIGNAL
ctrl_interval_size
:
NATURAL
:
=
c_nof_samples_per_output_sync
;
SIGNAL
ctrl_interval_size
:
NATURAL
:
=
c_nof_samples_per_output_sync
;
SIGNAL
ctrl_start_bsn
:
STD_LOGIC_VECTOR
(
c_bsn_w
-1
DOWNTO
0
);
SIGNAL
ctrl_start_bsn
:
STD_LOGIC_VECTOR
(
c_bsn_w
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
'0'
)
;
SIGNAL
mon_input_current_bsn
:
STD_LOGIC_VECTOR
(
c_bsn_w
-1
DOWNTO
0
);
SIGNAL
mon_input_current_bsn
:
STD_LOGIC_VECTOR
(
c_bsn_w
-1
DOWNTO
0
);
SIGNAL
mon_input_bsn_at_sync
:
STD_LOGIC_VECTOR
(
c_bsn_w
-1
DOWNTO
0
);
SIGNAL
mon_input_bsn_at_sync
:
STD_LOGIC_VECTOR
(
c_bsn_w
-1
DOWNTO
0
);
SIGNAL
mon_output_enable
:
STD_LOGIC
;
SIGNAL
mon_output_enable
:
STD_LOGIC
;
...
@@ -146,10 +146,15 @@ ARCHITECTURE tb OF tb_dp_bsn_sync_interval IS
...
@@ -146,10 +146,15 @@ ARCHITECTURE tb OF tb_dp_bsn_sync_interval IS
SIGNAL
pending_out_disable
:
STD_LOGIC
:
=
'0'
;
SIGNAL
pending_out_disable
:
STD_LOGIC
:
=
'0'
;
SIGNAL
expected_out_enable
:
STD_LOGIC
:
=
'0'
;
SIGNAL
expected_out_enable
:
STD_LOGIC
:
=
'0'
;
SIGNAL
expecting_out_start
:
STD_LOGIC
:
=
'0'
;
SIGNAL
expecting_out_start
:
STD_LOGIC
:
=
'0'
;
SIGNAL
dbg_nof_blk
:
NATURAL
:
=
0
;
SIGNAL
dbg_extra
:
NATURAL
:
=
0
;
SIGNAL
dbg_expected_bsn
:
NATURAL
:
=
0
;
SIGNAL
dbg_out_sosi_sync
:
STD_LOGIC
;
SIGNAL
dbg_out_sosi_sop
:
STD_LOGIC
;
SIGNAL
dbg_out_sosi_bsn
:
NATURAL
;
SIGNAL
dbg_expected_bsn
:
NATURAL
:
=
0
;
SIGNAL
dbg_nof_blk
:
NATURAL
:
=
0
;
SIGNAL
dbg_extra
:
NATURAL
:
=
0
;
-- Local procedures
PROCEDURE
proc_output_enable
(
SIGNAL
clk
:
IN
STD_LOGIC
;
PROCEDURE
proc_output_enable
(
SIGNAL
clk
:
IN
STD_LOGIC
;
SIGNAL
cnt
:
IN
INTEGER
;
SIGNAL
cnt
:
IN
INTEGER
;
SIGNAL
mon_input_bsn_at_sync
:
IN
STD_LOGIC_VECTOR
(
c_bsn_w
-1
DOWNTO
0
);
SIGNAL
mon_input_bsn_at_sync
:
IN
STD_LOGIC_VECTOR
(
c_bsn_w
-1
DOWNTO
0
);
...
@@ -438,6 +443,10 @@ BEGIN
...
@@ -438,6 +443,10 @@ BEGIN
dbg_extra
,
dbg_extra
,
dbg_expected_bsn
);
dbg_expected_bsn
);
dbg_out_sosi_sync
<=
out_sosi
.
sync
;
dbg_out_sosi_sop
<=
out_sosi
.
sop
;
dbg_out_sosi_bsn
<=
TO_UINT
(
out_sosi
.
bsn
);
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- . Verify mon_output_sync_bsn
-- . Verify mon_output_sync_bsn
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
...
...
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