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
c863e721
Commit
c863e721
authored
Aug 23, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor style fixes.
parent
578018b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
dma_controller.vhd
hdl/rtl/dma_controller.vhd
+2
-2
p2l_dma_master.vhd
hdl/rtl/p2l_dma_master.vhd
+0
-1
No files found.
hdl/rtl/dma_controller.vhd
View file @
c863e721
...
...
@@ -291,7 +291,7 @@ begin
-- Clear abort signal
dma_ctrl_abort_o
<=
'0'
;
if
(
unsigned
(
dma_len_reg
(
31
downto
2
))
=
0
)
then
if
unsigned
(
dma_len_reg
(
31
downto
2
))
=
0
then
-- Requesting a DMA of 0 word length gives a error
dma_irq_reg
<=
'1'
;
dma_stat_reg
<=
c_DMA_STAT_ERROR
;
...
...
@@ -301,7 +301,7 @@ begin
if
dma_attrib_dir_reg
=
'0'
then
-- L2P transfer (from target to PCIe)
dma_ctrl_start_l2p_o
<=
'1'
;
els
if
dma_attrib_dir_reg
=
'1'
then
els
e
-- P2L transfer (from PCIe to target)
dma_ctrl_start_p2l_o
<=
'1'
;
end
if
;
...
...
hdl/rtl/p2l_dma_master.vhd
View file @
c863e721
...
...
@@ -133,7 +133,6 @@ architecture behaviour of p2l_dma_master is
signal
is_next_item
:
std_logic
;
signal
completion_error
:
std_logic
;
signal
dma_busy_error
:
std_logic
;
signal
dma_length_error
:
std_logic
;
signal
dma_ctrl_done_t
:
std_logic
:
=
'0'
;
signal
rx_error_t
:
std_logic
:
=
'0'
;
signal
rx_error_d
:
std_logic
:
=
'0'
;
...
...
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