FlexRay The Hardware View

Similar documents
Simulation-Based FlexRay TM Conformance Testing an OVM success story

FlexRay International Workshop. Protocol Overview

An Encapsulated Communication System for Integrated Architectures

Ten Reasons to Optimize a Processor

Utilizing Vera Functional Coverage in the Verification of a Protocol Engine for the FlexRay TM Automotive Communication System

Choosing an Intellectual Property Core

Design For High Performance Flexray Protocol For Fpga Based System

Multi-core microcontroller design with Cortex-M processors and CoreSight SoC

HIERARCHICAL DESIGN. RTL Hardware Design by P. Chu. Chapter 13 1

Outline HIERARCHICAL DESIGN. 1. Introduction. Benefits of hierarchical design

Employing Multi-FPGA Debug Techniques

EEL 5722C Field-Programmable Gate Array Design

Mapping Multi-Million Gate SoCs on FPGAs: Industrial Methodology and Experience

Digital Blocks Semiconductor IP

Multi MicroBlaze System for Parallel Computing

ADPCM-LCO Voice Compression Logic Core

Simulation-Based FlexRay TM Conformance Testing using OVM. Mark Litterick Senior Consultant and Co-Founder, Verilab

CHAPTER 6 FPGA IMPLEMENTATION OF ARBITERS ALGORITHM FOR NETWORK-ON-CHIP

Simulation-Based FlexRay TM Conformance Testing - An OVM Success Story

The RM9150 and the Fast Device Bus High Speed Interconnect

Distributed Embedded Systems and realtime networks

Chapter 6 Storage and Other I/O Topics

VME64M VME64 MASTER CONTROLLER. Version 1.1

PCI to SH-3 AN Hitachi SH3 to PCI bus

16 Time Triggered Protocol

Emergence of Segment-Specific DDRn Memory Controller and PHY IP Solution. By Eric Esteve (PhD) Analyst. July IPnest.

Asynchronous on-chip Communication: Explorations on the Intel PXA27x Peripheral Bus

Intellectual Property Macrocell for. SpaceWire Interface. Compliant with AMBA-APB Bus

Microsemi IP Cores Accelerate the Development Cycle and Lower Development Costs

Embedded Systems. 8. Communication

A Fault Management Protocol for TTP/C

CAN on Integration Technologies

Page 1 SPACEWIRE SEMINAR 4/5 NOVEMBER 2003 JF COLDEFY / C HONVAULT

Flexray Protocol in Automotive Network Communications

High Performance Interconnect and NoC Router Design

Design of a System-on-Chip Switched Network and its Design Support Λ

Upper Level Protocols (ULP) Mapping. Common Services. Signaling Protocol. Transmission Protocol (Physical Coding) Physical Interface (PI)

Integrated Circuit ORB (ICO) White Paper V1.1

Configurable UART ver 2.10

Chapter 3. Top Level View of Computer Function and Interconnection. Yonsei University

White Paper AHB to Avalon & Avalon to AHB Bridges

Qsys and IP Core Integration

Remote Keyless Entry In a Body Controller Unit Application

08 - Address Generator Unit (AGU)

Real-Time Communications. LS 12, TU Dortmund

Real Time NoC Based Pipelined Architectonics With Efficient TDM Schema

Universal Asynchronous Receiver/Transmitter Core

Insights on the performance and configuration of AVB and TSN in automotive applications

APEX II The Complete I/O Solution

A Reliable Gateway for In-vehicle Networks

Single Channel HDLC Core V1.3. LogiCORE Facts. Features. General Description. Applications

Computer Systems Organization

ADPCM-HCO Voice Compression Logic Core

A unified multicore programming model

The CoreConnect Bus Architecture

FPGA based Design of Low Power Reconfigurable Router for Network on Chip (NoC)

ISO INTERNATIONAL STANDARD. Road vehicles FlexRay communications system Part 2: Data link layer specification

Chapter 5: ASICs Vs. PLDs

This document is a preview generated by EVS

Turbo Encoder Co-processor Reference Design

Universal Serial Bus Host Interface on an FPGA

Configurable UART with FIFO ver 2.20

APEX Devices APEX 20KC. High-Density Embedded Programmable Logic Devices for System-Level Integration. Featuring. All-Layer Copper.

Applying the Benefits of Network on a Chip Architecture to FPGA System Design

Cadence SystemC Design and Verification. NMI FPGA Network Meeting Jan 21, 2015

