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
Merge requests
!170
fixed bug in common_areset and synchronized reset signals in
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Merged
fixed bug in common_areset and synchronized reset signals in
L2SDP-209
into
master
Overview
0
Commits
3
Pipelines
0
Changes
3
Merged
Reinier van der Walle
requested to merge
L2SDP-209
into
master
3 years ago
Overview
0
Commits
3
Pipelines
0
Changes
3
Expand
ip_arria10_e1sg_jesd204b.vhd
Closes
L2SDP-209
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
bd06c78b
3 commits,
3 years ago
3 files
+
101
−
45
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
libraries/base/common/src/vhdl/common_areset.vhd
+
3
−
2
Options
@@ -45,7 +45,7 @@ END;
ARCHITECTURE
str
OF
common_areset
IS
CONSTANT
c_rst_level_n
:
STD_LOGIC
:
=
NOT
g_rst_level
;
SIGNAL
i_rst
:
STD_LOGIC
;
BEGIN
-- When in_rst becomes g_rst_level then out_rst follows immediately (asynchronous reset apply).
@@ -55,13 +55,14 @@ BEGIN
-- . g_rst_level = '0': output asynchronoulsy follows the falling edge input and synchronises the rising edge input.
-- . g_rst_level = '1': output asynchronoulsy follows the rising edge input and synchronises the falling edge input.
i_rst
<=
NOT
in_rst
WHEN
g_rst_level
=
'0'
ELSE
in_rst
;
u_async
:
ENTITY
work
.
common_async
GENERIC
MAP
(
g_rst_level
=>
g_rst_level
,
g_delay_len
=>
g_delay_len
)
PORT
MAP
(
rst
=>
i
n
_rst
,
rst
=>
i_rst
,
clk
=>
clk
,
din
=>
c_rst_level_n
,
dout
=>
out_rst
Loading