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
b1b7d354
Commit
b1b7d354
authored
3 years ago
by
Daniel van der Schuur
Browse files
Options
Downloads
Patches
Plain Diff
-Found and fixed off-by-one error in RAM clear adressing (I missed
address 0).
parent
492035e7
No related branches found
No related tags found
3 merge requests
!101
Merged sub-branch L2SDP-151 into L2SDP-143 (st_histogram rework)
,
!99
Cleaned/rewrote st_histogram.
,
!98
Major rework on st_histogram.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/dsp/st/src/vhdl/st_histogram.vhd
+1
-1
1 addition, 1 deletion
libraries/dsp/st/src/vhdl/st_histogram.vhd
libraries/dsp/st/tb/vhdl/tb_st_histogram.vhd
+1
-0
1 addition, 0 deletions
libraries/dsp/st/tb/vhdl/tb_st_histogram.vhd
with
2 additions
and
1 deletion
libraries/dsp/st/src/vhdl/st_histogram.vhd
+
1
−
1
View file @
b1b7d354
...
...
@@ -330,7 +330,7 @@ BEGIN
nxt_ram_clearing
<=
'1'
WHEN
ram_clear
=
'1'
ELSE
'0'
WHEN
TO_UINT
(
address
)
=
c_nof_bins
-1
ELSE
ram_clearing
;
-- Address counter: 0 to g_nof_bins-1.
nxt_address
<=
INCR_UVEC
(
address
,
1
)
WHEN
ram_clearing
=
'1'
OR
ram_clear
=
'1'
ELSE
(
OTHERS
=>
'0'
);
nxt_address
<=
INCR_UVEC
(
address
,
1
)
WHEN
ram_clearing
=
'1'
ELSE
(
OTHERS
=>
'0'
);
histogram_wr_mosi
.
wr
<=
ram_clearing
;
histogram_wr_mosi
.
address
(
c_adr_w
-1
DOWNTO
0
)
<=
address
;
...
...
This diff is collapsed.
Click to expand it.
libraries/dsp/st/tb/vhdl/tb_st_histogram.vhd
+
1
−
0
View file @
b1b7d354
...
...
@@ -212,6 +212,7 @@ BEGIN
-- Perform MM read and put result in ram_rd_word
p_verify_mm_read
:
PROCESS
BEGIN
st_histogram_ram_mosi
.
wr
<=
'0'
;
FOR
i
IN
0
TO
c_nof_sync_periods
-1
LOOP
proc_common_wait_until_high
(
dp_clk
,
stimuli_src_out
.
sync
);
...
...
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