Analyzing and Debugging Performance Issues with Advanced ARM CoreLink System IP Components

Modeling Performance Use Cases with Traffic Profiles Over ARM AMBA Interfaces

32 Channel HDLC Core V1.2. Applications. LogiCORE Facts. Features. General Description. X.25 Frame Relay B-channel and D-channel

An Introduction to FlexRay as an Industrial Network

DESIGN A APPLICATION OF NETWORK-ON-CHIP USING 8-PORT ROUTER

ECE 551 System on Chip Design

Ethernet Switch. WAN Gateway. Figure 1: Switched LAN Example

SONICS, INC. Sonics SOC Integration Architecture. Drew Wingard. (Systems-ON-ICS)

VERIFICATION OF AHB PROTOCOL USING SYSTEM VERILOG ASSERTIONS

TECHNOLOGY BRIEF. Double Data Rate SDRAM: Fast Performance at an Economical Price EXECUTIVE SUMMARY C ONTENTS

MIPI CSI-2 Receiver Subsystem v2.2

SerialLite III Streaming IP Core Design Example User Guide for Intel Arria 10 Devices

ISO INTERNATIONAL STANDARD. Road vehicles FlexRay communications system Part 1: General information and use case definition

Comparison of CAN Gateway Modules for Automotive and Industrial Control Applications

AMD HyperTransport Technology-Based System Architecture

Design of DMA Controller Using VHDL

2. REAL-TIME CONTROL SYSTEM AND REAL-TIME NETWORKS

Interconnection Structures. Patrick Happ Raul Queiroz Feitosa

SpaceCommRTOS. From a formal RTOS concept to a universal communication mechanism for distributed real-time systems

PCI-X Protocol Addendum to the PCI Local Bus Specification Revision 2.0a

Chapter 12: Multiprocessor Architectures

Computer-System Organization (cont.)

DEVELOPMENT AND VERIFICATION OF AHB2APB BRIDGE PROTOCOL USING UVM TECHNIQUE

FlexRay TM Conformance Testing using OVM

I 2 C Bus Interface - Slave ver 3.08

High-Speed SDR SDRAM Controller Core for Actel FPGAs. Introduction. Features. Product Brief Version 1.0 November 2002

Automotive Safety Manual

VERIFICATION ANALYSIS OF AHB-LITE PROTOCOL WITH COVERAGE

SerialLite III Streaming IP Core Design Example User Guide for Intel Stratix 10 Devices

Philip Andrew Simpson. FPGA Design. Best Practices for Team-based Reuse. Second Edition

FPGAs: High Assurance through Model Based Design

Content. Deterministic Access Polling(1) Master-Slave principles: Introduction Layer 2: Media Access Control

Intelop. *As new IP blocks become available, please contact the factory for the latest updated info.

On-Chip Design Verification with Xilinx FPGAs

Practical Hardware Debugging: Quick Notes On How to Simulate Altera s Nios II Multiprocessor Systems Using Mentor Graphics ModelSim

Transcription:

A White Paper Presented by IPextreme FlexRay The Hardware View Stefan Schmechtig / Jens Kjelsbak February 2006 FlexRay is an upcoming networking standard being established to raise the data rate, reliability, and safety of the automotive applications of today and tomorrow. Synthesizable FlexRay intellectual property (IP) is now available for those who want to integrate it into a new chip.

WHITE PAPER FlexRay The Hardware View Page 2 ABSTRACT FlexRay is an upcoming networking standard being established to raise the data rate, reliability, and safety of the automotive applications of today and tomorrow. Synthesizable FlexRay intellectual property (IP) is now available for those who want to integrate it into a new chip. This paper discusses what the FlexRay IP is and how to implement it; highlighting issues, considerations, and solutions for the system designer. TABLE OF CONTENTS INTRODUCTION... 3 FLEXRAY CONCEPTUAL HIERARCHY... 3 CONCEPTUAL PARTITIONING... 4 INTEGRATING THE CORE INTO THE SOC... 5 OPTIMIZING AND CONFIGURING THE CORE... 6 CONFORMANCES AND VERIFICATION... 7 DELIVERABLES... 8 PROTOTYPING AND SOFTWARE DEVELOPMENT... 8 CONCLUSIONS... 8 REFERENCES... 9

