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
1e2ac22c
Commit
1e2ac22c
authored
Jan 02, 2019
by
Ille, Ondrej, Ing.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used lengthy includes for synthesis code since free Quartus does
not support context. Used context only for testbench codes.
parent
ae00dc0b
Pipeline
#5594
passed with stages
in 11 minutes and 8 seconds
Changes
32
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
524 additions
and
36 deletions
+524
-36
src/apb/apb_ifc.vhd
src/apb/apb_ifc.vhd
+17
-1
src/bus_sampling/bus_sampling.vhd
src/bus_sampling/bus_sampling.vhd
+17
-1
src/can_core/bit_destuffing/bit_destuffing.vhd
src/can_core/bit_destuffing/bit_destuffing.vhd
+17
-1
src/can_core/bit_stuffing/bit_stuffing.vhd
src/can_core/bit_stuffing/bit_stuffing.vhd
+17
-1
src/can_core/bus_traffic_counters/bus_traffic_counters.vhd
src/can_core/bus_traffic_counters/bus_traffic_counters.vhd
+17
-1
src/can_core/can_core.vhd
src/can_core/can_core.vhd
+17
-1
src/can_core/crc/can_crc.vhd
src/can_core/crc/can_crc.vhd
+17
-1
src/can_core/crc/crc_calc.vhd
src/can_core/crc/crc_calc.vhd
+17
-1
src/can_core/crc/crc_wrapper.vhd
src/can_core/crc/crc_wrapper.vhd
+17
-1
src/can_core/fault_confinement/fault_confinement.vhd
src/can_core/fault_confinement/fault_confinement.vhd
+17
-1
src/can_core/operation_control/operation_control.vhd
src/can_core/operation_control/operation_control.vhd
+17
-1
src/can_core/protocol_control/protocol_control.vhd
src/can_core/protocol_control/protocol_control.vhd
+17
-1
src/can_top_apb.vhd
src/can_top_apb.vhd
+17
-1
src/can_top_level.vhd
src/can_top_level.vhd
+17
-1
src/event_logger/event_logger.vhd
src/event_logger/event_logger.vhd
+18
-1
src/frame_filters/bit_filter.vhd
src/frame_filters/bit_filter.vhd
+17
-1
src/frame_filters/frame_filters.vhd
src/frame_filters/frame_filters.vhd
+17
-1
src/frame_filters/range_filter.vhd
src/frame_filters/range_filter.vhd
+17
-1
src/interrupts/int_manager.vhd
src/interrupts/int_manager.vhd
+17
-1
src/interrupts/int_module.vhd
src/interrupts/int_module.vhd
+17
-1
src/memory_registers/memory_registers.vhd
src/memory_registers/memory_registers.vhd
+17
-1
src/prescaler/prescaler.vhd
src/prescaler/prescaler.vhd
+17
-1
src/rx_buffer/rx_buffer.vhd
src/rx_buffer/rx_buffer.vhd
+17
-1
src/rx_buffer/rx_buffer_fsm.vhd
src/rx_buffer/rx_buffer_fsm.vhd
+17
-1
src/rx_buffer/rx_buffer_pointers.vhd
src/rx_buffer/rx_buffer_pointers.vhd
+17
-1
src/tx_arbitrator/priority_decoder.vhd
src/tx_arbitrator/priority_decoder.vhd
+17
-1
src/tx_arbitrator/tx_arbitrator.vhd
src/tx_arbitrator/tx_arbitrator.vhd
+17
-1
src/tx_arbitrator/tx_arbitrator_fsm.vhd
src/tx_arbitrator/tx_arbitrator_fsm.vhd
+17
-1
src/txt_buffer/txt_buffer.vhd
src/txt_buffer/txt_buffer.vhd
+17
-1
src/txt_buffer/txt_buffer_fsm.vhd
src/txt_buffer/txt_buffer_fsm.vhd
+17
-1
test/lib/synth_context.vhd
test/lib/synth_context.vhd
+8
-4
test/lib/test_context.vhd
test/lib/test_context.vhd
+5
-2
No files found.
src/apb/apb_ifc.vhd
View file @
1e2ac22c
...
...
@@ -52,7 +52,23 @@
-- reading from FIFO.
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
apb_ifc
is
generic
(
...
...
src/bus_sampling/bus_sampling.vhd
View file @
1e2ac22c
...
...
@@ -88,7 +88,23 @@
-- generic synchronisation chain module.
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
bus_sampling
is
GENERIC
(
...
...
src/can_core/bit_destuffing/bit_destuffing.vhd
View file @
1e2ac22c
...
...
@@ -76,7 +76,23 @@
-- processes.
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
bit_destuffing
is
port
(
...
...
src/can_core/bit_stuffing/bit_stuffing.vhd
View file @
1e2ac22c
...
...
@@ -74,7 +74,23 @@
-- processes.
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
bit_stuffing
is
port
(
...
...
src/can_core/bus_traffic_counters/bus_traffic_counters.vhd
View file @
1e2ac22c
...
...
@@ -49,7 +49,23 @@
-- 24.12.2018 Created file
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
bus_traffic_counters
is
port
(
...
...
src/can_core/can_core.vhd
View file @
1e2ac22c
...
...
@@ -86,7 +86,23 @@
-- 24.12.2018 Separated traffic counters to stand-alone component.
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
can_core
is
port
(
...
...
src/can_core/crc/can_crc.vhd
View file @
1e2ac22c
...
...
@@ -63,7 +63,23 @@
-- 15.11.2018 Replaced hard-coded CRC calculation with generic CRC entity.
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
can_crc
is
generic
(
...
...
src/can_core/crc/crc_calc.vhd
View file @
1e2ac22c
...
...
@@ -53,7 +53,23 @@
-- 15.11.2018 Created file
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
crc_calc
is
generic
(
...
...
src/can_core/crc/crc_wrapper.vhd
View file @
1e2ac22c
...
...
@@ -56,7 +56,23 @@
-- 28.12.2018 Created file
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
crc_wrapper
is
generic
(
...
...
src/can_core/fault_confinement/fault_confinement.vhd
View file @
1e2ac22c
...
...
@@ -68,7 +68,23 @@
-- to transfer from Bus-off to Error active!
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
fault_confinement
is
PORT
(
...
...
src/can_core/operation_control/operation_control.vhd
View file @
1e2ac22c
...
...
@@ -55,7 +55,23 @@
-- turning Transceiver or Receiver!
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
operation_control
is
port
(
...
...
src/can_core/protocol_control/protocol_control.vhd
View file @
1e2ac22c
...
...
@@ -247,7 +247,23 @@
-- as before), error counter is incremented again!
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
protocol_control
is
port
(
...
...
src/can_top_apb.vhd
View file @
1e2ac22c
...
...
@@ -47,7 +47,23 @@
-- May 2018 First Implementation
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
CTU_CAN_FD_v1_0
is
generic
(
...
...
src/can_top_level.vhd
View file @
1e2ac22c
...
...
@@ -75,7 +75,23 @@
-- buffer FSM, HW commands and SW commands.
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
can_top_level
is
generic
(
...
...
src/event_logger/event_logger.vhd
View file @
1e2ac22c
...
...
@@ -83,7 +83,24 @@
-- "additional" details fields.
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
event_logger
is
generic
(
...
...
src/frame_filters/bit_filter.vhd
View file @
1e2ac22c
...
...
@@ -48,7 +48,23 @@
-- 14.11.2018 Created file
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
bit_filter
is
generic
(
...
...
src/frame_filters/frame_filters.vhd
View file @
1e2ac22c
...
...
@@ -60,7 +60,23 @@
-- frame was anyway propagated to the output!
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
frame_filters
is
generic
(
...
...
src/frame_filters/range_filter.vhd
View file @
1e2ac22c
...
...
@@ -48,7 +48,23 @@
-- 14.11.2018 Created file
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
range_filter
is
generic
(
...
...
src/interrupts/int_manager.vhd
View file @
1e2ac22c
...
...
@@ -72,7 +72,23 @@
-- generic option...
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
int_manager
is
generic
(
...
...
src/interrupts/int_module.vhd
View file @
1e2ac22c
...
...
@@ -61,7 +61,23 @@
-- synthesis.
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
int_module
is
generic
(
...
...
src/memory_registers/memory_registers.vhd
View file @
1e2ac22c
...
...
@@ -125,7 +125,23 @@
-- modules to Driving and Status Bus. Added VERSION generics.
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
use
work
.
can_registers_pkg
.
all
;
...
...
src/prescaler/prescaler.vhd
View file @
1e2ac22c
...
...
@@ -162,7 +162,23 @@
-- lengths even at very high data rates.
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
prescaler
is
PORT
(
...
...
src/rx_buffer/rx_buffer.vhd
View file @
1e2ac22c
...
...
@@ -159,7 +159,23 @@
-- 2. Moved handling of memory pointers to separate entity
--------------------------------------------------------------------------------
context
work
.
ctu_can_synth_context
;
Library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
ALL
;
use
ieee
.
math_real
.
ALL
;
Library
work
;
use
work
.
id_transfer
.
all
;
use
work
.
can_constants
.
all
;
use
work
.
can_components
.
all
;
use
work
.
can_types
.
all
;
use
work
.
cmn_lib
.
all
;
use
work
.
drv_stat_pkg
.
all
;
use
work
.
endian_swap
.
all
;
use
work
.
reduce_lib
.
all
;
use
work
.
CAN_FD_register_map
.
all
;
use
work
.
CAN_FD_frame_format
.
all
;
entity
rx_buffer
is
generic
(
...
...
src/rx_buffer/rx_buffer_fsm.vhd
View file @
1e2ac22c
...
...
@@ -48,7 +48,23 @@
-- 14.12.2018 Created file
--------------------------------------------------------------------------------