Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Platform-independent core collection
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Platform-independent core collection
Commits
c1eceba0
Commit
c1eceba0
authored
6 years ago
by
Dimitris Lampridis
Browse files
Options
Downloads
Patches
Plain Diff
hdl: add label and fix sensitivity list for p_rd_ptr_mux process in inferred sync fifo
parent
c8205156
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/genrams/common/inferred_sync_fifo.vhd
+6
-6
6 additions, 6 deletions
modules/genrams/common/inferred_sync_fifo.vhd
with
6 additions
and
6 deletions
modules/genrams/common/inferred_sync_fifo.vhd
+
6
−
6
View file @
c1eceba0
...
...
@@ -81,12 +81,12 @@ architecture syn of inferred_sync_fifo is
signal
guard_bit
:
std_logic
;
signal
q_comb
:
std_logic_vector
(
g_data_width
-1
downto
0
);
begin
-- syn
we_int
<=
we_i
and
not
full
;
rd_int
<=
rd_i
and
not
empty
;
U_FIFO_Ram
:
generic_dpram
generic
map
(
g_data_width
=>
g_data_width
,
...
...
@@ -104,7 +104,7 @@ begin -- syn
ab_i
=>
std_logic_vector
(
rd_ptr_muxed
(
c_pointer_width
-1
downto
0
)),
qb_o
=>
q_comb
);
p
rocess
(
rd_ptr
,
rd_i
,
rd_
int
)
p
_rd_ptr_mux
:
process
(
rd_i
nt
,
rd_
ptr
)
begin
if
(
rd_int
=
'1'
and
g_show_ahead
)
then
rd_ptr_muxed
<=
rd_ptr
+
1
;
...
...
@@ -113,7 +113,7 @@ begin -- syn
else
rd_ptr_muxed
<=
rd_ptr
-
1
;
end
if
;
end
process
;
end
process
p_rd_ptr_mux
;
q_o
<=
q_comb
;
...
...
@@ -173,7 +173,7 @@ begin -- syn
p_reg_flags
:
process
(
clk_i
)
begin
if
rising_edge
(
clk_i
)
then
if
(
rst_n_i
=
'0'
)
then
full
<=
'0'
;
empty
<=
'1'
;
...
...
@@ -190,7 +190,7 @@ begin -- syn
full
<=
'0'
;
end
if
;
end
if
;
end
if
;
end
process
;
end
generate
gen_registered_flags
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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