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
e13fe484
Commit
e13fe484
authored
Aug 28, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor refactoring (remove useless signals).
parent
3fcafedb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
l2p_dma_master.vhd
hdl/rtl/l2p_dma_master.vhd
+2
-9
No files found.
hdl/rtl/l2p_dma_master.vhd
View file @
e13fe484
...
...
@@ -146,15 +146,9 @@ architecture behavioral of l2p_dma_master is
-- Wishbone
signal
l2p_dma_cyc_t
:
std_logic
;
signal
l2p_dma_stb_t
:
std_logic
;
signal
l2p_dma_sel_t
:
std_logic_vector
(
3
downto
0
)
:
=
(
others
=>
'0'
);
signal
l2p_dma_adr_t
:
std_logic_vector
(
31
downto
0
)
:
=
(
others
=>
'0'
);
signal
wb_read_cnt
:
unsigned
(
12
downto
0
);
signal
l2p_cyc_start
:
std_logic
;
signal
wb_cyc_start
:
std_logic
;
signal
l2p_cyc_cnt
:
unsigned
(
12
downto
0
);
signal
wb_cyc_cnt
:
unsigned
(
12
downto
0
);
begin
------------------------------
-- Active low reset for fifos
...
...
@@ -267,7 +261,7 @@ begin
ldm_arb_dframe_o
<=
'1'
;
end
if
;
-- Error condition, abo
i
rt transfer
-- Error condition, abort transfer
if
(
tx_error_i
=
'1'
or
l2p_timeout_cnt
>
c_TIMEOUT
or
dma_ctrl_abort_i
=
'1'
)
then
l2p_dma_current_state
<=
L2P_ERROR
;
end
if
;
...
...
@@ -428,7 +422,7 @@ begin
-- Tie offs
l2p_dma_cyc_o
<=
l2p_dma_cyc_t
;
l2p_dma_stb_o
<=
l2p_dma_stb_t
;
--and not addr_fifo_empty;
l2p_dma_sel_o
<=
l2p_dma_sel_t
;
l2p_dma_sel_o
<=
(
others
=>
'1'
)
;
l2p_dma_adr_o
<=
l2p_dma_adr_t
;
l2p_dma_dat_o
<=
(
others
=>
'0'
);
l2p_dma_we_o
<=
'0'
;
...
...
@@ -445,7 +439,6 @@ begin
wb_read_cnt
<=
(
others
=>
'0'
);
else
l2p_dma_sel_t
<=
(
others
=>
'1'
);
l2p_dma_adr_t
<=
addr_fifo_dout
;
if
(
addr_fifo_valid
=
'1'
)
then
...
...
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