Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
Gennum GN4124 core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Gennum GN4124 core
Commits
fd964ff1
Commit
fd964ff1
authored
Oct 27, 2023
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hdl: simplify l2p_dma_master fifo reset logic
parent
b60a5cf2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
19 deletions
+6
-19
l2p_dma_master.vhd
hdl/rtl/l2p_dma_master.vhd
+6
-19
No files found.
hdl/rtl/l2p_dma_master.vhd
View file @
fd964ff1
...
...
@@ -147,9 +147,6 @@ architecture arch of l2p_dma_master is
signal
data_fifo_full_next
:
std_logic
;
signal
data_fifo_rst_wr_n
:
std_logic
;
signal
data_fifo_rst_rd_n
:
std_logic
;
signal
fsm_fifo_rst_sync_n
:
std_logic
;
signal
rst_sync_n
:
std_logic
;
signal
wb_dma_rst_sync_n
:
std_logic
;
begin
...
...
@@ -486,29 +483,19 @@ begin
-- Flow Control FIFO (cross-clock domain)
-----------------------------------------
cmp_
wb_dma_rst
_n_sync
:
gc_sync
cmp_
data_fifo_rst_rd
_n_sync
:
gc_sync
port
map
(
clk_i
=>
clk_i
,
rst_n_a_i
=>
'1'
,
rst_n_a_i
=>
fsm_fifo_rst_n
,
d_i
=>
wb_dma_rst_n_i
,
q_o
=>
wb_dma_rst_sync
_n
);
q_o
=>
data_fifo_rst_rd
_n
);
cmp_
fsm_fifo_rst
_n_sync
:
gc_sync
cmp_
data_fifo_rst_wr
_n_sync
:
gc_sync
port
map
(
clk_i
=>
wb_dma_clk_i
,
rst_n_a_i
=>
'1'
,
rst_n_a_i
=>
wb_dma_rst_n_i
,
d_i
=>
fsm_fifo_rst_n
,
q_o
=>
fsm_fifo_rst_sync_n
);
cmp_rst_n_sync
:
gc_sync
port
map
(
clk_i
=>
wb_dma_clk_i
,
rst_n_a_i
=>
'1'
,
d_i
=>
rst_n_i
,
q_o
=>
rst_sync_n
);
data_fifo_rst_wr_n
<=
wb_dma_rst_n_i
and
fsm_fifo_rst_sync_n
and
rst_sync_n
;
data_fifo_rst_rd_n
<=
wb_dma_rst_sync_n
and
fsm_fifo_rst_n
and
rst_n_i
;
q_o
=>
data_fifo_rst_wr_n
);
p_fifo_full_delay_reg
:
process
(
wb_dma_clk_i
)
is
begin
...
...
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