Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Platform-independent core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Platform-independent core collection
Commits
18aa38ce
Commit
18aa38ce
authored
Oct 03, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
genrams/inferred_sync_fifo: assert full flag one cycle in advance
parent
40f9143d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
inferred_sync_fifo.vhd
modules/genrams/inferred_sync_fifo.vhd
+4
-4
No files found.
modules/genrams/inferred_sync_fifo.vhd
View file @
18aa38ce
...
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski
-- Company : CERN BE-CO-HT
-- Created : 2011-01-25
-- Last update: 2012-0
7
-18
-- Last update: 2012-0
9
-18
-- Platform :
-- Standard : VHDL'93
-------------------------------------------------------------------------------
...
...
@@ -45,7 +45,7 @@ entity inferred_sync_fifo is
g_almost_empty_threshold
:
integer
:
=
0
;
-- threshold for almost empty flag
g_almost_full_threshold
:
integer
:
=
0
;
-- threshold for almost full flag
g_register_flag_outputs
:
boolean
:
=
fals
e
g_register_flag_outputs
:
boolean
:
=
tru
e
);
port
(
...
...
@@ -194,9 +194,9 @@ begin -- syn
empty
<=
'0'
;
end
if
;
if
(
usedw
=
g_size
-
1
and
we_i
=
'1'
and
rd_i
=
'0'
)
then
if
(
usedw
=
g_size
-
2
and
we_i
=
'1'
and
rd_i
=
'0'
)
then
full
<=
'1'
;
elsif
(
rd_i
=
'1'
and
we_i
=
'0'
)
then
elsif
(
usedw
=
g_size
-1
and
rd_i
=
'1'
and
we_i
=
'0'
)
then
full
<=
'0'
;
end
if
;
end
if
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment