Skip to content
GitLab
Explore
Sign in
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
afe300d0
Commit
afe300d0
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Define g_delay_len : NATURAL := c_meta_delay_len.
parent
c576df23
Branches
Branches containing commit
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_cross_domain.vhd
+7
-6
7 additions, 6 deletions
libraries/io/ddr/src/vhdl/io_ddr_cross_domain.vhd
with
7 additions
and
6 deletions
libraries/io/ddr/src/vhdl/io_ddr_cross_domain.vhd
+
7
−
6
View file @
afe300d0
...
@@ -40,15 +40,16 @@ USE dp_lib.dp_stream_pkg.ALL;
...
@@ -40,15 +40,16 @@ USE dp_lib.dp_stream_pkg.ALL;
ENTITY
io_ddr_cross_domain
IS
ENTITY
io_ddr_cross_domain
IS
GENERIC
(
GENERIC
(
g_cross_domain
:
BOOLEAN
:
=
TRUE
g_cross_domain
:
BOOLEAN
:
=
TRUE
;
g_delay_len
:
NATURAL
:
=
c_meta_delay_len
);
);
PORT
(
PORT
(
-- Driver clock domain
-- Driver clock domain
dvr_clk
:
IN
STD_LOGIC
;
dvr_clk
:
IN
STD_LOGIC
;
dvr_rst
:
IN
STD_LOGIC
;
dvr_rst
:
IN
STD_LOGIC
;
dvr_en
:
IN
STD_LOGIC
;
dvr_done
:
OUT
STD_LOGIC
;
dvr_done
:
OUT
STD_LOGIC
;
dvr_en
:
IN
STD_LOGIC
;
dvr_wr_not_rd
:
IN
STD_LOGIC
;
dvr_wr_not_rd
:
IN
STD_LOGIC
;
dvr_start_address
:
IN
STD_LOGIC_VECTOR
;
dvr_start_address
:
IN
STD_LOGIC_VECTOR
;
dvr_nof_data
:
IN
STD_LOGIC_VECTOR
;
dvr_nof_data
:
IN
STD_LOGIC_VECTOR
;
...
@@ -58,8 +59,8 @@ ENTITY io_ddr_cross_domain IS
...
@@ -58,8 +59,8 @@ ENTITY io_ddr_cross_domain IS
ctlr_clk
:
IN
STD_LOGIC
;
ctlr_clk
:
IN
STD_LOGIC
;
ctlr_rst
:
IN
STD_LOGIC
;
ctlr_rst
:
IN
STD_LOGIC
;
ctlr_dvr_en
:
OUT
STD_LOGIC
;
ctlr_dvr_done
:
IN
STD_LOGIC
;
ctlr_dvr_done
:
IN
STD_LOGIC
;
ctlr_dvr_en
:
OUT
STD_LOGIC
;
ctlr_dvr_wr_not_rd
:
OUT
STD_LOGIC
;
ctlr_dvr_wr_not_rd
:
OUT
STD_LOGIC
;
ctlr_dvr_start_address
:
OUT
STD_LOGIC_VECTOR
;
ctlr_dvr_start_address
:
OUT
STD_LOGIC_VECTOR
;
ctlr_dvr_nof_data
:
OUT
STD_LOGIC_VECTOR
;
ctlr_dvr_nof_data
:
OUT
STD_LOGIC_VECTOR
;
...
@@ -91,7 +92,7 @@ BEGIN
...
@@ -91,7 +92,7 @@ BEGIN
-- dvr_clk --> ctlr_clk
-- dvr_clk --> ctlr_clk
u_common_spulse_ctlr_dvr_en
:
ENTITY
common_lib
.
common_spulse
u_common_spulse_ctlr_dvr_en
:
ENTITY
common_lib
.
common_spulse
GENERIC
MAP
(
GENERIC
MAP
(
g_delay_len
=>
c_meta
_delay_len
g_delay_len
=>
g
_delay_len
)
)
PORT
MAP
(
PORT
MAP
(
in_rst
=>
dvr_rst
,
in_rst
=>
dvr_rst
,
...
@@ -110,7 +111,7 @@ BEGIN
...
@@ -110,7 +111,7 @@ BEGIN
u_common_spulse_ctlr_dvr_wr_flush_en
:
ENTITY
common_lib
.
common_spulse
u_common_spulse_ctlr_dvr_wr_flush_en
:
ENTITY
common_lib
.
common_spulse
GENERIC
MAP
(
GENERIC
MAP
(
g_delay_len
=>
c_meta
_delay_len
g_delay_len
=>
g
_delay_len
)
)
PORT
MAP
(
PORT
MAP
(
in_rst
=>
dvr_rst
,
in_rst
=>
dvr_rst
,
...
@@ -125,7 +126,7 @@ BEGIN
...
@@ -125,7 +126,7 @@ BEGIN
u_common_async_dvr_done
:
ENTITY
common_lib
.
common_async
u_common_async_dvr_done
:
ENTITY
common_lib
.
common_async
GENERIC
MAP
(
GENERIC
MAP
(
g_rst_level
=>
'0'
,
g_rst_level
=>
'0'
,
g_delay_len
=>
c_meta
_delay_len
g_delay_len
=>
g
_delay_len
)
)
PORT
MAP
(
PORT
MAP
(
rst
=>
dvr_rst
,
rst
=>
dvr_rst
,
...
...
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