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
807037e0
Commit
807037e0
authored
9 years ago
by
Zanting
Browse files
Options
Downloads
Patches
Plain Diff
Added technology generic
parent
95854498
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/dsp/st/src/vhdl/st_calc.vhd
+6
-4
6 additions, 4 deletions
libraries/dsp/st/src/vhdl/st_calc.vhd
libraries/dsp/st/src/vhdl/st_sst.vhd
+12
-7
12 additions, 7 deletions
libraries/dsp/st/src/vhdl/st_sst.vhd
with
18 additions
and
11 deletions
libraries/dsp/st/src/vhdl/st_calc.vhd
+
6
−
4
View file @
807037e0
...
...
@@ -235,6 +235,7 @@ BEGIN
-- accumulator memory for real part
ram_re
:
ENTITY
common_lib
.
common_ram_r_w
GENERIC
MAP
(
g_technology
=>
g_technology
,
g_ram
=>
c_mem_acc
,
g_init_file
=>
"UNUSED"
)
...
...
@@ -280,6 +281,7 @@ BEGIN
-- dual port memory
ram_im
:
ENTITY
common_lib
.
common_ram_r_w
GENERIC
MAP
(
g_technology
=>
g_technology
,
g_ram
=>
c_mem_acc
,
g_init_file
=>
"UNUSED"
)
...
...
This diff is collapsed.
Click to expand it.
libraries/dsp/st/src/vhdl/st_sst.vhd
+
12
−
7
View file @
807037e0
...
...
@@ -19,12 +19,13 @@
--
-------------------------------------------------------------------------------
LIBRARY
IEEE
,
common_lib
,
mm_lib
,
dp_lib
;
LIBRARY
IEEE
,
common_lib
,
mm_lib
,
technology_lib
,
dp_lib
;
USE
IEEE
.
std_logic_1164
.
ALL
;
USE
common_lib
.
common_pkg
.
ALL
;
USE
common_lib
.
common_mem_pkg
.
ALL
;
USE
common_lib
.
common_field_pkg
.
ALL
;
USE
dp_lib
.
dp_stream_pkg
.
ALL
;
USE
technology_lib
.
technology_select_pkg
.
ALL
;
-- Purpose:
-- Store the (auto)power statistics of a complex input stream with
...
...
@@ -54,6 +55,7 @@ USE dp_lib.dp_stream_pkg.ALL;
ENTITY
st_sst
IS
GENERIC
(
g_technology
:
NATURAL
:
=
c_tech_select_default
;
g_nof_stat
:
NATURAL
:
=
512
;
-- nof accumulators
g_xst_enable
:
BOOLEAN
:
=
FALSE
;
-- when set to true, an extra memory is instantiated to hold the imaginary part of the cross-correlation results
g_in_data_w
:
NATURAL
:
=
18
;
-- width o dth edata to be accumulated
...
...
@@ -203,6 +205,7 @@ BEGIN
st_calc
:
ENTITY
work
.
st_calc
GENERIC
MAP
(
g_technology
=>
g_technology
,
g_nof_mux
=>
1
,
g_nof_stat
=>
g_nof_stat
,
g_in_dat_w
=>
g_in_data_w
,
...
...
@@ -231,6 +234,7 @@ BEGIN
stat_reg_re
:
ENTITY
common_lib
.
common_ram_crw_crw_ratio
GENERIC
MAP
(
g_technology
=>
g_technology
,
g_ram_a
=>
c_mm_ram
,
g_ram_b
=>
c_stat_ram
,
g_init_file
=>
"UNUSED"
...
...
@@ -282,6 +286,7 @@ BEGIN
stat_reg_im
:
ENTITY
common_lib
.
common_ram_crw_crw_ratio
GENERIC
MAP
(
g_technology
=>
g_technology
,
g_ram_a
=>
c_mm_ram
,
g_ram_b
=>
c_stat_ram
,
g_init_file
=>
"UNUSED"
...
...
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