Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Platform-independent core collection
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Platform-independent core collection
Commits
c14e64d2
Commit
c14e64d2
authored
12 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Patches
Plain Diff
bugfix: Reset counter was using wrong generic parameter
parent
ee95bca9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/common/gc_reset.vhd
+2
-2
2 additions, 2 deletions
modules/common/gc_reset.vhd
with
2 additions
and
2 deletions
modules/common/gc_reset.vhd
+
2
−
2
View file @
c14e64d2
...
@@ -19,11 +19,11 @@ architecture rtl of gc_reset is
...
@@ -19,11 +19,11 @@ architecture rtl of gc_reset is
type
t_shifters
is
array
(
natural
range
<>
)
of
t_shifter
;
type
t_shifters
is
array
(
natural
range
<>
)
of
t_shifter
;
signal
shifters
:
t_shifters
(
g_clocks
-1
downto
0
)
:
=
(
others
=>
(
others
=>
'0'
));
-- start reset
signal
shifters
:
t_shifters
(
g_clocks
-1
downto
0
)
:
=
(
others
=>
(
others
=>
'0'
));
-- start reset
signal
locked_count
:
unsigned
(
g_
syncdepth
-1
downto
0
)
:
=
(
others
=>
'0'
);
signal
locked_count
:
unsigned
(
g_
logdelay
-1
downto
0
)
:
=
(
others
=>
'0'
);
signal
master_rstn
:
std_logic
;
signal
master_rstn
:
std_logic
;
begin
begin
lock
:
process
(
free_clk_i
)
lock
:
process
(
free_clk_i
)
constant
locked_done
:
unsigned
(
g_
syncdepth
-1
downto
0
)
:
=
(
others
=>
'1'
);
constant
locked_done
:
unsigned
(
g_
logdelay
-1
downto
0
)
:
=
(
others
=>
'1'
);
begin
begin
if
rising_edge
(
free_clk_i
)
then
if
rising_edge
(
free_clk_i
)
then
if
locked_i
=
'0'
then
if
locked_i
=
'0'
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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