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
33e5cf0e
Commit
33e5cf0e
authored
Mar 06, 2020
by
Ille, Ondrej, Ing.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: Move assertion one level higher to avoid Vivado warning on unused signal.
parent
53e41a29
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
12 deletions
+10
-12
src/lib/can_components.vhd
src/lib/can_components.vhd
+0
-3
src/rx_buffer/rx_buffer.vhd
src/rx_buffer/rx_buffer.vhd
+10
-1
src/rx_buffer/rx_buffer_fsm.vhd
src/rx_buffer/rx_buffer_fsm.vhd
+0
-8
No files found.
src/lib/can_components.vhd
View file @
33e5cf0e
...
...
@@ -3716,9 +3716,6 @@ package can_components is
-- Abort storing of RX Frame to RX Buffer.
rec_abort_f
:
in
std_logic
;
-- Start of Frame pulse
sof_pulse
:
in
std_logic
;
-----------------------------------------------------------------------
-- FSM outputs
-----------------------------------------------------------------------
...
...
src/rx_buffer/rx_buffer.vhd
View file @
33e5cf0e
...
...
@@ -436,7 +436,6 @@ begin
store_data_f
=>
store_data_f
,
-- IN
rec_valid_f
=>
rec_valid_f
,
-- IN
rec_abort_f
=>
rec_abort_f
,
-- IN
sof_pulse
=>
sof_pulse
,
-- IN
write_raw_intent
=>
write_raw_intent
,
-- OUT
write_ts
=>
write_ts
,
-- OUT
...
...
@@ -988,6 +987,16 @@ begin
-- psl rx_buf_store_64_byte_frame_cov :
-- cover {rec_dlc = "1111" and rec_is_rtr = '0' and commit_rx_frame = '1'};
---------------------------------------------------------------------------
-- "reset_overrun_flag = '1'" only in "s_rxb_idle" state. Therefore we can
-- use this signal to check that FSM is in s_rxb_idle state!
---------------------------------------------------------------------------
-- psl sof_pulse_asrt_asrt : assert never
-- (sof_pulse = '1' and reset_overrun_flag = '0')
-- report "RX Buffer: SOF pulse should come when RX Buffer is idle!"
-- severity error;
-- <RELEASE_ON>
end
architecture
;
\ No newline at end of file
src/rx_buffer/rx_buffer_fsm.vhd
View file @
33e5cf0e
...
...
@@ -94,9 +94,6 @@ entity rx_buffer_fsm is
-- Abort storing of RX Frame to RX Buffer.
rec_abort_f
:
in
std_logic
;
-- Start of Frame pulse
sof_pulse
:
in
std_logic
;
-----------------------------------------------------------------------
-- FSM outputs
-----------------------------------------------------------------------
...
...
@@ -321,11 +318,6 @@ begin
-- report "RX Buffer: Store data or frame commit commands did not come " &
-- "when RX Buffer is receiving data!"
-- severity error;
-- psl sof_pulse_asrt_asrt : assert never
-- (sof_pulse = '1' and (curr_state /= s_rxb_idle))
-- report "RX Buffer: SOF pulse should come when RX Buffer is idle!"
-- severity error;
-- psl rx_buf_cmds_one_hot_asrt : assert always
-- (now > 0 ps) -> (cmd_join = "0000" or cmd_join = "0001" or
...
...
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