Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
general-cores
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
DAQ
Externals
general-cores
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
No related branches found
No related tags found
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
...
@@ -81,12 +81,12 @@ architecture syn of inferred_sync_fifo is
signal
guard_bit
:
std_logic
;
signal
guard_bit
:
std_logic
;
signal
q_comb
:
std_logic_vector
(
g_data_width
-1
downto
0
);
signal
q_comb
:
std_logic_vector
(
g_data_width
-1
downto
0
);
begin
-- syn
begin
-- syn
we_int
<=
we_i
and
not
full
;
we_int
<=
we_i
and
not
full
;
rd_int
<=
rd_i
and
not
empty
;
rd_int
<=
rd_i
and
not
empty
;
U_FIFO_Ram
:
generic_dpram
U_FIFO_Ram
:
generic_dpram
generic
map
(
generic
map
(
g_data_width
=>
g_data_width
,
g_data_width
=>
g_data_width
,
...
@@ -104,7 +104,7 @@ begin -- syn
...
@@ -104,7 +104,7 @@ begin -- syn
ab_i
=>
std_logic_vector
(
rd_ptr_muxed
(
c_pointer_width
-1
downto
0
)),
ab_i
=>
std_logic_vector
(
rd_ptr_muxed
(
c_pointer_width
-1
downto
0
)),
qb_o
=>
q_comb
);
qb_o
=>
q_comb
);
p
rocess
(
rd_ptr
,
rd_i
,
rd_
int
)
p
_rd_ptr_mux
:
process
(
rd_i
nt
,
rd_
ptr
)
begin
begin
if
(
rd_int
=
'1'
and
g_show_ahead
)
then
if
(
rd_int
=
'1'
and
g_show_ahead
)
then
rd_ptr_muxed
<=
rd_ptr
+
1
;
rd_ptr_muxed
<=
rd_ptr
+
1
;
...
@@ -113,7 +113,7 @@ begin -- syn
...
@@ -113,7 +113,7 @@ begin -- syn
else
else
rd_ptr_muxed
<=
rd_ptr
-
1
;
rd_ptr_muxed
<=
rd_ptr
-
1
;
end
if
;
end
if
;
end
process
;
end
process
p_rd_ptr_mux
;
q_o
<=
q_comb
;
q_o
<=
q_comb
;
...
@@ -173,7 +173,7 @@ begin -- syn
...
@@ -173,7 +173,7 @@ begin -- syn
p_reg_flags
:
process
(
clk_i
)
p_reg_flags
:
process
(
clk_i
)
begin
begin
if
rising_edge
(
clk_i
)
then
if
rising_edge
(
clk_i
)
then
if
(
rst_n_i
=
'0'
)
then
if
(
rst_n_i
=
'0'
)
then
full
<=
'0'
;
full
<=
'0'
;
empty
<=
'1'
;
empty
<=
'1'
;
...
@@ -190,7 +190,7 @@ begin -- syn
...
@@ -190,7 +190,7 @@ begin -- syn
full
<=
'0'
;
full
<=
'0'
;
end
if
;
end
if
;
end
if
;
end
if
;
end
if
;
end
if
;
end
process
;
end
process
;
end
generate
gen_registered_flags
;
end
generate
gen_registered_flags
;
...
...
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