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
b49a3726
Commit
b49a3726
authored
Dec 28, 2018
by
Ille, Ondrej, Ing.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Joined all synthesis includes to single context.
Joined all test includes to single context.
parent
ad5c5737
Changes
80
Hide whitespace changes
Inline
Side-by-side
Showing
80 changed files
with
833 additions
and
1032 deletions
+833
-1032
src/CAN_top_level.vhd
src/CAN_top_level.vhd
+1
-7
src/apb/apb_ifc.vhd
src/apb/apb_ifc.vhd
+2
-4
src/bus_sampling/bus_sampling.vhd
src/bus_sampling/bus_sampling.vhd
+1
-6
src/can_core/bit_destuffing/bit_destuffing.vhd
src/can_core/bit_destuffing/bit_destuffing.vhd
+1
-5
src/can_core/bit_stuffing/bit_stuffing.vhd
src/can_core/bit_stuffing/bit_stuffing.vhd
+1
-5
src/can_core/bus_traffic_counters/bus_traffic_counters.vhd
src/can_core/bus_traffic_counters/bus_traffic_counters.vhd
+1
-7
src/can_core/can_core.vhd
src/can_core/can_core.vhd
+1
-7
src/can_core/crc/can_crc.vhd
src/can_core/crc/can_crc.vhd
+1
-7
src/can_core/crc/crc_calc.vhd
src/can_core/crc/crc_calc.vhd
+1
-5
src/can_core/crc/crc_wrapper.vhd
src/can_core/crc/crc_wrapper.vhd
+1
-7
src/can_core/fault_confinement/fault_confinement.vhd
src/can_core/fault_confinement/fault_confinement.vhd
+1
-4
src/can_core/operation_control/operation_control.vhd
src/can_core/operation_control/operation_control.vhd
+1
-5
src/can_core/protocol_control/protocol_control.vhd
src/can_core/protocol_control/protocol_control.vhd
+1
-8
src/can_top_apb.vhd
src/can_top_apb.vhd
+1
-3
src/common/endian_swap.vhd
src/common/endian_swap.vhd
+1
-3
src/event_logger/event_logger.vhd
src/event_logger/event_logger.vhd
+1
-4
src/frame_filters/bit_filter.vhd
src/frame_filters/bit_filter.vhd
+1
-5
src/frame_filters/frame_filters.vhd
src/frame_filters/frame_filters.vhd
+1
-7
src/frame_filters/range_filter.vhd
src/frame_filters/range_filter.vhd
+1
-5
src/interrupts/int_manager.vhd
src/interrupts/int_manager.vhd
+1
-7
src/interrupts/int_module.vhd
src/interrupts/int_module.vhd
+1
-6
src/lib/can_components.vhd
src/lib/can_components.vhd
+4
-4
src/lib/can_constants.vhd
src/lib/can_constants.vhd
+0
-388
src/lib/can_types.vhd
src/lib/can_types.vhd
+2
-0
src/lib/drv_stat_pkg.vhd
src/lib/drv_stat_pkg.vhd
+442
-0
src/lib/synth_context.vhd
src/lib/synth_context.vhd
+68
-0
src/memory_registers/memory_registers.vhd
src/memory_registers/memory_registers.vhd
+2
-6
src/prescaler/prescaler.vhd
src/prescaler/prescaler.vhd
+1
-4
src/rx_buffer/rx_buffer.vhd
src/rx_buffer/rx_buffer.vhd
+1
-7
src/rx_buffer/rx_buffer_fsm.vhd
src/rx_buffer/rx_buffer_fsm.vhd
+1
-7
src/rx_buffer/rx_buffer_pointers.vhd
src/rx_buffer/rx_buffer_pointers.vhd
+1
-7
src/tx_arbitrator/priority_decoder.vhd
src/tx_arbitrator/priority_decoder.vhd
+1
-5
src/tx_arbitrator/tx_arbitrator.vhd
src/tx_arbitrator/tx_arbitrator.vhd
+1
-7
src/tx_arbitrator/tx_arbitrator_fsm.vhd
src/tx_arbitrator/tx_arbitrator_fsm.vhd
+1
-7
src/txt_buffer/txt_buffer.vhd
src/txt_buffer/txt_buffer.vhd
+1
-5
src/txt_buffer/txt_buffer_fsm.vhd
src/txt_buffer/txt_buffer_fsm.vhd
+1
-6
synthesis/Vivado/xilinx_benchmark/xilinx_benchmark.cache/wt/webtalk_pa.xml
...xilinx_benchmark/xilinx_benchmark.cache/wt/webtalk_pa.xml
+93
-42
test/feature/abort_transmittion_feature_tb.vhd
test/feature/abort_transmittion_feature_tb.vhd
+4
-10
test/feature/arbitration_feature_tb.vhd
test/feature/arbitration_feature_tb.vhd
+4
-11
test/feature/bus_start_feature_tb.vhd
test/feature/bus_start_feature_tb.vhd
+4
-11
test/feature/byte_enable_feature_tb.vhd
test/feature/byte_enable_feature_tb.vhd
+3
-9
test/feature/data_length_code_feature_tb.vhd
test/feature/data_length_code_feature_tb.vhd
+3
-10
test/feature/data_overrun_clear_feature_tb.vhd
test/feature/data_overrun_clear_feature_tb.vhd
+3
-9
test/feature/fault_confinement_feature_tb.vhd
test/feature/fault_confinement_feature_tb.vhd
+4
-10
test/feature/forbid_fd_feature_tb.vhd
test/feature/forbid_fd_feature_tb.vhd
+3
-11
test/feature/interrupt_feature_tb.vhd
test/feature/interrupt_feature_tb.vhd
+4
-11
test/feature/invalid_configs_feature_tb.vhd
test/feature/invalid_configs_feature_tb.vhd
+4
-11
test/feature/message_filter_feature_tb.vhd
test/feature/message_filter_feature_tb.vhd
+4
-11
test/feature/overload_feature_tb.vhd
test/feature/overload_feature_tb.vhd
+4
-10
test/feature/pkg_feature_exec_dispatch.vhd
test/feature/pkg_feature_exec_dispatch.vhd
+7
-7
test/feature/retr_limit_feature_tb.vhd
test/feature/retr_limit_feature_tb.vhd
+4
-11
test/feature/rtr_pref_feature_tb.vhd
test/feature/rtr_pref_feature_tb.vhd
+4
-11
test/feature/rx_status_feature_tb.vhd
test/feature/rx_status_feature_tb.vhd
+4
-11
test/feature/spec_mode_feature_tb.vhd
test/feature/spec_mode_feature_tb.vhd
+3
-9
test/feature/suspend_transmission_feature_tb.vhd
test/feature/suspend_transmission_feature_tb.vhd
+3
-10
test/feature/tb_feature.vhd
test/feature/tb_feature.vhd
+3
-10
test/feature/timestamp_options_feature_tb.vhd
test/feature/timestamp_options_feature_tb.vhd
+4
-10
test/feature/traf_meas_feature_tb.vhd
test/feature/traf_meas_feature_tb.vhd
+3
-9
test/feature/tran_delay_feature_tb.vhd
test/feature/tran_delay_feature_tb.vhd
+3
-10
test/feature/tx_arb_time_tran_feature_tb.vhd
test/feature/tx_arb_time_tran_feature_tb.vhd
+4
-10
test/feature/txtb_state_feature_tb.vhd
test/feature/txtb_state_feature_tb.vhd
+4
-11
test/lib/test_context.vhd
test/lib/test_context.vhd
+62
-0
test/reference/tb_reference.vhd
test/reference/tb_reference.vhd
+2
-13
test/reference/vunit_reference_wrapper.vhd
test/reference/vunit_reference_wrapper.vhd
+2
-4
test/sanity/sanity_test.vhd
test/sanity/sanity_test.vhd
+2
-13
test/sanity/tb_sanity.vhd
test/sanity/tb_sanity.vhd
+5
-6
test/unit/APB/APB_tb.vhd
test/unit/APB/APB_tb.vhd
+2
-6
test/unit/Bit_Stuffing/Bit_Stuffing_tb.vhd
test/unit/Bit_Stuffing/Bit_Stuffing_tb.vhd
+2
-13
test/unit/Bus_Sampling/Bus_Sync_tb.vhd
test/unit/Bus_Sampling/Bus_Sync_tb.vhd
+2
-9
test/unit/CRC/CRC_tb.vhd
test/unit/CRC/CRC_tb.vhd
+2
-11
test/unit/Evnt_Logger/Event_logger_tb.vhd
test/unit/Evnt_Logger/Event_logger_tb.vhd
+2
-9
test/unit/Fault_confinement/Fault_confinement_tb.vhd
test/unit/Fault_confinement/Fault_confinement_tb.vhd
+2
-11
test/unit/Int_Manager/Int_Manager_tb.vhd
test/unit/Int_Manager/Int_Manager_tb.vhd
+2
-12
test/unit/Message_filter/message_filter_tb.vhd
test/unit/Message_filter/message_filter_tb.vhd
+2
-9
test/unit/Prescaler/Prescaler_tb.vhd
test/unit/Prescaler/Prescaler_tb.vhd
+2
-10
test/unit/Protocol_Control/Protocol_Control_tb.vhd
test/unit/Protocol_Control/Protocol_Control_tb.vhd
+2
-13
test/unit/RX_Buffer/RX_Buffer_tb.vhd
test/unit/RX_Buffer/RX_Buffer_tb.vhd
+2
-12
test/unit/TX_Arbitrator/TX_Arbitrator_tb.vhd
test/unit/TX_Arbitrator/TX_Arbitrator_tb.vhd
+2
-12
test/unit/TX_Buffer/Tx_Buffer_tb.vhd
test/unit/TX_Buffer/Tx_Buffer_tb.vhd
+2
-10
test/unit/vunittb_wrapper.vhd
test/unit/vunittb_wrapper.vhd
+2
-4
No files found.
src/CAN_top_level.vhd
View file @
b49a3726
...
...
@@ -75,13 +75,7 @@
-- buffer FSM, HW commands and SW commands.
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
USE
WORK
.
can_constants
.
ALL
;
use
work
.
can_components
.
ALL
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
cmn_lib
.
all
;
context
work
.
ctu_can_synth_context
;
entity
CAN_top_level
is
generic
(
...
...
src/apb/apb_ifc.vhd
View file @
b49a3726
...
...
@@ -51,10 +51,8 @@
-- This is important for reads with side effects, such as
-- reading from FIFO.
--------------------------------------------------------------------------------
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
all
;
use
work
.
can_constants
.
all
;
context
work
.
ctu_can_synth_context
;
entity
apb_ifc
is
generic
(
...
...
src/bus_sampling/bus_sampling.vhd
View file @
b49a3726
...
...
@@ -88,12 +88,7 @@
-- generic synchronisation chain module.
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
USE
WORK
.
can_constants
.
ALL
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
cmn_lib
.
all
;
context
work
.
ctu_can_synth_context
;
entity
bus_sampling
is
GENERIC
(
...
...
src/can_core/bit_destuffing/bit_destuffing.vhd
View file @
b49a3726
...
...
@@ -76,11 +76,7 @@
-- processes.
--------------------------------------------------------------------------------
library
ieee
;
use
IEEE
.
std_logic_1164
.
all
;
use
IEEE
.
numeric_std
.
all
;
use
WORK
.
can_constants
.
all
;
use
work
.
cmn_lib
.
all
;
context
work
.
ctu_can_synth_context
;
entity
bit_destuffing
is
port
(
...
...
src/can_core/bit_stuffing/bit_stuffing.vhd
View file @
b49a3726
...
...
@@ -74,11 +74,7 @@
-- processes.
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
USE
WORK
.
can_constants
.
ALL
;
use
work
.
cmn_lib
.
all
;
context
work
.
ctu_can_synth_context
;
entity
bit_stuffing
is
port
(
...
...
src/can_core/bus_traffic_counters/bus_traffic_counters.vhd
View file @
b49a3726
...
...
@@ -49,13 +49,7 @@
-- 24.12.2018 Created file
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
ALL
;
use
work
.
CAN_FD_frame_format
.
ALL
;
use
work
.
CAN_FD_frame_format
.
all
;
context
work
.
ctu_can_synth_context
;
entity
bus_traffic_counters
is
port
(
...
...
src/can_core/can_core.vhd
View file @
b49a3726
...
...
@@ -86,13 +86,7 @@
-- 24.12.2018 Separated traffic counters to stand-alone component.
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
ALL
;
use
work
.
CAN_FD_frame_format
.
ALL
;
use
work
.
CAN_FD_frame_format
.
all
;
context
work
.
ctu_can_synth_context
;
entity
can_core
is
port
(
...
...
src/can_core/crc/can_crc.vhd
View file @
b49a3726
...
...
@@ -63,13 +63,7 @@
-- 15.11.2018 Replaced hard-coded CRC calculation with generic CRC entity.
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
use
work
.
can_constants
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
can_components
.
all
;
context
work
.
ctu_can_synth_context
;
entity
can_crc
is
generic
(
...
...
src/can_core/crc/crc_calc.vhd
View file @
b49a3726
...
...
@@ -53,11 +53,7 @@
-- 15.11.2018 Created file
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
use
work
.
can_constants
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
context
work
.
ctu_can_synth_context
;
entity
crc_calc
is
generic
(
...
...
src/can_core/crc/crc_wrapper.vhd
View file @
b49a3726
...
...
@@ -56,13 +56,7 @@
-- 28.12.2018 Created file
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
use
work
.
can_constants
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
can_components
.
all
;
context
work
.
ctu_can_synth_context
;
entity
crc_wrapper
is
generic
(
...
...
src/can_core/fault_confinement/fault_confinement.vhd
View file @
b49a3726
...
...
@@ -68,10 +68,7 @@
-- to transfer from Bus-off to Error active!
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
USE
WORK
.
can_constants
.
ALL
;
context
work
.
ctu_can_synth_context
;
entity
fault_confinement
is
PORT
(
...
...
src/can_core/operation_control/operation_control.vhd
View file @
b49a3726
...
...
@@ -55,11 +55,7 @@
-- turning Transceiver or Receiver!
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
use
work
.
can_constants
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
context
work
.
ctu_can_synth_context
;
entity
operation_control
is
port
(
...
...
src/can_core/protocol_control/protocol_control.vhd
View file @
b49a3726
...
...
@@ -247,14 +247,7 @@
-- as before), error counter is incremented again!
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
use
work
.
can_constants
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
endian_swap
.
all
;
context
work
.
ctu_can_synth_context
;
entity
protocol_control
is
port
(
...
...
src/can_top_apb.vhd
View file @
b49a3726
...
...
@@ -47,9 +47,7 @@
-- May 2018 First Implementation
--------------------------------------------------------------------------------
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
work
.
can_components
.
ALL
;
context
work
.
ctu_can_synth_context
;
entity
CTU_CAN_FD_v1_0
is
generic
(
...
...
src/common/endian_swap.vhd
View file @
b49a3726
...
...
@@ -48,9 +48,7 @@
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
use
work
.
CAN_FD_frame_format
.
all
;
use
ieee
.
std_logic_1164
.
all
;
package
endian_swap
is
...
...
src/event_logger/event_logger.vhd
View file @
b49a3726
...
...
@@ -83,10 +83,7 @@
-- "additional" details fields.
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
USE
WORK
.
can_constants
.
ALL
;
context
work
.
ctu_can_synth_context
;
entity
event_logger
is
generic
(
...
...
src/frame_filters/bit_filter.vhd
View file @
b49a3726
...
...
@@ -48,11 +48,7 @@
-- 14.11.2018 Created file
--------------------------------------------------------------------------------
Library
ieee
;
use
IEEE
.
std_logic_1164
.
all
;
use
IEEE
.
numeric_std
.
ALL
;
use
work
.
can_constants
.
all
;
use
work
.
ID_transfer
.
all
;
context
work
.
ctu_can_synth_context
;
entity
bit_filter
is
generic
(
...
...
src/frame_filters/frame_filters.vhd
View file @
b49a3726
...
...
@@ -60,13 +60,7 @@
-- frame was anyway propagated to the output!
--------------------------------------------------------------------------------
Library
ieee
;
use
IEEE
.
std_logic_1164
.
all
;
use
IEEE
.
numeric_std
.
ALL
;
use
work
.
can_constants
.
all
;
use
work
.
ID_transfer
.
all
;
use
work
.
can_components
.
ALL
;
use
work
.
CAN_FD_frame_format
.
all
;
context
work
.
ctu_can_synth_context
;
entity
frame_filters
is
generic
(
...
...
src/frame_filters/range_filter.vhd
View file @
b49a3726
...
...
@@ -48,11 +48,7 @@
-- 14.11.2018 Created file
--------------------------------------------------------------------------------
Library
ieee
;
use
IEEE
.
std_logic_1164
.
all
;
use
IEEE
.
numeric_std
.
ALL
;
use
work
.
can_constants
.
all
;
use
work
.
ID_transfer
.
all
;
context
work
.
ctu_can_synth_context
;
entity
range_filter
is
generic
(
...
...
src/interrupts/int_manager.vhd
View file @
b49a3726
...
...
@@ -72,13 +72,7 @@
-- generic option...
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
USE
WORK
.
can_constants
.
ALL
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
can_components
.
all
;
context
work
.
ctu_can_synth_context
;
entity
int_manager
is
generic
(
...
...
src/interrupts/int_module.vhd
View file @
b49a3726
...
...
@@ -61,12 +61,7 @@
-- synthesis.
--------------------------------------------------------------------------------
Library
ieee
;
USE
IEEE
.
std_logic_1164
.
all
;
USE
IEEE
.
numeric_std
.
ALL
;
USE
WORK
.
can_constants
.
ALL
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
reduce_lib
.
all
;
context
work
.
ctu_can_synth_context
;
entity
int_module
is
generic
(
...
...
src/lib/can_components.vhd
View file @
b49a3726
...
...
@@ -56,10 +56,10 @@
-- 29.9.2018 Added "inf_RAM_wrapper".
--------------------------------------------------------------------------------
l
ibrary
ieee
;
use
IEEE
.
std_logic_1164
.
all
;
use
IEEE
.
numeric_std
.
all
;
use
WORK
.
can_constants
.
all
;
L
ibrary
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
work
.
can_types
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_registers_pkg
.
all
;
package
can_components
is
...
...
src/lib/can_constants.vhd
View file @
b49a3726
...
...
@@ -151,394 +151,6 @@ package can_constants is
constant
CRC17_POL
:
std_logic_vector
(
19
downto
0
)
:
=
x"3685B"
;
constant
CRC21_POL
:
std_logic_vector
(
23
downto
0
)
:
=
x"302899"
;
----------------------------------------------------------------------------
-- Driving bus signal ranges
----------------------------------------------------------------------------
--Prescaler
constant
DRV_TQ_NBT_LOW
:
natural
:
=
0
;
constant
DRV_TQ_NBT_HIGH
:
natural
:
=
7
;
constant
DRV_TQ_DBT_LOW
:
natural
:
=
8
;
constant
DRV_TQ_DBT_HIGH
:
natural
:
=
15
;
constant
DRV_PRS_NBT_LOW
:
natural
:
=
16
;
constant
DRV_PRS_NBT_HIGH
:
natural
:
=
22
;
constant
DRV_PH1_NBT_LOW
:
natural
:
=
23
;
constant
DRV_PH1_NBT_HIGH
:
natural
:
=
28
;
constant
DRV_PH2_NBT_LOW
:
natural
:
=
29
;
constant
DRV_PH2_NBT_HIGH
:
natural
:
=
34
;
constant
DRV_PRS_DBT_LOW
:
natural
:
=
35
;
constant
DRV_PRS_DBT_HIGH
:
natural
:
=
40
;
constant
DRV_PH1_DBT_LOW
:
natural
:
=
41
;
constant
DRV_PH1_DBT_HIGH
:
natural
:
=
45
;
constant
DRV_PH2_DBT_LOW
:
natural
:
=
46
;
constant
DRV_PH2_DBT_HIGH
:
natural
:
=
50
;
constant
DRV_SJW_LOW
:
natural
:
=
51
;
constant
DRV_SJW_HIGH
:
natural
:
=
55
;
constant
DRV_SJW_DBT_LOW
:
natural
:
=
56
;
constant
DRV_SJW_DBT_HIGH
:
natural
:
=
60
;
-- TimeStampGen
constant
DRV_TS_1_SRC_LOW
:
natural
:
=
61
;
constant
DRV_TS_1_SRC_HIGH
:
natural
:
=
63
;
constant
DRV_TS_1_RST_INDEX
:
natural
:
=
64
;
constant
DRV_TS_1_MAKE_LOW
:
natural
:
=
65
;
constant
DRV_TS_1_MAKE_HIGH
:
natural
:
=
68
;
constant
DRV_TS_2_SRC_LOW
:
natural
:
=
69
;
constant
DRV_TS_2_SRC_HIGH
:
natural
:
=
71
;
constant
DRV_TS_2_RST_INDEX
:
natural
:
=
72
;
constant
DRV_TS_2_MAKE_LOW
:
natural
:
=
73
;
constant
DRV_TS_2_MAKE_HIGH
:
natural
:
=
76
;
-- Message Filter
constant
DRV_FILTER_A_MASK_LOW
:
natural
:
=
81
;
constant
DRV_FILTER_A_MASK_HIGH
:
natural
:
=
109
;
constant
DRV_FILTER_A_CTRL_LOW
:
natural
:
=
110
;
constant
DRV_FILTER_A_CTRL_HIGH
:
natural
:
=
113
;
constant
DRV_FILTER_A_BITS_LOW
:
natural
:
=
114
;
constant
DRV_FILTER_A_BITS_HIGH
:
natural
:
=
142
;
constant
DRV_FILTER_B_MASK_LOW
:
natural
:
=
143
;
constant
DRV_FILTER_B_MASK_HIGH
:
natural
:
=
171
;
constant
DRV_FILTER_B_CTRL_LOW
:
natural
:
=
172
;
constant
DRV_FILTER_B_CTRL_HIGH
:
natural
:
=
175
;
constant
DRV_FILTER_B_BITS_LOW
:
natural
:
=
176
;
constant
DRV_FILTER_B_BITS_HIGH
:
natural
:
=
204
;
constant
DRV_FILTER_C_MASK_LOW
:
natural
:
=
205
;
constant
DRV_FILTER_C_MASK_HIGH
:
natural
:
=
233
;
constant
DRV_FILTER_C_CTRL_LOW
:
natural
:
=
234
;
constant
DRV_FILTER_C_CTRL_HIGH
:
natural
:
=
237
;
constant
DRV_FILTER_C_BITS_LOW
:
natural
:
=
238
;
constant
DRV_FILTER_C_BITS_HIGH
:
natural
:
=
266
;
constant
DRV_FILTER_RAN_CTRL_LOW
:
natural
:
=
267
;
constant
DRV_FILTER_RAN_CTRL_HIGH
:
natural
:
=
270
;
constant
DRV_FILTER_RAN_LO_TH_LOW
:
natural
:
=
271
;
constant
DRV_FILTER_RAN_LO_TH_HIGH
:
natural
:
=
299
;
constant
DRV_FILTER_RAN_HI_TH_LOW
:
natural
:
=
300
;
constant
DRV_FILTER_RAN_HI_TH_HIGH
:
natural
:
=
328
;
constant
DRV_FILTERS_ENA_INDEX
:
natural
:
=
329
;
-- RX Buffer
constant
DRV_ERASE_RX_INDEX
:
natural
:
=
350
;
constant
DRV_RTSOPT_INDEX
:
natural
:
=
351
;
constant
DRV_READ_START_INDEX
:
natural
:
=
352
;
constant
DRV_CLR_OVR_INDEX
:
natural
:
=
353
;
-- TXT Buffer
constant
DRV_ERASE_TXT2_INDEX
:
natural
:
=
356
;
constant
DRV_TXT1_WR
:
natural
:
=
357
;
-- TX Buffer
constant
DRV_ERASE_TXT1_INDEX
:
natural
:
=
366
;
constant
DRV_TXT2_WR
:
natural
:
=
367
;
-- Interrupt manager indices
constant
DRV_INT_CLR_HIGH
:
natural
:
=
747
;
constant
DRV_INT_CLR_LOW
:
natural
:
=
736
;
constant
DRV_INT_ENA_SET_HIGH
:
natural
:
=
779
;
constant
DRV_INT_ENA_SET_LOW
:
natural
:
=
768
;
constant
DRV_INT_ENA_CLR_HIGH
:
natural
:
=
811
;
constant
DRV_INT_ENA_CLR_LOW
:
natural
:
=
800
;
constant
DRV_INT_MASK_SET_HIGH
:
natural
:
=
843
;
constant
DRV_INT_MASK_SET_LOW
:
natural
:
=
832
;
constant
DRV_INT_MASK_CLR_HIGH
:
natural
:
=
875
;
constant
DRV_INT_MASK_CLR_LOW
:
natural
:
=
864
;
constant
DRV_SAM_INDEX
:
natural
:
=
372
;
----------------------------------------------------------------------------
-- CAN Core
----------------------------------------------------------------------------
-- Fault Confinement
constant
DRV_EWL_LOW
:
natural
:
=
400
;
constant
DRV_EWL_HIGH
:
natural
:
=
407
;
constant
DRV_ERP_LOW
:
natural
:
=
408
;
constant
DRV_ERP_HIGH
:
natural
:
=
415
;
constant
DRV_CTR_VAL_LOW
:
natural
:
=
416
;
constant
DRV_CTR_VAL_HIGH
:
natural
:
=
424
;
constant
DRV_CTR_SEL_LOW
:
natural
:
=
425
;
constant
DRV_CTR_SEL_HIGH
:
natural
:
=
428
;
constant
DRV_ERR_CTR_CLR
:
natural
:
=
429
;
constant
DRV_RXFCRST_INDEX
:
natural
:
=
430
;
constant
DRV_TXFCRST_INDEX
:
natural
:
=
431
;
-- Operation control FSM
constant
DRV_CAN_FD_ENA_INDEX
:
natural
:
=
460
;
constant
DRV_RTR_PREF_INDEX
:
natural
:
=
461
;
constant
DRV_BUS_MON_ENA_INDEX
:
natural
:
=
470
;
constant
DRV_SELF_TEST_ENA_INDEX
:
natural
:
=
471
;
constant
DRV_RETR_LIM_ENA_INDEX
:
natural
:
=
465
;
constant
DRV_RETR_TH_LOW
:
natural
:
=
466
;
constant
DRV_RETR_TH_HIGH
:
natural
:
=
469
;
constant
DRV_ABORT_TRAN_INDEX
:
natural
:
=
472
;
constant
DRV_CLR_RX_CTR_INDEX
:
natural
:
=
473
;
constant
DRV_CLR_TX_CTR_INDEX
:
natural
:
=
474
;
constant
DRV_ACK_FORB_INDEX
:
natural
:
=
507
;
constant
DRV_INT_LOOBACK_ENA_INDEX
:
natural
:
=
508
;
constant
DRV_ENA_INDEX
:
natural
:
=
509
;
constant
DRV_FD_TYPE_INDEX
:
natural
:
=
510
;
----------------------------------------------------------------------------
-- Event logger
----------------------------------------------------------------------------
constant
DRV_TRIG_CONFIG_DATA_HIGH
:
natural
:
=
551
;
constant
DRV_TRIG_CONFIG_DATA_LOW
:
natural
:
=
520
;
constant
DRV_TRIG_SOF_INDEX
:
natural
:
=
552
;
constant
DRV_TRIG_ARB_LOST_INDEX
:
natural
:
=
553
;
constant
DRV_TRIG_REC_VALID_INDEX
:
natural
:
=
554
;
constant
DRV_TRIG_TRAN_VALID_INDEX
:
natural
:
=
555
;
constant
DRV_TRIG_OVL_INDEX
:
natural
:
=
556
;
constant
DRV_TRIG_ERROR_INDEX
:
natural
:
=
557
;
constant
DRV_TRIG_BRS_INDEX
:
natural
:
=
558
;
constant
DRV_TRIG_USER_WRITE_INDEX
:
natural
:
=
559
;
constant
DRV_TRIG_ARB_START_INDEX
:
natural
:
=
560
;
constant
DRV_TRIG_CONTR_START_INDEX
:
natural
:
=
561
;
constant
DRV_TRIG_DATA_START_INDEX
:
natural
:
=
562
;
constant
DRV_TRIG_CRC_START_INDEX
:
natural
:
=
563
;
constant
DRV_TRIG_ACK_REC_INDEX
:
natural
:
=
564
;
constant
DRV_TRIG_ACK_N_REC_INDEX
:
natural
:
=
565
;
constant
DRV_TRIG_EWL_REACHED_INDEX
:
natural
:
=
566
;
constant
DRV_TRIG_ERP_CHANGED_INDEX
:
natural
:
=
567
;
constant
DRV_TRIG_TRAN_START_INDEX
:
natural
:
=
568
;
constant
DRV_TRIG_REC_START_INDEX
:
natural
:
=
569
;
constant
DRV_CAP_SOF_INDEX
:
natural
:
=
580
;
constant
DRV_CAP_ARB_LOST_INDEX
:
natural
:
=
581
;
constant
DRV_CAP_REC_VALID_INDEX
:
natural
:
=
582
;
constant
DRV_CAP_TRAN_VALID_INDEX
:
natural
:
=
583
;
constant
DRV_CAP_OVL_INDEX
:
natural
:
=
584
;
constant
DRV_CAP_ERROR_INDEX
:
natural
:
=
585
;
constant
DRV_CAP_BRS_INDEX
:
natural
:
=
586
;
constant
DRV_CAP_ARB_START_INDEX
:
natural
:
=
587
;
constant
DRV_CAP_CONTR_START_INDEX
:
natural
:
=
588
;
constant
DRV_CAP_DATA_START_INDEX
:
natural
:
=
589
;
constant
DRV_CAP_CRC_START_INDEX
:
natural
:
=
590
;
constant
DRV_CAP_ACK_REC_INDEX
:
natural
:
=
591
;
constant
DRV_CAP_ACK_N_REC_INDEX
:
natural
:
=
592
;
constant
DRC_CAP_EWL_REACHED_INDEX
:
natural
:
=
593
;
constant
DRV_CAP_ERP_CHANGED_INDEX
:
natural
:
=
594
;
constant
DRV_CAP_TRAN_START_INDEX
:
natural
:
=
595
;
constant
DRV_CAP_REC_START_INDEX
:
natural
:
=
596
;
constant
DRV_CAP_SYNC_EDGE_INDEX
:
natural
:
=
597
;
constant
DRV_CAP_STUFFED_INDEX
:
natural
:
=
598
;
constant
DRV_CAP_DESTUFFED_INDEX
:
natural
:
=
599
;
constant
DRV_CAP_OVR_INDEX
:
natural
:
=
600
;
constant
DRV_LOG_CMD_STR_INDEX
:
natural
:
=
610
;
constant
DRV_LOG_CMD_ABT_INDEX
:
natural
:
=
611
;
constant
DRV_LOG_CMD_UP_INDEX
:
natural
:
=
612
;
constant
DRV_LOG_CMD_DOWN_INDEX
:
natural
:
=
613
;
----------------------------------------------------------------------------
-- RX, TX and TXT Buffer frame format signal indexes
----------------------------------------------------------------------------
--Tx Message format (Format A)
constant
TX_FFW_HIGH
:
natural
:
=
639
;
constant
TX_FFW_LOW
:
natural
:
=
608
;
constant
TX_IDW_HIGH
:
natural
:
=
607
;
constant
TX_IDW_LOW
:
natural
:
=
576
;
--16 Data words for up to 64 bytes of data
constant
TX_DATAW_HIGH
:
natural
:
=
575
;
constant
TX_DATA1W_LOW
:
natural
:
=
544
;
constant
TX_DATAW_LOW
:
natural
:
=
64
;
--Txt message format (Format B)
constant
TXT_FFW_HIGH
:
natural
:
=
639
;
constant
TXT_FFW_LOW
:
natural
:
=
608
;
constant
TXT_IDW_HIGH
:
natural
:
=
607
;
constant
TXT_IDW_LOW
:
natural
:
=
576
;
constant
TXT_TSLOW_HIGH
:
natural
:
=
575
;
constant
TXT_TSLOW_LOW
:
natural
:
=
544
;
constant
TXT_TSUPP_HIGH
:
natural
:
=
543
;
constant
TXT_TSUPP_LOW
:
natural
:
=
512
;
constant
TXT_DATAW_HIGH
:
natural
:
=
511
;
constant
TXT_DATAW_LOW
:
natural
:
=
0
;
----------------------------------------------------------------------------
-- Status bus Indices
----------------------------------------------------------------------------
constant
STAT_OP_STATE_LOW
:
natural
:
=
0
;
constant
STAT_OP_STATE_HIGH
:
natural
:
=
1
;
constant
STAT_PC_STATE_LOW
:
natural
:
=
2
;
constant
STAT_PC_STATE_HIGH
:
natural
:
=
5
;
constant
STAT_ARB_LOST_INDEX
:
natural
:
=
6
;
constant
STAT_SET_TRANSC_INDEX
:
natural
:
=
7
;
constant
STAT_SET_REC_INDEX
:
natural
:
=
8
;
constant
STAT_IS_IDLE_INDEX
:
natural
:
=
9
;
constant
STAT_SP_CONTROL_HIGH
:
natural
:
=
11
;
constant
STAT_SP_CONTROL_LOW
:
natural
:
=
10
;
constant
STAT_SSP_RESET_INDEX
:
natural
:
=
12
;
constant
STAT_TRV_DELAY_CALIB_INDEX
:
natural
:
=
13
;
constant
STAT_SYNC_CONTROL_HIGH
:
natural
:
=
15
;
constant
STAT_SYNC_CONTROL_LOW
:
natural
:
=
14
;
constant
STAT_DATA_TX_INDEX
:
natural
:
=
16
;