Commit c3d46972 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

doc: Update Readme - part 1

parent 41e88c33
Pipeline #14448 passed with stages
in 19 minutes and 22 seconds
# CAN FD IP Core
[![pipeline status](](
CAN FD IP Core written in VHDL. Designed to be compliant with ISO1198-1:2015.
Supports ISO and NON-ISO versions of CAN FD protocol.
## License
CTU CAN FD is published under MIT license shown in: [![License](](
CTU CAN FD linux driver is published under GPLv2 license.
The CAN protocol is developed by Robert Bosch GmbH and protected by patents.
Anybody who wants to implement this IP core on silicon or FPGA for commercial
purposes has to obtain CAN protocol license from Bosch.
## Design
CTU CAN FD RTL is written in VHDL with no vendor specific libraries/components required.
CTU CAN FD is fully synchronous design.
Architecture of CTU CAN FD is described in:
[![System architecture](](
Functional description of CTU CAN FD is in datasheet:
CTU CAN FD is written with frequent usage of clock enables (FPGA) allowing inferred clock gating.
## Verification
CTU CAN FD verification is done in GHDL + VUnit + GTKWave combination. Verification is done
on RTL (no gate level sims so far...).
Custom GHDL with wave dumping speed-up is used:
Custom Vunit is used which allows starting GTKWave interactively when simulation run starts:
There are following types of tests:
Unit tests - own testbench for each module
Feature tests - common testbench
Sanity test - One testbench
Reference test - One testbench
Test architecture is further described in: TODO.
Each test/testbench has common header which is used to collect what has been verified: TODO.
There is PSL functional coverage and PSL assertions available in: [![functional coverage](](
For now GCov is used to collect code coverage in GHDL and its results are shown in:
[![coverage report](](
[![functional coverage](](
All tests are automated into two runs:
- Fast - no randomization (seed=0), must pass before merge request is merged.
- Nightly - randomized, runs every night.
Results of latest test run + logs are available under:
[![pipeline status](](
At the moment, CTU CAN FD compliance towards ISO1198-1:2015 has not been proven.
## Synthesis
CTU CAN FD has been synthesized into Xilinx and Intel FPGAs. BRAMs were inferred for
TX and RX buffers. CTU CAN FD reached about 100 MHz of maximal frequency. Synthesis
results are shown in: TODO.
## Linux driver
CTU CAN FD has SocketCAN Linux driver which is described in:
[![Linux driver](](
There are three driver parts:
- network
- platform
Driver has been tested on two boards:
- [![PCI board](](
- [![Xilinx Zynq board](](
Operation up to 5 Mbits was tested (depending on physical layer transceiver type).
## RTL release package
CAN FD IP Core written in VHDL, originally developed at Czech Technical University -- Faculty of Electrical Engineering -- Department of Measurement.
CTU CAN FD RTL is postprocessed via script which removes PSL assertions and some signals intended
only for verification purposes. RTL release package from latest sources is available in:
The Core supports ISO and NON-ISO versions of CAN FD protocol for synthesis into
FPGAs. Core contains test framework written in VHDL and runable with Python in
Modelsim or GHDL.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment