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
c22f5837
Commit
c22f5837
authored
3 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added monitor RO field for g_block_size.
parent
e61db2e7
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/src/vhdl/mmp_dp_bsn_sync_scheduler.vhd
+3
-1
3 additions, 1 deletion
libraries/base/dp/src/vhdl/mmp_dp_bsn_sync_scheduler.vhd
with
3 additions
and
1 deletion
libraries/base/dp/src/vhdl/mmp_dp_bsn_sync_scheduler.vhd
+
3
−
1
View file @
c22f5837
...
...
@@ -32,6 +32,7 @@
-- 8 [0] RO boolean mon_output_enable, '1' is on, '0' is FALSE is off
-- 9 [31:0] RO uint64 mon_output_sync_bsn[31:0]
-- 10 [31:0] RO mon_output_sync_bsn[63:32]
-- 11 [31:0] RO uint32 block_size[31:0]
--
-- * Do not use reg_wr_arr[0] in dp_clk domain to detect ctrl_enable_evt,
-- because reg_wr_arr pulses occur before the reg_wr data arrives in the
...
...
@@ -91,7 +92,7 @@ ARCHITECTURE str OF mmp_dp_bsn_sync_scheduler IS
-- dat_w : NATURAL;
-- nof_dat : NATURAL; -- optional, nof dat words <= 2**adr_w
-- init_sl : STD_LOGIC; -- optional, init all dat words to std_logic '0', '1' or 'X'
CONSTANT
c_mm_reg
:
t_c_mem
:
=
(
1
,
4
,
c_word_w
,
1
1
,
'0'
);
CONSTANT
c_mm_reg
:
t_c_mem
:
=
(
1
,
4
,
c_word_w
,
1
2
,
'0'
);
SIGNAL
reg_wr_arr
:
STD_LOGIC_VECTOR
(
c_mm_reg
.
nof_dat
-1
DOWNTO
0
);
SIGNAL
reg_wr
:
STD_LOGIC_VECTOR
(
c_mm_reg
.
nof_dat
*
c_mm_reg
.
dat_w
-1
DOWNTO
0
);
...
...
@@ -158,6 +159,7 @@ BEGIN
reg_rd
(
8
*
c_word_w
)
<=
mon_output_enable
;
reg_rd
(
10
*
c_word_w
-1
DOWNTO
9
*
c_word_w
)
<=
rd_output_sync_bsn_64
(
c_word_w
-1
DOWNTO
0
);
-- low word
reg_rd
(
11
*
c_word_w
-1
DOWNTO
10
*
c_word_w
)
<=
rd_output_sync_bsn_64
(
2
*
c_word_w
-1
DOWNTO
c_word_w
);
-- high word
reg_rd
(
12
*
c_word_w
-1
DOWNTO
11
*
c_word_w
)
<=
TO_UVEC
(
g_block_size
,
c_word_w
);
u_common_reg_r_w_dc
:
ENTITY
common_lib
.
common_reg_r_w_dc
GENERIC
MAP
(
...
...
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