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
c13d3599
Commit
c13d3599
authored
Oct 29, 2020
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l2p_dma_master: minor simplification.
parent
bebc523b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
l2p_dma_master.vhd
hdl/rtl/l2p_dma_master.vhd
+2
-4
gn4124_core.vhd
hdl/rtl/spartan6/gn4124_core.vhd
+1
-0
No files found.
hdl/rtl/l2p_dma_master.vhd
View file @
c13d3599
...
...
@@ -222,9 +222,6 @@ begin
if
dma_total_len
>
c_L2P_MAX_PAYLOAD
then
dma_packet_len
<=
to_unsigned
(
c_L2P_MAX_PAYLOAD
,
dma_packet_len
'length
);
dma_last_packet
<=
'0'
;
elsif
dma_total_len
=
c_L2P_MAX_PAYLOAD
then
dma_packet_len
<=
to_unsigned
(
c_L2P_MAX_PAYLOAD
,
dma_packet_len
'length
);
dma_last_packet
<=
'1'
;
else
dma_packet_len
<=
dma_total_len
(
5
downto
0
);
dma_last_packet
<=
'1'
;
...
...
@@ -239,7 +236,8 @@ begin
-- b) there is data waiting in the FIFO
-- c) Gennum is ready
if
ldm_arb_gnt_i
=
'1'
and
data_fifo_empty
=
'0'
and
l_wr_rdy_i
=
'1'
and
l2p_rdy_i
=
'1'
then
l_wr_rdy_i
=
'1'
and
l2p_rdy_i
=
'1'
then
l2p_dma_current_state
<=
L2P_HEADER
;
end
if
;
...
...
hdl/rtl/spartan6/gn4124_core.vhd
View file @
c13d3599
...
...
@@ -668,6 +668,7 @@ begin
p2l_dma_in
.
err
<=
dma_err_i
;
p2l_dma_in
.
rty
<=
dma_rty_i
;
-- NOTE: dma_ctrl_direction crosses clock domains.
p_dma_wb_mux
:
process
(
dma_ack_i
,
dma_ctrl_direction
,
dma_stall_i
,
l2p_dma_out
,
p2l_dma_out
)
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