Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Platform-independent core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
18
Issues
18
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Platform-independent core collection
Commits
93195673
Commit
93195673
authored
Sep 29, 2021
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_issue_30' into 'proposed_master'
Fix reset CDC issue in gc_sync_word_rd See merge request
!15
parents
3ceadd88
561d2f72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
gc_sync_word_rd.vhd
modules/common/gc_sync_word_rd.vhd
+8
-5
No files found.
modules/common/gc_sync_word_rd.vhd
View file @
93195673
...
...
@@ -67,6 +67,7 @@ architecture arch of gc_sync_word_rd is
signal
d_ready
:
std_logic
;
signal
wr_in
:
std_logic
;
signal
rd_out
:
std_logic
;
begin
cmp_pulse_sync
:
entity
work
.
gc_pulse_synchronizer2
port
map
(
...
...
@@ -88,18 +89,20 @@ begin
end
if
;
end
process
;
p_writer
:
process
(
clk_out_i
)
p_writer
:
process
(
clk_out_i
)
begin
if
rising_edge
(
clk_out_i
)
then
if
rst_in_n_i
=
'0'
then
ack_out_o
<=
'0'
;
elsif
wr_in
=
'1'
then
if
wr_in
=
'1'
then
-- Data is stable.
data_out_o
<=
gc_sync_word_data
;
ack_out_o
<=
'1'
;
ack_out_o
<=
'1'
;
else
ack_out_o
<=
'0'
;
end
if
;
if
rst_out_n_i
=
'0'
then
ack_out_o
<=
'0'
;
end
if
;
end
if
;
end
process
;
end
arch
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment