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
6a83e240
Commit
6a83e240
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Corrected g_sim=>TRUE when external memory model is used.
parent
c722ba87
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/io/ddr/tb/vhdl/tb_io_ddr.vhd
+2
-1
2 additions, 1 deletion
libraries/io/ddr/tb/vhdl/tb_io_ddr.vhd
with
2 additions
and
1 deletion
libraries/io/ddr/tb/vhdl/tb_io_ddr.vhd
+
2
−
1
View file @
6a83e240
...
@@ -48,7 +48,7 @@ ENTITY tb_io_ddr IS
...
@@ -48,7 +48,7 @@ ENTITY tb_io_ddr IS
g_tech_ddr3
:
t_c_tech_ddr
:
=
c_tech_ddr3_4g_800m_master
;
g_tech_ddr3
:
t_c_tech_ddr
:
=
c_tech_ddr3_4g_800m_master
;
g_tech_ddr4
:
t_c_tech_ddr
:
=
c_tech_ddr4_4g_1600m
;
g_tech_ddr4
:
t_c_tech_ddr
:
=
c_tech_ddr4_4g_1600m
;
g_tb_end
:
BOOLEAN
:
=
TRUE
;
-- when TRUE then tb_end ends this simulation, else a higher multi-testbench will end the simulation
g_tb_end
:
BOOLEAN
:
=
TRUE
;
-- when TRUE then tb_end ends this simulation, else a higher multi-testbench will end the simulation
g_sim
:
BOOLEAN
:
=
TRU
E
;
-- when TRUE use the internal DDR memory model, else use the DDR model in this tb.
g_sim
:
BOOLEAN
:
=
FALS
E
;
-- when TRUE use the internal DDR memory model, else use the DDR model in this tb.
g_cross_domain_dvr_ctlr
:
BOOLEAN
:
=
FALSE
;
-- when TRUE insert clock cross domain logic
g_cross_domain_dvr_ctlr
:
BOOLEAN
:
=
FALSE
;
-- when TRUE insert clock cross domain logic
g_ctlr_ref_clk_period
:
TIME
:
=
5000
ps
;
-- 200 MHz
g_ctlr_ref_clk_period
:
TIME
:
=
5000
ps
;
-- 200 MHz
g_dvr_clk_period
:
TIME
:
=
5000
ps
;
-- 50 MHz
g_dvr_clk_period
:
TIME
:
=
5000
ps
;
-- 50 MHz
...
@@ -447,6 +447,7 @@ BEGIN
...
@@ -447,6 +447,7 @@ BEGIN
external_ddr_memory_model
:
IF
g_sim
=
FALSE
GENERATE
external_ddr_memory_model
:
IF
g_sim
=
FALSE
GENERATE
u_tech_ddr_memory_model
:
ENTITY
tech_ddr_lib
.
tech_ddr_memory_model
u_tech_ddr_memory_model
:
ENTITY
tech_ddr_lib
.
tech_ddr_memory_model
GENERIC
MAP
(
GENERIC
MAP
(
g_sim
=>
TRUE
,
g_tech_ddr
=>
c_tech_ddr
g_tech_ddr
=>
c_tech_ddr
)
)
PORT
MAP
(
PORT
MAP
(
...
...
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