WHITE PAPER FlexRay The Hardware View Page 3 INTRODUCTION Automotive bus requirements for data throughput, fault tolerance, and deterministic behavior have changed dramatically in the last few years. New applications such as stability control and throttle-by-wire require many more electronic components, each screaming for more data, deterministic behavior, and reliability. The FlexRay communication protocol was developed to fulfill these needs. FlexRay technology can be split into three to main areas: 1) software to configure and manage communication in a FlexRay cluster, 2) digital logic implementing the FlexRay protocol, and 3) analog signal drivers. This paper focuses on the digital hardware elements of the FlexRay IP and considerations when integrating it into an SOC. Fig 1 Conceptual hierarchy of FlexRay system layers FLEXRAY CONCEPTUAL HIERARCHY As shown in Figure 1, the central layer of the FlexRay hierarchy is the protocol execution layer, where outgoing frame data is sent to the physical layer. On one side, the protocol execution layer interfaces to a controller host interface, which contains storage for all interface data and provides the controller host interface services. On the other side, the protocol execution layer interfaces to the coding/decoding layer. The physical layer contains the bus drivers, the optional bus guardians, and the physical interconnections.

WHITE PAPER FlexRay The Hardware View Page 4 CONCEPTUAL PARTITIONING In the design of a FlexRay core, the team should focus on communicationrelated fault tolerance, not on application related issues such as message agreement algorithms. This paradigm ensures that the design is suitable for different applications with diverse fault-tolerance needs. Figure 2 shows an example FlexRay core partitioning in which the Protocol Engine (PE) is responsible for all the FlexRay specific protocol handling and the Controller Host Interface (CHI) handles all the tasks of integrating the FlexRay functionality into the rest of the system. The CHI provides host access to the FlexRay core s configuration, control, and status registers as well as to the message buffer configuration, control, and status registers. The message buffers hold the FlexRay frames (received frames and frames to be transmitted), including the frame header and payload data, and frame status information. The message buffer data is stored in the FlexRay memory, while the message buffer control structures are implemented in the CHI. Fig 2 FlexRay block structure Different end user applications have a wide range of requirements. Therefore, the core should be configurable so that the integrator can optimize application performance and tune chip characteristics like area and power. For example, in the Freescale FlexRay controller core from IPextreme, the core can be configured to implement up to 256 message buffers and two receive FIFOs with up to 256 entries each. Some solutions can benefit from a custom, application-specific CHI. This requires a well-defined, specified, and documented PE interface. A general-

WHITE PAPER FlexRay The Hardware View Page 5 purpose CHI that fulfills the requirements of many applications is supplied with the IP. It includes all the specified FlexRay functionality, such as the use of individual receive and transmit buffers (single and double buffered transmit), state or event transmission mode, receive FIFO functionality, message buffer filtering, and dual-channel mode. However, a specific application may only need a subset of these features and reducing CHI complexity can be a significant advantage for some applications where area and power is important. This strategy is only feasible when the interface and behavior of the PE module is very well defined and documented. The Clock Domain Crossing (CDC) unit implements the signal crossing from the CHI clock domain to the PE clock domain, and vice versa, to allow for asynchronous PE and CHI clock domains. The CHI frequency depends on the complexity and the number of message buffers that have to be processed. It can be significantly slower or faster than the PE clock. If the CHI can be clocked at the same 40-MHz rate as the PE, then the CDC can be removed to reduce gate count. INTEGRATING THE CORE INTO THE SOC Figures 3 and 4 show two different ways integrate a FlexRay core into the system. Depending on system memory requirements like size, latency, and bandwidth, the FlexRay memory window that holds the message header and payload data can be stored in the system memory or in a standalone memory. Fig 3 FlexRay window in system Memory

WHITE PAPER FlexRay The Hardware View Page 6 Fig 4 Dedicated FlexRay Memory The top-level interfaces for integrating the FlexRay controller into the system are: Clock and Reset Interface: Enables clock gating and reset control through hard or soft resets. Host Interface: A simple read/write peripheral interface. Interrupt and Strobes Interface: Selects interrupt and debugging implementations through software. FlexRay Bus Interface (Channels A and B): Used to connect the FlexRay device to the FlexRay bus drivers, specified in the FlexRay Communication System Electrical Physical Layer Specification. System Memory Interface: Connected through the Bus Master Interface (BMIF) to the FlexRay controller. This can be connected directly to a shared memory or connected to an external memory bus subsystem. In either case, certain latency requirements must be met. OPTIMIZING AND CONFIGURING THE CORE Parameters: Hardware parameters let the integrator customize the design to remove unused hardware. For a FlexRay device, there could be several system-dependent parameters like bus and data width, and architectural parameters like the maximum number of message buffers and payload length. The maximum number of message buffers (4 to 256) has a big

