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
14
Issues
14
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
9a1a1f0e
Commit
9a1a1f0e
authored
May 06, 2020
by
Ille, Ondrej, Ing.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: Fix Error rules E. One more wait bit added.
Also node 1 will end up in Overload (not error) frame.
parent
0ba13886
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
test/feature/error_rules_e_feature_tb.vhd
test/feature/error_rules_e_feature_tb.vhd
+6
-0
No files found.
test/feature/error_rules_e_feature_tb.vhd
View file @
9a1a1f0e
...
...
@@ -173,6 +173,12 @@ package body error_rules_e_feature is
CAN_generate_frame
(
rand_ctr
,
CAN_frame
);
CAN_send_frame
(
CAN_frame
,
1
,
ID_1
,
mem_bus
(
1
),
frame_sent
);
CAN_wait_pc_state
(
pc_deb_intermission
,
ID_2
,
mem_bus
(
2
));
-----------------------------------------------------------------------
-- Fix: We must wait for one more bit since Node 1 might understood
-- this as Error condition.
-----------------------------------------------------------------------
CAN_wait_sample_point
(
iout
(
2
)
.
stat_bus
,
false
);
-- Force Dominant -> Overload condition!
force_bus_level
(
DOMINANT
,
so
.
bl_force
,
so
.
bl_inject
);
...
...
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