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
ffc7f9d3
"SAS/git@git.astron.nl:ro/lofar.git" did not exist on "c3e391d5427aba32829f6ff9ec98720ad3e52a3d"
Commit
ffc7f9d3
authored
9 years ago
by
Kenneth Hiemstra
Browse files
Options
Downloads
Patches
Plain Diff
mem model only needed when c_use_ddr=TRUE
parent
7f4e7314
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
boards/uniboard1/designs/unb1_test/tb/vhdl/tb_unb1_test.vhd
+12
-9
12 additions, 9 deletions
boards/uniboard1/designs/unb1_test/tb/vhdl/tb_unb1_test.vhd
with
12 additions
and
9 deletions
boards/uniboard1/designs/unb1_test/tb/vhdl/tb_unb1_test.vhd
+
12
−
9
View file @
ffc7f9d3
...
@@ -75,6 +75,7 @@ ARCHITECTURE tb OF tb_unb1_test IS
...
@@ -75,6 +75,7 @@ ARCHITECTURE tb OF tb_unb1_test IS
CONSTANT
c_sa_clk_period
:
TIME
:
=
6
.
4
ns
;
CONSTANT
c_sa_clk_period
:
TIME
:
=
6
.
4
ns
;
CONSTANT
c_pps_period
:
NATURAL
:
=
1000
;
CONSTANT
c_pps_period
:
NATURAL
:
=
1000
;
CONSTANT
c_use_ddr
:
BOOLEAN
:
=
g_design_name
=
"unb1_test_ddr"
OR
g_design_name
=
"unb1_test_all"
;
CONSTANT
c_ddr
:
t_c_tech_ddr
:
=
c_tech_ddr3_4g_800m_master
;
CONSTANT
c_ddr
:
t_c_tech_ddr
:
=
c_tech_ddr3_4g_800m_master
;
-- DUT
-- DUT
...
@@ -209,15 +210,17 @@ BEGIN
...
@@ -209,15 +210,17 @@ BEGIN
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- DDR3 memory model
-- DDR3 memory model
------------------------------------------------------------------------------
------------------------------------------------------------------------------
u_tech_ddr_memory_model
:
ENTITY
tech_ddr_lib
.
tech_ddr_memory_model
gen_tech_ddr_memory_model
:
IF
c_use_ddr
=
TRUE
GENERATE
GENERIC
MAP
(
u_tech_ddr_memory_model
:
ENTITY
tech_ddr_lib
.
tech_ddr_memory_model
g_tech_ddr
=>
c_ddr
GENERIC
MAP
(
)
g_tech_ddr
=>
c_ddr
PORT
MAP
(
)
mem3_in
=>
phy_ou
,
PORT
MAP
(
mem3_io
=>
phy_io
,
mem3_in
=>
phy_ou
,
mem3_ou
=>
phy_in
mem3_io
=>
phy_io
,
);
mem3_ou
=>
phy_in
);
END
GENERATE
;
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- UniBoard sensors
-- UniBoard sensors
...
...
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