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
89d8f438
Commit
89d8f438
authored
Jun 29, 2018
by
Ille, Ondrej, Ing.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed waiting on end of frame from second controller.
parent
75af2e7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test/feature/timestamp_options_feature_tb.vhd
test/feature/timestamp_options_feature_tb.vhd
+2
-2
No files found.
test/feature/timestamp_options_feature_tb.vhd
View file @
89d8f438
...
...
@@ -111,7 +111,7 @@ package body timestamp_options_feature is
-- Wait until frame was send, read by node 2 and check that timestamp
-- is very close to captured one from beginning...
------------------------------------------------------------------------
CAN_wait_frame_sent
(
ID_1
,
mem_bus
(
1
));
CAN_wait_frame_sent
(
ID_1
,
mem_bus
(
2
));
CAN_read_frame
(
CAN_frame
,
ID_2
,
mem_bus
(
2
));
diff
:
=
to_integer
(
unsigned
(
CAN_frame
.
timestamp
(
31
downto
0
)))
-
to_integer
(
unsigned
(
ts_beg
));
...
...
@@ -137,7 +137,7 @@ package body timestamp_options_feature is
-- Wait until frame was send, read by node 2 and check that timestamp
-- is very close to captured one from beginning...
------------------------------------------------------------------------
CAN_wait_frame_sent
(
ID_1
,
mem_bus
(
1
));
CAN_wait_frame_sent
(
ID_1
,
mem_bus
(
2
));
ts_end
:
=
iout
(
2
)
.
stat_bus
(
STAT_TS_LOW
+
31
downto
STAT_TS_LOW
);
wait
until
rising_edge
(
mem_bus
(
2
)
.
clk_sys
);
wait
until
rising_edge
(
mem_bus
(
2
)
.
clk_sys
);
...
...
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