Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
DDR3 controller for Spartan6
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
DDR3 controller for Spartan6
Commits
004faf64
Commit
004faf64
authored
Jul 12, 2015
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve performance in the Wishbone interface
parent
09f14bcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
ddr3_ctrl_wb.vhd
hdl/rtl/ddr3_ctrl_wb.vhd
+3
-8
No files found.
hdl/rtl/ddr3_ctrl_wb.vhd
View file @
004faf64
...
...
@@ -123,10 +123,7 @@ architecture rtl of ddr3_ctrl_wb is
------------------------------------------------------------------------------
-- Constants declaration
------------------------------------------------------------------------------
constant
c_DDR_BURST_LENGTH
:
integer
:
=
32
;
-- must not exceed 63
constant
c_FIFO_ALMOST_FULL
:
std_logic_vector
(
6
downto
0
)
:
=
std_logic_vector
(
to_unsigned
(
57
,
7
));
constant
c_DDR_BURST_LENGTH
:
integer
:
=
16
;
-- must not exceed 63
constant
c_ADDR_SHIFT
:
integer
:
=
log2_ceil
(
g_DATA_PORT_SIZE
/
8
);
------------------------------------------------------------------------------
...
...
@@ -330,9 +327,7 @@ begin
if
(
rst_n
=
'0'
)
then
wb_stall_o
<=
'0'
;
else
if
((
ddr_wr_count_i
>
c_FIFO_ALMOST_FULL
)
or
(
ddr_wr_full_i
=
'1'
)
or
(
ddr_rd_count_i
>
c_FIFO_ALMOST_FULL
)
or
if
((
ddr_wr_full_i
=
'1'
)
or
(
ddr_rd_full_i
=
'1'
))
then
wb_stall_o
<=
'1'
;
else
...
...
@@ -341,7 +336,7 @@ begin
end
if
;
end
if
;
end
process
p_ddr_stall
;
--wb_stall_o <= ddr_
cmd_full_i or ddr_
wr_full_i or ddr_rd_full_i;
--wb_stall_o <= ddr_wr_full_i or ddr_rd_full_i;
-- Assign outputs
...
...
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