WHITE PAPER FlexRay The Hardware View Page 7 impact on the area and the clocking requirement of the CHI, whose frequency requirement can range from 20 to 140 MHz. The freedom to implement only the required message buffers eases the way to a design optimized for cost, area, and power. Power Saving: While the TDMA (time division multiple access) scheme assigns dedicated transmit and receive slots in the first portion of each FlexRay packet, there is considerable idle time and power can be saved if the relevant logic can be switched off. Further power saving opportunities are gained through being able to shut down the transmit and receive blocks, memories, channel logic, and so on. Dedicated clock enable signals should be available for clock gating. Figures 3 and 4 show two different ways integrate a FlexRay core into the system. Depending on system memory requirements like size, latency, and bandwidth, the FlexRay memory window that holds the message header and payload data can be stored in the system memory or in a standalone memory. CONFORMANCES AND VERIFICATION Customers who integrate a FlexRay controller into an SOC design expect a fully verified and correct piece of hardware of the highest quality. Protocol conformance testing for FlexRay at the data link layer, with devices like the Freescale MFR4300 to ensure correct behavior and interoperability, are done at test facilities like TÜV Nord in Germany in cooperation with Frauenhofer Gesellschaft. Successful conformance ensures correct FlexRay behavior. However, a customer integrating this tested hardware needs to verify the connectivity to the hardware to ensure correct communication. An integration testbench that offers tests and the possibility to replace the testbench models with real functional hardware models in a step-by-step fashion enables a smooth integration and helps to ensure a right-the-firsttime design. A self-checking integration testbench should include: FlexRay cluster communication Memory simulation models (DPRAM, SRAM, ROM) Simple bus driver simulation models Clock and reset control Host bus functional model

WHITE PAPER FlexRay The Hardware View Page 8 DELIVERABLES Bus Master Interface (with interface to DPRAM) Several monitors, checkers, and sniffers FlexRay core deliverables should consist of a package with technologyindependent hardware description language files (Verilog or VHDL), synthesis constraints and timing exceptions, the self-checking integration testbench, and detailed integration and programming guides. The whole package is best controlled by a tool-independent packaging environment to specify and check the hardware parameters and constraints settings, give you the ability run the integration tests on any simulator, let you generate the synthesis scripts, and provide a front-end flow to kick off synthesis for a specific vendor. PROTOTYPING AND SOFTWARE DEVELOPMENT CONCLUSIONS Several companies offer integrated FlexRay controller evaluation systems based on different host processors. Standalone FlexRay controllers with simple memory interfaces that enable connection to any host controller system are also available. The boards are bundled with development software from companies supporting FlexRay, which enables system engineers to build FlexRay clusters with nodes from different vendors to enhance the hardware testing. FlexRay is real, and now is the time to plan how to add it to your automotive designs. After 5 years of work at the FlexRay consortium, the specification is stable, standard components are on the market, and the first cars with FlexRay will be in mass production late this year. The consortium has also been extended to work on future FlexRay applications. Integrating FlexRay as standard connectivity for automotive (and avionic) controllers will be a requirement in many future designs. Future FlexRay applications show an additional market for a light FlexRay solution that strips away the safety critical and synchronization features to enable a very low-cost FlexRay controller, cost competitive with CAN. These single-channel and simplified master controlled synchronization devices will be compatible with available FlexRay solutions.

WHITE PAPER FlexRay The Hardware View Page 9 REFERENCES [1] FlexRay Communication System Protocol Specification, Version 2.1 [2] FlexRay Communication System Electrical Physical Layer Specification, Version 2.1 [3] FRCC2100 Integration Guide IPextreme, Inc. [4] FRCC2100Core User Guide IPextreme, Inc. www.ip-extreme.com IPextreme, Inc. 307 Orchard City Drive Suite 202 Campbell, CA 95008 800-289-6412 (toll-free) 408-608-0421 (fax) THIS WHITE PAPER IS FOR INFORMATIONAL PURPOSES ONLY. THE CONTENT IS PROVIDED AS IS, WITHOUT EXPRESS OR IMPLIED WARRANTIES OF ANY KIND. INFORMATION IN THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. Copyright 2006, IPextrreme. All rights reserved. IPextreme and the IPextreme logo are trademarks of IPextreme, Inc. All other trademarks are the property of their respective owners.