Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CTU CAN FD IP Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canbus
CTU CAN FD IP Core
Commits
4e07d6b4
Commit
4e07d6b4
authored
Sep 02, 2018
by
Ille, Ondrej, Ing.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added wait on second frame from Node 1
parent
0b197211
Pipeline
#1978
failed with stages
in 5 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
test/feature/bus_start_feature_tb.vhd
test/feature/bus_start_feature_tb.vhd
+10
-3
No files found.
test/feature/bus_start_feature_tb.vhd
View file @
4e07d6b4
...
...
@@ -57,6 +57,7 @@
-- smitted by Node 1, since it has 4 frames available! Thus it is
-- guaranteed that there will be minimal necessary gap for integration
-- which must be enough for Node 2!
-- 7. Wait until Node 1 transmitts its second frame!
--
--------------------------------------------------------------------------------
-- Revision History:
...
...
@@ -121,12 +122,10 @@ package body bus_start_feature is
CAN_frame
.
identifier
:
=
514
;
------------------------------------------------------------------------
-- Insert frame to
all 4
TXT Buffers of Node 1
-- Insert frame to
2
TXT Buffers of Node 1
------------------------------------------------------------------------
CAN_send_frame
(
CAN_frame
,
1
,
ID_1
,
mem_bus
(
1
),
frame_sent
);
CAN_send_frame
(
CAN_frame
,
2
,
ID_1
,
mem_bus
(
1
),
frame_sent
);
CAN_send_frame
(
CAN_frame
,
3
,
ID_1
,
mem_bus
(
1
),
frame_sent
);
CAN_send_frame
(
CAN_frame
,
4
,
ID_1
,
mem_bus
(
1
),
frame_sent
);
------------------------------------------------------------------------
-- Turn on Node 1, Wait until it starts transmitting
...
...
@@ -225,6 +224,14 @@ package body bus_start_feature is
-- LCOV_EXCL_STOP
end
if
;
------------------------------------------------------------------------
-- Now wait until Node 1 transmitts frame which lost the arbitration
-- so that we leave test environmnet withou pending frames in TXT
-- Buffers.
------------------------------------------------------------------------
CAN_wait_bus_idle
(
ID_1
,
mem_bus
(
1
));
report
"Last frame was sent!"
;
end
procedure
;
end
package
body
;
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