Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
canbus
CTU CAN FD IP Core
Commits
0ae4c117
Commit
0ae4c117
authored
Jul 13, 2018
by
Ille, Ondrej, Ing.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug-fix of improper function call.
parent
b34dde4a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/CAN_Core/core_top.vhd
src/CAN_Core/core_top.vhd
+2
-2
No files found.
src/CAN_Core/core_top.vhd
View file @
0ae4c117
...
...
@@ -1126,7 +1126,7 @@ begin
if
(
drv_set_rx_ctr
=
'1'
)
then
rx_counter
<=
drv_set_ctr_val
;
elsif
(
rec_valid
=
'1'
)
then
rx_counter
<=
std_logic_vector
(
unsigned
(
rx_counter
<=
std_logic_vector
(
to_
unsigned
(
to_integer
(
unsigned
(
rx_counter
))
+
1
,
rx_counter
'length
));
...
...
@@ -1135,7 +1135,7 @@ begin
if
(
drv_set_tx_ctr
=
'1'
)
then
tx_counter
<=
drv_set_ctr_val
;
elsif
(
tran_valid
=
'1'
)
then
tx_counter
<=
std_logic_vector
(
unsigned
(
tx_counter
<=
std_logic_vector
(
to_
unsigned
(
to_integer
(
unsigned
(
tx_counter
))
+
1
,
tx_counter
'length
));
end
if
;
...
...
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