Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
df1c1e28
Commit
df1c1e28
authored
Jun 24, 2015
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Register ctlr_wr_flush_en to ease timing closure.
parent
16a06c93
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/io/ddr/src/vhdl/io_ddr_driver_flush_ctrl.vhd
+12
-7
12 additions, 7 deletions
libraries/io/ddr/src/vhdl/io_ddr_driver_flush_ctrl.vhd
with
12 additions
and
7 deletions
libraries/io/ddr/src/vhdl/io_ddr_driver_flush_ctrl.vhd
+
12
−
7
View file @
df1c1e28
...
...
@@ -78,6 +78,8 @@ ARCHITECTURE str OF io_ddr_driver_flush_ctrl IS
SIGNAL
flush_dis
:
STD_LOGIC
;
SIGNAL
nxt_ctlr_wr_flush_en
:
STD_LOGIC
;
BEGIN
-- Flush disable control
...
...
@@ -98,30 +100,33 @@ BEGIN
p_reg
:
PROCESS
(
rst
,
clk
)
BEGIN
IF
rst
=
'1'
THEN
state
<=
s_flush
;
-- default start in flush mode after power up
state
<=
s_flush
;
-- default start in flush mode after power up,
ctlr_wr_flush_en
<=
'1'
;
-- so default write flush is enabled
ELSIF
rising_edge
(
clk
)
THEN
state
<=
nxt_state
;
ctlr_wr_flush_en
<=
nxt_ctlr_wr_flush_en
;
END
IF
;
END
PROCESS
;
p_state
:
PROCESS
(
state
,
dvr_wr_flush_en
,
dvr_done
,
dvr_en
,
dvr_wr_not_rd
,
flush_dis
)
BEGIN
nxt_state
<=
state
;
ctlr_wr_flush_en
<=
'0'
;
nxt_
ctlr_wr_flush_en
<=
'0'
;
CASE
state
IS
WHEN
s_idle
=>
IF
dvr_wr_flush_en
=
'1'
AND
dvr_done
=
'1'
THEN
ctlr_wr_flush_en
<=
'1'
;
nxt_
ctlr_wr_flush_en
<=
'1'
;
nxt_state
<=
s_flush
;
END
IF
;
WHEN
s_flush
=>
ctlr_wr_flush_en
<=
'1'
;
nxt_
ctlr_wr_flush_en
<=
'1'
;
IF
dvr_en
=
'1'
AND
dvr_wr_not_rd
=
'1'
THEN
nxt_state
<=
s_stop
;
END
IF
;
WHEN
OTHERS
=>
-- s_stop
ctlr_wr_flush_en
<=
'1'
;
IF
flush_dis
=
'1'
THEN
nxt_ctlr_wr_flush_en
<=
'1'
;
IF
flush_dis
=
'1'
THEN
-- flush_dis comes from sosi control (valid, sop or sync) from look ahead (RL=0) write FIFO
nxt_ctlr_wr_flush_en
<=
'0'
;
nxt_state
<=
s_idle
;
END
IF
;
END
CASE
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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