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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
60a58c37
"workflows/git@git.astron.nl:RD/LINC.git" did not exist on "4d8480fe6ad272841c6a4a864531a5dc4fbbdc4a"
Commit
60a58c37
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Renamed wr_flush into wr_flush_en. Added purpose and description block diagram.
parent
9a98b562
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/io/ddr/src/vhdl/io_ddr.vhd
+49
-10
49 additions, 10 deletions
libraries/io/ddr/src/vhdl/io_ddr.vhd
with
49 additions
and
10 deletions
libraries/io/ddr/src/vhdl/io_ddr.vhd
+
49
−
10
View file @
60a58c37
...
...
@@ -20,6 +20,45 @@
--
--------------------------------------------------------------------------------
-- Purpose: Provide streaming interface to DDR memory
-- Description:
--
-- dvr_wr_fifo_usedw <----------------\
-- |
-- wr_sosi wr_fifo_src | ctlr_wr_snk ctlr_mosi
-- . . | . .
-- . ________ . | . _______ . ______
-- . | |--.-------+------->| | . | |
-- . | | . ______ . | | . | |
-- . |dp_fifo | . | | . | | . | |
-- ----->|dc_mixed|-+--->|dp |---->| io | . | tech |
-- |widths | | |flush | | ddr | . | ddr |
-- |________| | |______|<-\ | driver| . | |
-- | | | | . | |
-- | wr_flush_en| | | . | |
-- | ______ | | | . | |
-- \--->|io_ddr|--/ | | . | |
-- |driver| | | . | |
-- /--->|flush | | | . | |
-- |/-->|ctrl |<-\ | | . | |
-- ||/->|______| | | | . | |
-- ||| | | | . | |<--- phy_in
-- dvr_flush_en -----------+||------------|->| |---->| |---> phy_out
-- dvr_en ------------+|------------|->| |<----| |<--> phy_io
-- dvr_wr_not_rd -------------+------------|->| | . | |
-- dvr_done <-------------------------+--| | . | |
-- dvr_start_addr ---------------------------->| | . | |
-- dvr_end_addr ---------------------------->| | . | |
-- ________ | | . | |
-- |dp_fifo | | | . | |
-- <-----|dc_mixed|<------------------| | . | |
-- . |widths | . |_______| . |______|
-- . |________| . .
-- rd_sosi ctlr_rd_src ctlr_miso
-- rd_fifo_usedw ctlr_init_done
--
--
LIBRARY
IEEE
,
technology_lib
,
tech_ddr_lib
,
common_lib
,
dp_lib
;
USE
IEEE
.
STD_LOGIC_1164
.
ALL
;
USE
common_lib
.
common_pkg
.
ALL
;
...
...
@@ -107,7 +146,7 @@ ARCHITECTURE str OF io_ddr IS
SIGNAL
ctlr_mosi
:
t_tech_ddr_mosi
:
=
c_tech_ddr_mosi_rst
;
SIGNAL
ctlr_miso
:
t_tech_ddr_miso
:
=
c_tech_ddr_miso_rst
;
SIGNAL
wr_flush
:
STD_LOGIC
:
=
'0'
;
SIGNAL
wr_flush
_en
:
STD_LOGIC
:
=
'0'
;
SIGNAL
wr_fifo_snk_in
:
t_dp_sosi
;
...
...
@@ -170,8 +209,8 @@ BEGIN
u_dp_flush
:
ENTITY
dp_lib
.
dp_flush
GENERIC
MAP
(
g_ready_latency
=>
0
,
g_framed_xon
=>
c_wr_fifo_use_ctrl
,
-- stop flushing when wr_flush is low and a sop (or sync via sop) has arrived
g_framed_xoff
=>
FALSE
-- immediately start flushing when wr_flush goes high
g_framed_xon
=>
c_wr_fifo_use_ctrl
,
-- stop flushing when wr_flush
_en
is low and a sop (or sync via sop) has arrived
g_framed_xoff
=>
FALSE
-- immediately start flushing when wr_flush
_en
goes high
)
PORT
MAP
(
rst
=>
ctlr_rst_in
,
...
...
@@ -183,7 +222,7 @@ BEGIN
src_out
=>
ctlr_wr_snk_in
,
src_in
=>
ctlr_wr_snk_out
,
flush_en
=>
wr_flush
flush_en
=>
wr_flush
_en
);
p_wr_flush_snk_in
:
PROCESS
(
wr_fifo_src_out
)
...
...
@@ -214,7 +253,7 @@ BEGIN
wr_sosi
=>
wr_flush_snk_in
,
wr_flush
=>
wr_flush
wr_flush
_en
=>
wr_flush
_en
);
u_rd_fifo
:
ENTITY
dp_lib
.
dp_fifo_dc_mixed_widths
...
...
@@ -268,7 +307,7 @@ BEGIN
ctlr_miso
=>
ctlr_miso
,
ctlr_mosi
=>
ctlr_mosi
);
u_tech_ddr
:
ENTITY
tech_ddr_lib
.
tech_ddr
GENERIC
MAP
(
g_technology
=>
g_technology
,
...
...
@@ -287,14 +326,14 @@ BEGIN
ctlr_init_done
=>
i_ctlr_init_done
,
ct
r
l_mosi
=>
ctlr_mosi
,
ct
r
l_miso
=>
ctlr_miso
,
ctl
r
_mosi
=>
ctlr_mosi
,
ctl
r
_miso
=>
ctlr_miso
,
-- PHY interface
phy_in
=>
phy_in
,
phy_io
=>
phy_io
,
phy_ou
=>
phy_ou
);
);
END
str
;
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