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
adaeb417
Commit
adaeb417
authored
Jul 25, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddr3_ctrl_wb: improve style.
parent
edfed0ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ddr3_ctrl_wb.vhd
hdl/rtl/ddr3_ctrl_wb.vhd
+4
-2
No files found.
hdl/rtl/ddr3_ctrl_wb.vhd
View file @
adaeb417
...
...
@@ -224,7 +224,8 @@ begin
else
wb_addr_d
<=
wb_addr_i
;
if
((
ddr_burst_cnt
=
0
and
wb_cyc_r_edge
=
'1'
and
wb_stb_valid
=
'1'
)
or
(
ddr_burst_cnt
=
to_unsigned
(
1
,
ddr_burst_cnt
'length
)))
then
(
ddr_burst_cnt
=
1
))
then
ddr_cmd_byte_addr
<=
wb_addr_d
(
g_BYTE_ADDR_WIDTH
-
c_ADDR_SHIFT
-1
downto
0
)
&
addr_shift
;
ddr_cmd_instr
<=
"00"
&
not
(
wb_we_d
);
end
if
;
...
...
@@ -244,7 +245,8 @@ begin
else
if
(((
ddr_burst_cnt
=
c_DDR_BURST_LENGTH
)
or
(
wb_cyc_f_edge
=
'1'
and
wb_we_d
=
'1'
)
or
(
wb_stb_f_edge
=
'1'
and
wb_we_d
=
'0'
))
and
ddr_cmd_full_i
=
'0'
)
then
(
wb_stb_f_edge
=
'1'
and
wb_we_d
=
'0'
))
and
ddr_cmd_full_i
=
'0'
)
then
ddr_cmd_en
<=
'1'
;
-- might have problem if burst_cnt = BURST_LENGTH for more than 2 clk cycles
else
ddr_cmd_en
<=
'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