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
2b32d0bf
Commit
2b32d0bf
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Add reg_adr_span.
parent
6f67251d
Branches
Branches containing commit
No related tags found
1 merge request
!288
Resolve L2SDP-836
Pipeline
#38134
passed
2 years ago
Stage: simulation
Stage: synthesis
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/src/vhdl/dp_components_pkg.vhd
+5
-3
5 additions, 3 deletions
libraries/base/dp/src/vhdl/dp_components_pkg.vhd
with
5 additions
and
3 deletions
libraries/base/dp/src/vhdl/dp_components_pkg.vhd
+
5
−
3
View file @
2b32d0bf
...
...
@@ -33,10 +33,12 @@ PACKAGE dp_components_pkg IS
CONSTANT
c_dp_clk_MHz
:
NATURAL
:
=
200
;
CONSTANT
c_dp_sync_timeout
:
NATURAL
:
=
c_dp_clk_MHz
*
10
**
6
+
c_dp_clk_MHz
*
10
**
5
;
-- 10% margin for nominal 1 s
CONSTANT
c_dp_bsn_monitor_v2_reg_adr_w
:
NATURAL
:
=
ceil_log2
(
7
);
-- = 3
CONSTANT
c_dp_bsn_monitor_v2_reg_adr_w
:
NATURAL
:
=
ceil_log2
(
7
);
-- = 3
CONSTANT
c_dp_bsn_monitor_v2_reg_adr_span
:
NATURAL
:
=
2
**
c_dp_bsn_monitor_v2_reg_adr_w
;
-- = 8
CONSTANT
c_dp_strobe_total_count_reg_adr_w
:
NATURAL
:
=
ceil_log2
(
15
*
2
+
1
);
-- = 5
CONSTANT
c_dp_strobe_total_count_nof_counts_max
:
NATURAL
:
=
2
**
c_dp_strobe_total_count_reg_adr_w
/
2
-
1
;
CONSTANT
c_dp_strobe_total_count_reg_adr_w
:
NATURAL
:
=
ceil_log2
(
15
*
2
+
1
);
-- = 5
CONSTANT
c_dp_strobe_total_count_reg_adr_span
:
NATURAL
:
=
2
**
c_dp_strobe_total_count_reg_adr_w
;
-- = 32
CONSTANT
c_dp_strobe_total_count_nof_counts_max
:
NATURAL
:
=
2
**
c_dp_strobe_total_count_reg_adr_w
/
2
-
1
;
-- = 15
END
dp_components_pkg
;
...
...
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