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
33a713a5
Commit
33a713a5
authored
1 year ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Use g_fifo_note_is_ful for FIFOs.
parent
8bbea39c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/src/vhdl/dp_block_validate_err.vhd
+4
-2
4 additions, 2 deletions
libraries/base/dp/src/vhdl/dp_block_validate_err.vhd
with
4 additions
and
2 deletions
libraries/base/dp/src/vhdl/dp_block_validate_err.vhd
+
4
−
2
View file @
33a713a5
...
...
@@ -120,7 +120,8 @@ entity dp_block_validate_err is
end
dp_block_validate_err
;
architecture
rtl
of
dp_block_validate_err
is
constant
c_nof_err_ok
:
natural
:
=
ceil_div
(
g_max_block_size
,
g_min_block_size
);
-- use +1 margin for c_nof_err_ok
constant
c_nof_err_ok
:
natural
:
=
ceil_div
(
g_max_block_size
,
g_min_block_size
)
+
1
;
constant
c_nof_regs
:
natural
:
=
g_nof_err_counts
+
1
+
2
+
1
;
constant
c_clear_adr
:
natural
:
=
c_nof_regs
-
1
;
...
...
@@ -293,7 +294,7 @@ begin
out_reg
=>
open
-- no write
);
u_fifo_fill_eop
:
entity
work
.
dp_fifo_fill_eop_sc
u_fifo_fill_eop
_sc
:
entity
work
.
dp_fifo_fill_eop_sc
generic
map
(
g_note_is_ful
=>
g_fifo_note_is_ful
,
g_data_w
=>
g_data_w
,
...
...
@@ -349,6 +350,7 @@ begin
u_fifo_err_ok
:
entity
common_lib
.
common_fifo_sc
generic
map
(
g_note_is_ful
=>
g_fifo_note_is_ful
,
g_dat_w
=>
1
,
g_nof_words
=>
c_nof_err_ok
)
...
...
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