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
c0c58e12
Commit
c0c58e12
authored
12 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Patches
Plain Diff
gc_crc_gen: remove unused signals
parent
17fdd3c3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/common/gc_crc_gen.vhd
+1
-8
1 addition, 8 deletions
modules/common/gc_crc_gen.vhd
with
1 addition
and
8 deletions
modules/common/gc_crc_gen.vhd
+
1
−
8
View file @
c0c58e12
...
@@ -109,13 +109,11 @@ architecture rtl of gc_crc_gen is
...
@@ -109,13 +109,11 @@ architecture rtl of gc_crc_gen is
type
dmsb_array
is
array
(
dw
downto
1
)
of
std_logic_vector
(
msb
downto
1
);
type
dmsb_array
is
array
(
dw
downto
1
)
of
std_logic_vector
(
msb
downto
1
);
signal
crca
:
fb_array
;
signal
crca
:
fb_array
;
signal
da
,
ma
:
dmsb_array
;
signal
da
,
ma
:
dmsb_array
;
signal
crc
,
zero
:
std_logic_vector
(
msb
downto
0
);
signal
crc
:
std_logic_vector
(
msb
downto
0
);
signal
arst
,
srst
:
std_logic
;
signal
arst
,
srst
:
std_logic
;
signal
a
,
b
:
std_logic_vector
(
g_polynomial
'length
-
1
downto
0
);
signal
data_i2
:
std_logic_vector
(
15
downto
0
);
signal
data_i2
:
std_logic_vector
(
15
downto
0
);
signal
en_d0
:
std_logic
;
signal
en_d0
:
std_logic
;
signal
half_d0
:
std_logic
;
signal
crc_tmp
:
std_logic_vector
(
31
downto
0
);
signal
crc_tmp
:
std_logic_vector
(
31
downto
0
);
signal
crc_int
:
std_logic_vector
(
31
downto
0
);
signal
crc_int
:
std_logic_vector
(
31
downto
0
);
...
@@ -123,9 +121,6 @@ architecture rtl of gc_crc_gen is
...
@@ -123,9 +121,6 @@ architecture rtl of gc_crc_gen is
begin
begin
a
<=
g_init_value
;
b
<=
g_polynomial
;
-- Parameter checking: Invalid generics will abort simulation/synthesis
-- Parameter checking: Invalid generics will abort simulation/synthesis
PCHK1
:
if
msb
/=
init_msb
generate
PCHK1
:
if
msb
/=
init_msb
generate
process
process
...
@@ -196,7 +191,6 @@ begin
...
@@ -196,7 +191,6 @@ begin
-- CRC process
-- CRC process
crc_tmp
<=
f_reverse_vector
(
not
crc
);
crc_tmp
<=
f_reverse_vector
(
not
crc
);
crc_int
<=
crc_tmp
(
7
downto
0
)
&
crc_tmp
(
15
downto
8
)
&
crc_tmp
(
23
downto
16
)
&
crc_tmp
(
31
downto
24
);
crc_int
<=
crc_tmp
(
7
downto
0
)
&
crc_tmp
(
15
downto
8
)
&
crc_tmp
(
23
downto
16
)
&
crc_tmp
(
31
downto
24
);
zero
<=
(
others
=>
'0'
);
crc_o
<=
crc_int
;
crc_o
<=
crc_int
;
...
@@ -204,7 +198,6 @@ begin
...
@@ -204,7 +198,6 @@ begin
begin
begin
if
arst
=
'1'
then
-- async. reset
if
arst
=
'1'
then
-- async. reset
crc
<=
g_init_value
;
crc
<=
g_init_value
;
half_d0
<=
'0'
;
elsif
rising_edge
(
clk_i
)
then
elsif
rising_edge
(
clk_i
)
then
if
srst
=
'1'
then
-- sync. reset
if
srst
=
'1'
then
-- sync. reset
crc
<=
g_init_value
;
crc
<=
g_init_value
;
...
...
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