Skip to content
GitLab
Explore
Sign in
Register
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
8fd627f5
Commit
8fd627f5
authored
1 year ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Correct nof_dat in RAM circular buffer size.
parent
bfbe4539
No related branches found
No related tags found
1 merge request
!395
Correct nof_dat in RAM circular buffer size.
Pipeline
#77160
passed
1 year ago
Stage: linting
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/src/vhdl/dp_bsn_align_v2.vhd
+6
-4
6 additions, 4 deletions
libraries/base/dp/src/vhdl/dp_bsn_align_v2.vhd
with
6 additions
and
4 deletions
libraries/base/dp/src/vhdl/dp_bsn_align_v2.vhd
+
6
−
4
View file @
8fd627f5
...
@@ -173,18 +173,20 @@ architecture rtl of dp_bsn_align_v2 is
...
@@ -173,18 +173,20 @@ architecture rtl of dp_bsn_align_v2 is
true_log_pow2
(
1
+
g_bsn_latency_max
),
true_log_pow2
(
1
+
g_bsn_latency_max
),
true_log_pow2
(
1
+
g_bsn_latency_max
*
(
g_nof_aligners_max
-
1
)
+
g_bsn_latency_first_node
));
true_log_pow2
(
1
+
g_bsn_latency_max
*
(
g_nof_aligners_max
-
1
)
+
g_bsn_latency_first_node
));
constant
c_ram_size
:
natural
:
=
c_buffer_nof_blocks
*
g_block_size
;
constant
c_ram_size_w
:
natural
:
=
ceil_log2
(
c_buffer_nof_blocks
*
g_block_size
);
constant
c_ram_size
:
natural
:
=
2
**
c_ram_size_w
;
constant
c_ram_buf
:
t_c_mem
:
=
(
latency
=>
1
,
constant
c_ram_buf
:
t_c_mem
:
=
(
latency
=>
1
,
adr_w
=>
ceil_log2
(
c_ram_size
)
,
adr_w
=>
c_ram_size
_w
,
dat_w
=>
g_data_w
,
dat_w
=>
g_data_w
,
nof_dat
=>
c_ram_size
,
nof_dat
=>
c_ram_size
,
init_sl
=>
'0'
);
init_sl
=>
'0'
);
-- . reduced buffer size for remote input
-- . reduced buffer size for remote input
constant
c_remote_buffer_nof_blocks
:
natural
:
=
true_log_pow2
(
1
+
g_bsn_latency_max
);
constant
c_remote_buffer_nof_blocks
:
natural
:
=
true_log_pow2
(
1
+
g_bsn_latency_max
);
constant
c_remote_ram_size
:
natural
:
=
c_remote_buffer_nof_blocks
*
g_block_size
;
constant
c_remote_ram_size_w
:
natural
:
=
ceil_log2
(
c_remote_buffer_nof_blocks
*
g_block_size
);
constant
c_remote_ram_size
:
natural
:
=
2
**
c_remote_ram_size_w
;
constant
c_remote_ram_buf
:
t_c_mem
:
=
(
latency
=>
1
,
constant
c_remote_ram_buf
:
t_c_mem
:
=
(
latency
=>
1
,
adr_w
=>
ceil_log2
(
c_remote_ram_size
)
,
adr_w
=>
c_remote_ram_size
_w
,
dat_w
=>
g_data_w
,
dat_w
=>
g_data_w
,
nof_dat
=>
c_remote_ram_size
,
nof_dat
=>
c_remote_ram_size
,
init_sl
=>
'0'
);
init_sl
=>
'0'
);
...
...
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