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
bd57f7ce
Commit
bd57f7ce
authored
10 years ago
by
Pepping
Browse files
Options
Downloads
Patches
Plain Diff
- Chanhed definition of c_blocksize and c_pagesize
- CHanged comments
parent
37940f66
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/base/reorder/tb/vhdl/tb_reorder_transpose.vhd
+10
-10
10 additions, 10 deletions
libraries/base/reorder/tb/vhdl/tb_reorder_transpose.vhd
with
10 additions
and
10 deletions
libraries/base/reorder/tb/vhdl/tb_reorder_transpose.vhd
+
10
−
10
View file @
bd57f7ce
...
...
@@ -21,13 +21,13 @@
-------------------------------------------------------------------------------
--
-- Purpose: Testbench for the reorder_transpose unit
-- To be used in conjunction with python testscript: ../python/tc_transpose
_ddr3
.py
-- To be used in conjunction with python testscript: ../python/tc_
reorder_
transpose.py
--
--
-- Usage:
-- > as 8
-- > run -all
-- > run python script in separate terminal: "python tc_transpose
_ddr3
.py --unb 0 --fn 0 --sim"
-- > run python script in separate terminal: "python tc_
reorder_
transpose.py --unb 0 --fn 0 --sim"
-- > Stop the simulation manually in Modelsim by pressing the stop-button.
-- > Evalute the WAVE window.
...
...
@@ -50,13 +50,13 @@ USE work.reorder_pkg.ALL;
ENTITY
tb_reorder_transpose
IS
GENERIC
(
g_wr_chunksize
:
POSITIVE
:
=
1
6
;
g_rd_chunksize
:
POSITIVE
:
=
4
;
g_rd_nof_chunks
:
POSITIVE
:
=
4
;
g_rd_interval
:
POSITIVE
:
=
4
;
g_wr_chunksize
:
POSITIVE
:
=
25
6
;
g_rd_chunksize
:
POSITIVE
:
=
16
;
g_rd_nof_chunks
:
POSITIVE
:
=
16
;
g_rd_interval
:
POSITIVE
:
=
16
;
g_gapsize
:
NATURAL
:
=
0
;
g_nof_blocks
:
POSITIVE
:
=
32
;
g_nof_blk_per_sync
:
POSITIVE
:
=
32
;
g_nof_blocks
:
POSITIVE
:
=
16
;
g_nof_blk_per_sync
:
POSITIVE
:
=
16
;
g_nof_streams
:
POSITIVE
:
=
4
;
g_in_dat_w
:
POSITIVE
:
=
8
;
g_ena_pre_transp
:
BOOLEAN
:
=
TRUE
...
...
@@ -137,8 +137,8 @@ ARCHITECTURE tb OF tb_reorder_transpose IS
CONSTANT
c_tech_ddr
:
t_c_tech_ddr
:
=
c_tech_ddr3_4g_800m_master
;
CONSTANT
c_min_fifo_size
:
POSITIVE
:
=
256
;
CONSTANT
c_blocksize
:
POSITIVE
:
=
c_reorder_seq
.
wr_chunksize
+
c_reorder_seq
.
gapsize
;
CONSTANT
c_pagesize
:
POSITIVE
:
=
c_reorder_seq
.
nof_blocks
*
c_blocksize
;
CONSTANT
c_blocksize
:
POSITIVE
:
=
g_
wr_chunksize
+
g_
gapsize
;
CONSTANT
c_pagesize
:
POSITIVE
:
=
g_
nof_blocks
*
c_blocksize
;
CONSTANT
c_mem_size
:
POSITIVE
:
=
2
*
c_pagesize
;
CONSTANT
c_mem_size_w
:
POSITIVE
:
=
ceil_log2
(
c_mem_size
);
...
...
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