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
49acc58d
Commit
49acc58d
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added multi test bench
parent
6f9ec37a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/io/ddr/hdllib.cfg
+1
-0
1 addition, 0 deletions
libraries/io/ddr/hdllib.cfg
libraries/io/ddr/tb/vhdl/tb_tb_io_ddr.vhd
+50
-0
50 additions, 0 deletions
libraries/io/ddr/tb/vhdl/tb_tb_io_ddr.vhd
with
51 additions
and
0 deletions
libraries/io/ddr/hdllib.cfg
+
1
−
0
View file @
49acc58d
...
...
@@ -16,6 +16,7 @@ synth_files =
test_bench_files
=
tb/vhdl/tb_io_ddr.vhd
tb/vhdl/tb_tb_io_ddr.vhd
modelsim_search_libraries
=
altera_ver
lpm_ver
sgate_ver
altera_mf_ver
altera_lnsim_ver
stratixiv_ver
stratixiv_hssi_ver
stratixiv_pcie_hip_ver
...
...
This diff is collapsed.
Click to expand it.
libraries/io/ddr/tb/vhdl/tb_tb_io_ddr.vhd
0 → 100644
+
50
−
0
View file @
49acc58d
-------------------------------------------------------------------------------
--
-- Copyright (C) 2014
-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-------------------------------------------------------------------------------
-- Purpose: Multi testbench for io_ddr.
-- Description:
-- Usage:
-- > as 5
-- > run -all
LIBRARY
IEEE
,
technology_lib
;
USE
IEEE
.
std_logic_1164
.
ALL
;
USE
technology_lib
.
technology_pkg
.
ALL
;
USE
technology_lib
.
technology_select_pkg
.
ALL
;
ENTITY
tb_tb_io_ddr
IS
END
tb_tb_io_ddr
;
ARCHITECTURE
tb
OF
tb_tb_io_ddr
IS
BEGIN
-- g_technology : NATURAL := c_tech_select_default;
-- g_nof_repeat : NATURAL := 2;
-- g_wr_flush_mode : STRING := "SYN" -- "VAL", "SOP", "SYN"
u_fill_wrfifo_on_next_valid
:
ENTITY
work
.
tb_io_ddr
GENERIC
MAP
(
c_tech_select_default
,
2
,
"VAL"
);
u_fill_wrfifo_on_next_sop
:
ENTITY
work
.
tb_io_ddr
GENERIC
MAP
(
c_tech_select_default
,
2
,
"SOP"
);
u_fill_wrfifo_on_next_sync
:
ENTITY
work
.
tb_io_ddr
GENERIC
MAP
(
c_tech_select_default
,
2
,
"SYN"
);
END
tb
;
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