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
14
Issues
14
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
e892fccf
Commit
e892fccf
authored
Oct 11, 2017
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common: add init values to signals in gc_delay_line to prevent sim warnings
parent
0467f2bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
gc_delay_line.vhd
modules/common/gc_delay_line.vhd
+5
-2
No files found.
modules/common/gc_delay_line.vhd
View file @
e892fccf
...
...
@@ -23,8 +23,8 @@ architecture rtl of gc_delay_line is
constant
c_counter_width
:
integer
:
=
f_log2_size
(
g_delay
+
1
);
signal
rd_ptr
:
unsigned
(
c_counter_width
-1
downto
0
);
signal
wr_ptr
:
unsigned
(
c_counter_width
-1
downto
0
);
signal
rd_ptr
:
unsigned
(
c_counter_width
-1
downto
0
)
:
=
(
others
=>
'0'
)
;
signal
wr_ptr
:
unsigned
(
c_counter_width
-1
downto
0
)
:
=
(
others
=>
'0'
)
;
signal
init
:
std_logic
;
...
...
@@ -39,12 +39,15 @@ begin
port
map
(
rst_n_i
=>
rst_n_i
,
clka_i
=>
clk_i
,
bwea_i
=>
(
others
=>
'0'
),
wea_i
=>
'1'
,
aa_i
=>
std_logic_vector
(
wr_ptr
),
da_i
=>
wr_data
,
clkb_i
=>
clk_i
,
bweb_i
=>
(
others
=>
'0'
),
web_i
=>
'0'
,
ab_i
=>
std_logic_vector
(
rd_ptr
),
db_i
=>
(
others
=>
'0'
),
qb_o
=>
rd_data
);
...
...
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