Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gennum GN4124 core
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Projects
Gennum GN4124 core
Commits
8dd6b362
Commit
8dd6b362
authored
14 years ago
by
Matthieu Cattin
Browse files
Options
Downloads
Patches
Plain Diff
remove stall from stb generation, every read from fifo is strobed to the wishbone bus
parent
832bdfee
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hdl/gn4124core/rtl/p2l_dma_master.vhd
+6
-4
6 additions, 4 deletions
hdl/gn4124core/rtl/p2l_dma_master.vhd
with
6 additions
and
4 deletions
hdl/gn4124core/rtl/p2l_dma_master.vhd
+
6
−
4
View file @
8dd6b362
...
...
@@ -166,6 +166,7 @@ architecture behaviour of p2l_dma_master is
signal
wb_write_cnt
:
unsigned
(
6
downto
0
);
signal
wb_ack_cnt
:
unsigned
(
6
downto
0
);
signal
p2l_dma_cyc_t
:
std_logic
;
signal
p2l_dma_stb_t
:
std_logic
;
-- P2L DMA read request FSM
type
p2l_dma_state_type
is
(
P2L_IDLE
,
P2L_HEADER
,
P2L_ADDR_H
,
P2L_ADDR_L
,
P2L_WAIT_READ_COMPLETION
);
...
...
@@ -525,7 +526,7 @@ begin
begin
if
(
rst_n_i
=
c_RST_ACTIVE
)
then
p2l_dma_cyc_t
<=
'0'
;
p2l_dma_stb_
o
<=
'0'
;
p2l_dma_stb_
t
<=
'0'
;
p2l_dma_sel_o
<=
"0000"
;
p2l_dma_adr_o
<=
(
others
=>
'0'
);
p2l_dma_dat_o
<=
(
others
=>
'0'
);
...
...
@@ -536,11 +537,11 @@ begin
p2l_dma_dat_o
<=
to_wb_fifo_dout
(
31
downto
0
);
end
if
;
-- stb and sel signals management
if
(
to_wb_fifo_valid
=
'1'
or
p2l_dma_stall_i
=
'1'
)
then
p2l_dma_stb_
o
<=
'1'
;
if
(
to_wb_fifo_valid
=
'1'
)
then
--
or
(
p2l_dma_stall_i =
'1' and p2l_dma_stb_t =
'1') then
p2l_dma_stb_
t
<=
'1'
;
p2l_dma_sel_o
<=
(
others
=>
'1'
);
else
p2l_dma_stb_
o
<=
'0'
;
p2l_dma_stb_
t
<=
'0'
;
p2l_dma_sel_o
<=
(
others
=>
'0'
);
end
if
;
-- cyc signal management
...
...
@@ -555,6 +556,7 @@ begin
-- for read back
p2l_dma_cyc_o
<=
p2l_dma_cyc_t
;
p2l_dma_stb_o
<=
p2l_dma_stb_t
;
-- Wishbone write cycle counter
p_wb_write_cnt
:
process
(
p2l_dma_clk_i
,
rst_n_i
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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