Communication Protocols

Size: px
Start display at page:

Download "Communication Protocols"

Transcription

1 Communication Protocols

2 Communication Protocols Layering Lower levels provide services to higher level Easier to design Physical layer Lowest level in hierarchy Medium to carry data from one actor (device or node) to another Protocols: real-time or best effort Parallel Serial Wireless

3 Parallel communication Multiple data, control, and power wires One bit per wire High data throughput with short distances Typically used when connecting devices on same IC or same circuit board Bus must be kept short long parallel wires result in high capacitance values which requires more time to charge/discharge Data misalignment between wires increases as length increases Higher cost, bulky

4 Parallel Protocols: PCI Bus PCI Bus (Peripheral Component Interconnect) High performance bus designed by Intel in the 1990 s Interconnects CPUs, expansion boards, memory Data transfer rates up to 1GBs for 64 bit addresses Synchronous bus architecture Multiplexed data/address lines PCI express Serial, point-to-point protocol Source:

5 Parallel Protocols: ARM Bus ARM Bus Designed and used internally by ARM Corporation Interfaces with ARM line of processors Many IC design companies have own bus protocol Data transfer rate is a function of clock speed 32-bit addressing

6 Serial Communication Single data wire transmit one bit at a time Higher data throughput with long distances Less average capacitance, so more bits per unit of time Complex protocol and interfacing logic Sender needs to decompose word into bits Receiver needs to recompose bits into word Control signals often on the same wire -> increasing protocol complexity

7 Serial Communication Parameters: Baud (bit) rate. Number of bits per character. Parity/no parity. Even/odd parity. Length of stop bit (1, 1.5, 2 bits). no char start bit 0 bit 1... bit n-1 stop time

8 Serial Protocol: 8251 UART Universal asynchronous receiver transmitter Takes parallel data and transmits serially at up to max 450 Kbps 8251 chip functions are integrated into standard PC interface chip. status (8 bit) CPU 8251 data (8 bit) xmit/ rcv serial port

9 Serial Protocols: I 2 C I 2 C (Inter-IC) Two-wire serial bus protocol developed by Philips Semiconductors ~20 years ago Enables peripheral ICs to communicate using simple communication hardware appropriate for peripherals where simplicity and low manufacturing cost are more important than speed Normal mode: 100 Kbps with 7-bit address Fast mode: 3.4 Mbpbs with10-bit address Common devices capable of interfacing to I 2 C bus: EPROMS, Flash, and some RAM memory, real-time clocks, watchdog timers, and microcontrollers Raspberry PI

10 Serial Protocols: USB USB (Universal Serial Bus) Easier connection between PC and peripherals USB 1.1 has 2 data rates: 12 Mbps for increased bandwidth devices 1.5 Mbps for lower-speed devices (joysticks, game pads) USB 2.0 runs at 480 Mbps; USB 3.1 up to 10 Gbps Tiered star topology can be used One USB device (hub) connected to PC Up to 127 USB devices can be connected to hub USB host controller Manages and controls bandwidth and driver software required by each peripheral Dynamically allocates power downstream according to devices connected/disconnected

11 Source: PCI Express (PCIe) Serial, point-to-point protocol Bandwidth is very scalable: 1x-16x links Max 6.4GBps in either direction on x16 Switches for connecting different devices

12 Real-Time Communication & Protocol Examples

13 Class Overview What ve covered until now in SW: Real-time scheduling, RTOS, RTIO started Where we are going today: RTIO, HW/SW codesign Due today: Article on RTIO Upcoming: HW2 assigned Individual project part 2 deadline extended to end of the day Sunday, 2/19

14 Real-time Comm. Requirements Real-time behavior Efficient, economical (e.g. centralized power supply) Appropriate bandwidth and communication delay Robustness Fault tolerance Maintainability Diagnosability Security Safety

15 Field bus: Real-time IO A family of industrial computer network protocols used for real-time distributed control Carrier-sense multiple-access/collision-detection (CSMA/CD); used in Ethernet & CAN Alternatives: Token rings, token busses Carrier-sense multiple-access/collision-avoidance: CSMA/CA Each partner gets an ID (priority). After each bus transfer, all partners try setting their ID on the bus; partners detecting higher ID disconnect themselves from the bus. Highest priority partner gets guaranteed response time; others communicate only if they are given a chance.

16 Event vs. time triggered Event Triggered (ET): Computation/communication triggered by an external event Events are primarily generated by changes in the environment Efficient only do things when they need to be done; rest and save energy/cpu time/bandwidth High peak-load if multiple events happen at once Hard to analyze due to asynchronous nature of events Time Triggered (TT): Computation/communication triggered by the system clock Events happen according to a fixed schedule: Inefficient does things periodically, whether needed or not Enhanced analizability due to easily characterizable load, predictable interaction sequences, bus use, etc.

17 Time division multiple access Each assigned a fixed time slot: Master sends sync Some waiting time Each slave transmits in its time slot Variations (truncating unused slots, several slots per slave) exist

18 Advantages of TDMA-busses over priority-driven schemes Can provide QoS guarantees TDMA resources support temporal composability, by separating resource access of different subsystems TDMA resources have a very deterministic timing behavior Can be made fault tolerant Support for error detection Support for error contention a faulty subsystem does not affect the correct behavior of the remaining system [Ernesto Wandeler Lothar Thiele: Optimal TDMA Time Slot and Cycle Length Allocation for Hard Real-Time Systems, ASP-DAC, 2006]

19 Field busses: Profibus Process Field Bus (Profibus): PROFIBUS DP (Decentralized Peripherals) is used to operate sensors and actuators via a centralized controller in factory automation apps; runs at 9.6kbps 12 Mbps; RS485 allows max 126 devices, but expansion is possible ROFIBUS PA (Process Automation) is used to monitor measuring equipment via a process control system in process automation apps; runs at 31.2 kbps; same message format as DP Focus on safety; 20% market share for field busses. Integration with Ethernet via Profinet. [

20 Profibus: Application & Data Layers Application layer: DP-V0 for cyclic exchange of data and diagnosis DP-V1 for acyclic data exchange and alarm handling DP-V2 for slave2slave comm and data exchange broadcast Data link: FDL (Field bus Data Link) combines token passing with a master-slave method for Profibus-DP Each byte uses even parity and is transferred asynchronously with a start and stop bit Master signals the start of a new telegram with a SYN pause of at least 33 bits Various messages possible: Token Variable data length Fixed data length No data Brief ack OSI-Layer PROFIBUS 7 Application DPV0 DPV1 DPV2 6 Presentation 5 Session 4 Transport 3 Network 2 Data Link FDL 1 Physical EIA-485 Optical MBP -- Management

21 Controller area network (CAN) Designed by Bosch and Intel in 1981; Key concept: every device can be connected by a single set of wires, and every device that is connected can freely exchange data with any other device Originally designed for cars; now used also for: elevator controllers, copiers, telescopes, production-line control systems, and medical instruments Binary countdown arbitration (CSMA/CD) Start from MSB, transmit each bit of priority Highest priority wins Throughput:10kbit/s - 1 Mbit/s Low and high-priority signals maximum latency of 134 µs for high priority

22 Aircraft communication systems Information exchange information many bytes of data: e.g. digital map, flight plan, etc. exchange : a response is expected, at min acknowledgment higher speed data link needed Control platform: sampling and data transmission data : digital value of an analog parameter: e.g. speed; height etc. No response is expected, but: Time, integrity and availability are the key drivers. The stability of the flight relies on this transmission Aeronautical response : ARINC 429 protocol

23 ARINC 429 overview Developed by Aeronautical Radio, Incorporated (ARINC) Commonly used standard for the aircraft Electrical and data format standard for a 2-wire serial bus with one sender and many listeners. Each data is individually identified (by a label) and sent Application label data Transport Network DataLink/MAC Physical connection A bit label data parity

24 Information system requirements Ensure that the information is transmitted without any error. Data needs to be acknowledged Messages can be sent again in case of error Past aircraft uses A429 but added acknowledgement. Application Transport A429 williamsburg Network DataLink/MAC Physical connection A429

25 ARINC 629 Multi-transmitter protocol where many units share the same bus; originally designed for Boeing 777. Based on "waiting room" protocol: Each node is assigned a unique number of mini slots that must elapse with silence on the channel before the data transmission begins Three (groups of) time-out parameters: SG synchronization gap controlling access to the waiting room TGi terminal gap, the personal time-out of node I TI transmit interval preventing monopolization of channel TI > SG > max{tgi }

26 TTP (Time-Triggered Protocol) TTP more than just a protocol Network protocol Operating system scheduling philosophy Fault tolerance approach Time-Triggered approach Simple to implement Stable time base Cyclic schedules Sources: Dr. Insup Lee & H. Kopetz

27 TTP versions TTP/A (Automotive Class A = soft real time) A scaled-down version of TTP A cheaper master/slave variant Distributed master slave is expensive TTP/C (Automotive Class C = hard real time) A full version of TTP A fault-tolerant distributed variant

28 Protocol Layer in TTP/A

29 Operation TTP/A: Polling Master polls the other nodes (slaves) Non-master nodes transmit messages when they are polled Inter-slave communication through the master

30 Polling Tradeoffs Advantages Simple protocol to implement Historically very popular Bounded latency for real-time applications Disadvantages Single point of failure from centralized master Polling consumes bandwidth Network size is fixed during installation Master can also discover nodes during reconfiguration

31 TTP/C TTP/C A time-triggered communication protocol for safetycritical (fault-tolerant) distributed real-time control systems Based on a TDMA media access strategy Clock synchronization: Each node measures the difference between the expected and the observed arrival time of a message to calculate the difference between the sender s & receiver s clocks Fail Silence A subsystem is fail-silent if it either produces correct results or no results at all, i.e., it is quiet in case it cannot deliver the correct service

32 TTP/C Protocol Layer Host Layer FTU CNI Fault tolerance unit Communication Network Interface (CNI) FTU Layer Basic CNI RM Layer SRU Layer Smallest Replaceable Unit Data Link/Physical Layer Application software in host FTU Membership Redundancy Management (RM) SRU Membership Clock Synchronization Media Access: TDMA FTU Layer Group two or more nodes into FTUs RM Layer Provide the mechanisms for the cold start of a TTP/C cluster SRU Layer Store the data fields of the received frames Data Link/Physical Layer Provide the means to exchange frames between the nodes

33 FTU Configuration Examples in TTP/C (a) Two active nodes, two shadow nodes (b) Triple modular redundancy: three active nodes with one shadow (c) Two active nodes without a shadow node

34 Controller to run protocol DPRAM (dual ported RAM) Used for memory-mapped network interface BG (Bus Guard) Hardware watchdog to ensure fail silent HW must use highly accurate time sources Dual redundant crystal oscillators are used for Boeing 777

35 TTP/C Frame I-Frames used for initialization N-Frames used for normal messages

36 Cycle in TTP/C TDMA Cycle One FTU sends results twice Then next FTU sends results And so on, until back to the next message from the first FTU Cluster Cycle Cluster cycle involves scheduling all messages and tasks

37 TTP/A vs. TTP/C Service TTP/A TTP/C Clock Synchronization Central Multimaster Mode Switches yes yes Distributed, Fault-Tolerant Communication Error Detection Parity 16/24 bit CRC Membership Service simple full External Clock Synchronization yes yes Time-Redundant Transmission yes yes Duplex Nodes no yes Duplex Channels no yes Redundancy Management no yes Shadow Node no yes

38 Pros and Cons of TTP Advantages Simple protocol to implement Deterministic response time No wasted time for master polling messages Disadvantages Wasted bandwidth when some nodes are idle Stable clocks Fixed network size during installation

39 FlexRay Robust, scalable, deterministic, and fault-tolerant digital serial bus system designed for use in automotive applications Developed by consortium: BMW, Ford, Bosch,Daimler-Chrysler Specified in SDL; finalized in 2009 Built as extension to TTP and Byteflight protocols. Improved error tolerance and time-determinism Meets requirements with transfer rates >> CAN initially targeted for ~ 10Mbit/sec; design allows much higher data rates TDMA (Time Division Multiple Access) protocol: Fixed time slot with exclusive access to the bus Cycle subdivided into a static and a dynamic segments

40 TDMA in FlexRay Exclusive bus access enabled for short time in each case. Dynamic segment for transmission of variable length information. Fixed priorities in dynamic segment: minislots for each potential sender. Bandwidth used only when it is actually needed.

41 Structure of Flexray networks Bus Guardian (BG) protects the system against failing processors by gating access to Bus Driver (BD)

42 Comparison of real-time protocols FIP = Flexible time triggered protocol; statically scheduled with centralized arbitration LON = for building automation, uses TDMA with CSMA/CA and dynamically varies the number of slots per device for each schedule

43 Wireless communication Infrared (IR) Frequencies just below visible light spectrum Diode emits infrared light to generate signal Infrared transistor detects signal Cheap to build but need line of sight, limited range Data transfer rate of 9.6 kbps and 4 Mbps Radio frequency (RF) Electromagnetic wave frequencies in radio spectrum Analog circuitry and antenna needed on both sides Line of sight not needed, transmitter power determines range

44 RFID Use of EM field to transfer data, for identifying and tracking tags attached to objects; no need for line of sight Active vs. passive tags Active transmits ID, they are low power (~10-100uA) but higher cost ($10- $200/unit retail) Passive can be read by RF - no intrinsic power consumption (powered by EM induction) and cheaper ($ ) Readers $100+ to $1000s, range from read and report to smart tracking, etc. Using RFID for real-time location systems (RTLS) Only active tags work with range 100m+ in line of sight, or 1-20m obstructed Battery - up to years on a single <1Hz transmission rate Location accuracy as close as 30cm with reader presence

45 Bluetooth BLE ZigBee Bluetooth, BLE, Zigbee IEEE Developed and licensed by the Bluetooth Special Interest Group (SIG) Adopted into Bluetooth specification Bluetooth Low Energy Technology IEEE Maintained and published by the ZigBee Alliance

46 Side By Side Comparison Bluetooth BLE ZigBee Band 2.4GHz 2.4GHz 2.4GHz, 868MHz, 915MHz Antenna/HW Shared Independent Power 100 mw ~10 mw 30 mw Battery Life Days months 1-2 years 6 months 2 yrs Range m 10 m m Data Rate 1-3 Mbps 1 Mbps Kbps Network Topologies Time to Wake and Transmit Ad hoc, point to point, star Ad hoc, point to point, star 3s 3ms 15ms Mesh, ad hoc, star Security 128-bit encryption 128-bit encryption 128-bit encryption

47 Wireless Protocols: IEEE Standard for wireless LANs Specifies parameters for PHY and MAC layers of network PHY layer handles transmission of data between nodes data transfer rates up to 600 Mbit/s for n operates in 2.4 / 5 GHz frequency band (RF) MAC layer medium access control layer protocol responsible for maintaining order in shared medium collision avoidance/detection

48 Summary Interfacing: on & off chip Real-time IO Profibus CAN ARINC TTP/A & TTP/C FlexRey Wireless IR, BLE, ZigBee, RFID,

49 Hardware/Software Codesign Tajana Simunic Rosing Department of Computer Science and Engineering University of California, San Diego.

50 ES Design Hardware components Hardware Verification and Validation

51 HIGH DENSIT Y System Architecture: Yesterday PCB design Processor Cache/DRAM Controller Cache VRAM DRAM Audio Motion Video Add-in board VRAM DRAM PCI Bus SCSI/ IDE LAN I/O External Bus Graphics DRAM VRAM 3M ISA/EISA

52 LAN Interface Encryption/ Decryption Motion I/O Interface A System Architecture: Today HW/SW Codesign of a SoC PCI Interface Processor Core Glue VRAM Glue DSP Processor Core Graphics Video SCSI MEMORY Cache/SRAM EISA Interface

53 DMA Interface System Design Problem Areas 1. Design environment, co-simulation constraint analysis. Interface Analog I/O 2. HDL Modeling Architectural synthesis Logic synthesis Physical synthesis 4. Test Issues Processor ASIC 3. Software synthesis, Optimization, Retargetable code gen., Debugging & Programming environ. Memory

54 HW-centric view of a Platform Pre-Qualified/Verified Foundation-IP* Hardware IP SW IP Programmable HW-SW Kernel MEM + Reference Design Application Space CPU FPGA Scaleable bus, test, power, IO, clock, timing architectures Processor(s), RTOS(es) and SW architecture Reconfigurable Hardware Region (FPGA, LPGA, ) IP can be: HW or SW hard, soft or firm (HW) source or object (SW) Foundry-Specific HW Qualification SW architecture characterisation Source: Grant Martin and Henry Chang, Platform-Based Design: A Tutorial, ISQED 2002, 18 March 2002, San Jose, CA.

55 RTOS Network Communication SW-Centric View of Platforms Application Software Platform API Software Platform Hardware Platform Input devices Output Devices Software Hardware I O network API Device Drivers BIOS Source: Grant Martin and Henry Chang, Platform-Based Design: A Tutorial, ISQED 2002, 18 March 2002, San Jose, CA.

56 HW/SW Codesign: Motivations Benefit from both HW and SW HW: SW Parallelism -> better performance, lower power Higher implementation cost Sequential implementation -> great for some problems Lower implementation cost, but often slower and higher power

57 Software or hardware? Decision based on hardware/ software partitioning

58 Hardware/software codesign Specification Mapping Processor P1 Processor P2 Hardware

59 System Partitioning process (a, b, c) in port a, b; out port c; { read(a); write(c); } Specification Capture Model Partition Synthesize Line () { a = detach } Processor Interface HW Good partitioning mechanism: 1) Minimize communication across bus 2) Allows parallelism -> both HW & CPU operating concurrently 3) Near peak processor utilization at all times

60 Determining Communication Level Application Program Operating System I/O driver Send, Receive, Wait Register reads/writes Interrupt service Application hardware (custom) I/O driver I/O bus Bus transactions Interrupts I/O bus Easier to program at application level (send, receive, wait) but difficult to predict More difficult to specify at low level Difficult to extract from program but timing and resources easier to predict

61 Partitioning Costs Software Resources Performance and power consumption Lines of code development and testing cost Cost of components Hardware Resources Fixed number of gates, limited memory & I/O Difficult to estimate timing for custom hardware Recent design shift towards IP Well-defined resource and timing characteristics

62 Software Functional Blocks Cost Analysis Calibration Feature Points Process Language Conversion Source Lines of Code (SLOC) Equivalent SLOC including reuse Software development effort Software maintenance effort Software schedule Software Development and Testing Cost

63 Hardware Gate Count S/G Ratio Cost Rent s Rule I/O Count Single-Chip- Package Cost Analysis Process Interconnect Length Feature Size Core Area I/O Format Die Area Number Up Wafer Characteristics Die Yield Wafer Fabrication and Sawing Cost Die Cost Chip Hardware Cost Tooling Cost Test Development Cost Productivity, reuse Design Cost

64 Hardware/Software Partitioning Simple architectural model: CPU + 1 or more ASICs on a bus memory ASIC Processor ASIC Properties of classic partitioning algorithms Single rate; Single-thread: CPU waits for ASIC Type of CPU is known; ASIC is synthesized

65 HW/SW Partitioning Styles HW first approach start with all-asic solution which satisfies constraints migrate functions to software to reduce cost SW first approach start with all-software solution which does not satisfy constraints migrate functions to hardware to meet constraints

66 Codesign Verification Run SW on the CPU Simulate HW (Verilog) Verilog Simulator Application-specific hardware Hardware Process 1 Hardware Process 1 Software process 1 Software process 2 Unix sockets Bus interface Verilog PLI

67 SpecC model

68 Foresight Co-Design System Requirements Capture Functional Behavior Block Diagram Minispecs Userdefined Reusables State Machines Library Elements Integrated Toolset Data Flow Monitors Architecture Block Diagram Resource Specification System Characteristics Derived from Foresight Gate Count Lines of Code Cost Analysis (Ghost) I/O Count HW Number Up Dev. Cost SW Dev. Schedule Die Size SCP Cost Fab. Cost Test Cost Maintenance Cost Outputs System Performance Metrics System Cost Co-Design Process

69 Industry Initiatives Seamless Co-Verification Environment-CVE Proridium (Foresight) Customers: Boeing, Microsoft, Raytheon, Oracle etc. CoWare (now in Synopsys) Cosimulation and IP integration One of founding members of SystemC (language) New FPGA synthesis tools incorporate CPUs Platform-based design Platform: predesigned architecture that designers can use to build systems for a given range of applications

70 ILP for HW/SW Partitioning Ingredients: Cost function Constraints Involving linear expressions of integer variables from a set X Cost function C a x with a R, x N (1) x X i Constraints: j J b x c with b, c (2) Def.: The problem of minimizing (1) subject to the constraints (2) is called an integer programming (IP) problem. If all x i are constrained to be either 0 or 1, the IP problem said to be a 0/1 integer programming problem. i i : i, j i j i, j j R x X i i i N R

71 FAQ on integer programming Maximizing the cost done by setting C =-C Integer programming is NP-complete. Running times increase exponentially with problem size Commercial solvers can solve for thousands of variables IP models are a good starting point for modelling even if in the end heuristics have to be used to solve them.

72 IP model for HW/SW partitioning Notation: Index set I denotes task graph nodes. Index set L denotes task graph node types e.g. square root, DCT or FFT Index set KH denotes hardware component types. e.g. hardware components for the DCT or the FFT. Index set J of hardware component instances Index set KP denotes processors. All processors are assumed to be of the same type T is a mapping from task graph nodes to their types T: I L Therefore: X i,k : =1 if node v i is mapped to HW component type k KH Y i,k : =1 if node v i is mapped to processor k KP NY l,k =1 if at least one node of type l is mapped to processor k KP

73 Constraints Operation assignment constraints i I 1 : X i, k Yi, k k KH k KP All task graph nodes have to be mapped either in software or in hardware. Variables are assumed to be integers. Additional constraints to guarantee they are either 0 or 1: i I i I : k KH :, 1 X i : k KP :, 1 Y i k k

74 Operation assignment constraints l L, i:t(v i )=c l, k KP: NY l,k Y i,k For all types l of operations and for all nodes i of this type: if i is mapped to some processor k, then that processor must implement the functionality of l. Decision variables must also be 0/1 variables: l L, k KP: NY l,k 1.

75 Resource & design constraints k KH, the cost for components of that type should not exceed its maximum. k KP, the cost for associated data storage area should not exceed its maximum. k KP the cost for storing instructions should not exceed its maximum. The total cost ( k KH ) of HW components should not exceed its maximum The total cost of data memories ( k KP ) should not exceed its maximum The total cost instruction memories ( k KP ) should not exceed its maximum

76 Scheduling v 1 v 2 v 3 v 4 e 3 e 4 Processor FIR 1 FIR 2 p 1 ASIC h 1 v 5 v 6 v 7 v 8 Communication channel c 1 v 9 v 10 FIR 2 on h 1 p 1 c 1 v v... 3 v 4... v... 7 v 8... e 3... e 4 or... v... 4 v 3 t or... v... 8 v 7 t or e 4 e 3 t

77 Scheduling / precedence constraints For all nodes v i1 and v i2 that are potentially mapped to the same processor or hardware component instance, introduce a binary decision variable b i1,i2 with b i1,i2 =1 if v i1 is executed before v i2 and = 0 otherwise. Define constraints of the type (end-time of v i1 ) (start time of v i2 ) if b i1,i2 =1 and (end-time of v i2 ) (start time of v i1 ) if b i1,i2 =0 Ensure that the schedule for executing operations is consistent with the precedence constraints in the task graph. Timing constraints need to be met

78 Example HW types H1, H2 and H3 with costs of 20, 25, and 30. Processors of type P. Tasks T1 to T5. Execution times: T H1 H2 H3 P

79 Operation assignment constraint T H1 H2 H3 P i I 1 : X i, k Yi, k k KH k KP X 1,1 +Y 1,1 =1 (task 1 mapped to H1 or to P) X 2,2 +Y 2,1 =1 X 3,3 +Y 3,1 =1 X 4,3 +Y 4,1 =1 X 5,1 +Y 5,1 =1

80 Operation assignment constraint Assume types of tasks are l =1, 2, 3, 3, and 1. l L, i:t(v i )=c l, k KP: NY l,k Y i,k Functionality 3 to be implemented on processor if node 4 is mapped to it.

81 Other equations Time constraint: Application specific hardware required for time constraints under 100 time units. T H1 H2 H3 P Cost function: C=20 #(H1) + 25 #(H2) + 30 # (H3) + cost(processor) + cost(memory)

82 Result For a time constraint of 100 time units and cost(p)<cost(h3): T H1 H2 H3 P Solution: T1 H1 T2 H2 T3 P T4 P T5 H1

83 Separation of scheduling and partitioning Combined scheduling/partitioning very complex; Heuristic: Compute estimated schedule Perform partitioning for estimated schedule Perform final scheduling If final schedule does not meet time constraint, go to 1 using a reduced overall timing constraint. Actual execution time t t specification approx. execution time Actual execution time New specification approx. execution time 1 st Iteration 2 nd Iteration

84 Summary HW/SW codesign is complicated and limited by performance estimates Algorithms are in research and development, much of the work is still done by expert designers

85 Sources and References Peter Marwedel, Embedded Systems Design, Giovanni De EPFL Vincent Gatech Nikil UCI

86 CMOS VLSI Trends Yesterday (1980s) memory processors gate arrays ASICs Today memory processors SoC reconfigurable struc. ASIC ASICs Tomorrow memory processors platform SoC struc. SoC custom SoC reconfigurable (no processor) struc. ASIC (no processor) ASICs

87 Increasing Customization Cost Example: Design with 80 M transistors in 100 nm technology Estimated Cost - $85 M -$90 M Top cost drivers Verification (40%) Architecture Design (26%) Embedded Design 1400 man months (SW) 1150 man months (HW) HW/SW integration months s, How to Slow the Design Cost Spiral, Electronics Design Chain, September 2002, www

88 Responses to Increasing Cost General purpose ISA Universality high volumes and reuse Abstraction compilation technologies and high application/development productivity Custom silicon for embedded platforms in sufficiently high volumes Domain specific ISAs, e.g., DSPs Application Specific Standard Products Reconfigurable hardware HW/SW Codesign

89 HW/SW Codesign Issues Task level concurrency management Which tasks in the final system? High level transformations Transformation outside the scope of traditional compilers Hardware/software partitioning Which operation mapped to hardware, which to software? Compilation Hardware-aware compilation Scheduling Performed several times, with varying precision Design space exploration Set of possible designs, not just one.

90 Partitioning Analysis Result of compilation is synthesizable HDL and assembly code for the processor Compiler & profiler determine dependence and rough performance estimates

91 HW & SW Foundries HW1 LSI Logic ASIC Wafer Foundry Data 0.18 mm feature size 8 inch wafers 6 layers TSMC 018 Wafer Processing HW2 Samsung Semiconductor ASIC Wafer Foundry Data 0.35 mm feature size 6 inch wafers 4 layers TSMC 035 Wafer Processing SW1 Nominal to High development effort SW2 Low to Nominal development effort

92 1000, No 1000, 20% 1000, 40% 10000, No 10000, 20% 10000, 40% , No , 20% , 40% Recurring Percent of Total Cost MIXED Implementation Using HW1 and SW1 100% Software development Testing 80% 60% 40% 20% Packaging Fabrication Tooling Design Reuse of: Gate-level IP Code 0% Production Quantity and Level of Reuse

93 Total Cost ($/chip) Total Cost Per Chip ,000 Units HW1/SW1 HW1/SW2 HW2/SW1 HW2/SW Percent Custom Hardware

94 Co-simulation for HW & SW Transistor-level accurate post layout SPICE model Gate-level accurate precise HDL gate delay model Cycle accurate correct transitions at clock edges timing information between edges is thrown away Bus accurate cycle accurate bus model behavioral model of processor, hardware Instruction set accurate instruction set simulator used for processors used for early design space exploration

Hardware platform architecture

Hardware platform architecture Interfacing 1 Hardware platform architecture Fall 2005 2 Bus Means for transferring bits wired or wireless Bus Connectivity scheme (serial, etc.) Protocol Ports Single function (data bus) or complex protocol

More information

Embedded Systems. 8. Communication

Embedded Systems. 8. Communication Embedded Systems 8. Communication Lothar Thiele 8-1 Contents of Course 1. Embedded Systems Introduction 2. Software Introduction 7. System Components 10. Models 3. Real-Time Models 4. Periodic/Aperiodic

More information

16 Time Triggered Protocol

16 Time Triggered Protocol 16 Time Triggered Protocol [TTtech04] (TTP) 18-549 Distributed Embedded Systems Philip Koopman October 25, 2004 Significant material drawn from: Prof. H. Kopetz [Kopetz] TTP Specification v 1.1 [TTTech]

More information

Systems. Roland Kammerer. 10. November Institute of Computer Engineering Vienna University of Technology. Communication Protocols for Embedded

Systems. Roland Kammerer. 10. November Institute of Computer Engineering Vienna University of Technology. Communication Protocols for Embedded Communication Roland Institute of Computer Engineering Vienna University of Technology 10. November 2010 Overview 1. Definition of a protocol 2. Protocol properties 3. Basic Principles 4. system communication

More information

Distributed Embedded Systems and realtime networks

Distributed Embedded Systems and realtime networks STREAM01 / Mastère SE Distributed Embedded Systems and realtime networks Embedded network TTP Marie-Agnès Peraldi-Frati AOSTE Project UNSA- CNRS-INRIA January 2008 1 Abstract Requirements for TT Systems

More information

Field buses (part 2): time triggered protocols

Field buses (part 2): time triggered protocols Field buses (part 2): time triggered protocols Nico Fritz Universität des Saarlandes Embedded Systems 2002/2003 (c) Daniel Kästner. 1 CAN and LIN LIN CAN Type Arbitration Transfer rate Serial communication

More information

Real-Time Communications. LS 12, TU Dortmund

Real-Time Communications. LS 12, TU Dortmund Real-Time Communications Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund 20, Jan., 2016 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 29 Random Access no access control; requires low medium utilization Prof.

More information

Ch 7. Network Interface

Ch 7. Network Interface EE414 Embedded Systems Ch 7. Network Interface Part 1/2 Byung Kook Kim School of Electrical Engineering Korea Advanced Institute of Science and Technology Overview 7.1 Advanced Communication Principles

More information

HW SW Partitioning. Reading. Hardware/software partitioning. Hardware/Software Codesign. CS4272: HW SW Codesign

HW SW Partitioning. Reading. Hardware/software partitioning. Hardware/Software Codesign. CS4272: HW SW Codesign CS4272: HW SW Codesign HW SW Partitioning Abhik Roychoudhury School of Computing National University of Singapore Reading Section 5.3 of textbook Embedded System Design Peter Marwedel Also must read Hardware/software

More information

Embedded Systems: Hardware Components (part II) Todor Stefanov

Embedded Systems: Hardware Components (part II) Todor Stefanov Embedded Systems: Hardware Components (part II) Todor Stefanov Leiden Embedded Research Center, Leiden Institute of Advanced Computer Science Leiden University, The Netherlands Outline Generic Embedded

More information

Developing deterministic networking technology for railway applications using TTEthernet software-based end systems

Developing deterministic networking technology for railway applications using TTEthernet software-based end systems Developing deterministic networking technology for railway applications using TTEthernet software-based end systems Project n 100021 Astrit Ademaj, TTTech Computertechnik AG Outline GENESYS requirements

More information

Networked Control Systems for Manufacturing: Parameterization, Differentiation, Evaluation, and Application. Ling Wang

Networked Control Systems for Manufacturing: Parameterization, Differentiation, Evaluation, and Application. Ling Wang Networked Control Systems for Manufacturing: Parameterization, Differentiation, Evaluation, and Application Ling Wang ling.wang2@wayne.edu Outline Introduction Parameterization Differentiation Evaluation

More information

The Link Layer and LANs. Chapter 6: Link layer and LANs

The Link Layer and LANs. Chapter 6: Link layer and LANs The Link Layer and LANs EECS3214 2018-03-14 4-1 Chapter 6: Link layer and LANs our goals: understand principles behind link layer services: error detection, correction sharing a broadcast channel: multiple

More information

Real-Time (Paradigms) (47)

Real-Time (Paradigms) (47) Real-Time (Paradigms) (47) Memory: Memory Access Protocols Tasks competing for exclusive memory access (critical sections, semaphores) become interdependent, a common phenomenon especially in distributed

More information

Lecture 9: Bridging. CSE 123: Computer Networks Alex C. Snoeren

Lecture 9: Bridging. CSE 123: Computer Networks Alex C. Snoeren Lecture 9: Bridging CSE 123: Computer Networks Alex C. Snoeren Lecture 9 Overview Finishing up media access Ethernet Contention-free methods (rings) Moving beyond one wire Link technologies have limits

More information

Hardware/ Software Partitioning

Hardware/ Software Partitioning Hardware/ Software Partitioning Peter Marwedel TU Dortmund, Informatik 12 Germany Marwedel, 2003 Graphics: Alexandra Nolte, Gesine 2011 年 12 月 09 日 These slides use Microsoft clip arts. Microsoft copyright

More information

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection: 1 Topics 2 LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS Multiple access: CSMA/CD, CSMA/CA, token passing, channelization LAN: characteristics, i basic principles i Protocol architecture Topologies

More information

A Fault Management Protocol for TTP/C

A Fault Management Protocol for TTP/C A Fault Management Protocol for TTP/C Juan R. Pimentel Teodoro Sacristan Kettering University Dept. Ingenieria y Arquitecturas Telematicas 1700 W. Third Ave. Polytechnic University of Madrid Flint, Michigan

More information

Hardware-Software Codesign. 1. Introduction

Hardware-Software Codesign. 1. Introduction Hardware-Software Codesign 1. Introduction Lothar Thiele 1-1 Contents What is an Embedded System? Levels of Abstraction in Electronic System Design Typical Design Flow of Hardware-Software Systems 1-2

More information

Sri Vidya College of Engineering and Technology. EC6703 Embedded and Real Time Systems Unit IV Page 1.

Sri Vidya College of Engineering and Technology. EC6703 Embedded and Real Time Systems Unit IV Page 1. Sri Vidya College of Engineering and Technology ERTS Course Material EC6703 Embedded and Real Time Systems Page 1 Sri Vidya College of Engineering and Technology ERTS Course Material EC6703 Embedded and

More information

Communication (III) Kai Huang

Communication (III) Kai Huang Communication (III) Kai Huang Ethernet Turns 40 12/17/2013 Kai.Huang@tum 2 Outline Bus basics Multiple Master Bus Network-on-Chip Examples o SPI o CAN o FlexRay o Ethernet Basic OSI model Real-Time Ethernet

More information

CS 455/555 Intro to Networks and Communications. Link Layer

CS 455/555 Intro to Networks and Communications. Link Layer CS 455/555 Intro to Networks and Communications Link Layer Dr. Michele Weigle Department of Computer Science Old Dominion University mweigle@cs.odu.edu http://www.cs.odu.edu/~mweigle/cs455-s13 1 Link Layer

More information

DISTRIBUTED REAL-TIME SYSTEMS

DISTRIBUTED REAL-TIME SYSTEMS Distributed Systems Fö 11/12-1 Distributed Systems Fö 11/12-2 DISTRIBUTED REAL-TIME SYSTEMS What is a Real-Time System? 1. What is a Real-Time System? 2. Distributed Real Time Systems 3. Predictability

More information

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과. Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과 ahn@venus.uos.ac.kr Data Link Layer Goals: understand principles behind data link layer services: error detection, correction sharing a broadcast channel: multiple

More information

Universal Serial Bus Host Interface on an FPGA

Universal Serial Bus Host Interface on an FPGA Universal Serial Bus Host Interface on an FPGA Application Note For many years, designers have yearned for a general-purpose, high-performance serial communication protocol. The RS-232 and its derivatives

More information

Commercial Real-time Operating Systems An Introduction. Swaminathan Sivasubramanian Dependable Computing & Networking Laboratory

Commercial Real-time Operating Systems An Introduction. Swaminathan Sivasubramanian Dependable Computing & Networking Laboratory Commercial Real-time Operating Systems An Introduction Swaminathan Sivasubramanian Dependable Computing & Networking Laboratory swamis@iastate.edu Outline Introduction RTOS Issues and functionalities LynxOS

More information

Chapter 5 Link Layer and LANs

Chapter 5 Link Layer and LANs Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007. All material copyright 1996-2007 J.F Kurose and K.W. Ross, All Rights

More information

VLSI Design Automation

VLSI Design Automation VLSI Design Automation IC Products Processors CPU, DSP, Controllers Memory chips RAM, ROM, EEPROM Analog Mobile communication, audio/video processing Programmable PLA, FPGA Embedded systems Used in cars,

More information

WIRELESS SENSOR NETWORK

WIRELESS SENSOR NETWORK 1 WIRELESS SENSOR NETWORK Dr. H. K. Verma Distinguished Professor (EEE) Sharda University, Greater Noida (Formerly: Deputy Director and Professor of Instrumentation Indian Institute of Technology Roorkee)

More information

Hardware/Software Co-design

Hardware/Software Co-design Hardware/Software Co-design Zebo Peng, Department of Computer and Information Science (IDA) Linköping University Course page: http://www.ida.liu.se/~petel/codesign/ 1 of 52 Lecture 1/2: Outline : an Introduction

More information

Data Link Layer Technologies

Data Link Layer Technologies Chapter 2.2 La 2 Data Link La Technologies 1 Content Introduction La 2: Frames Error Handling 2 Media Access Control General approaches and terms Aloha Principles CSMA, CSMA/CD, CSMA / CA Master-Slave

More information

FlexRay The Hardware View

FlexRay The Hardware View 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,

More information

The S6000 Family of Processors

The S6000 Family of Processors The S6000 Family of Processors Today s Design Challenges The advent of software configurable processors In recent years, the widespread adoption of digital technologies has revolutionized the way in which

More information

Introduction to Embedded Systems

Introduction to Embedded Systems Introduction to Embedded Systems Outline Embedded systems overview What is embedded system Characteristics Elements of embedded system Trends in embedded system Design cycle 2 Computing Systems Most of

More information

FlexRay International Workshop. Protocol Overview

FlexRay International Workshop. Protocol Overview FlexRay International Workshop 4 th March 2003 Detroit Protocol Overview Dr. Christopher Temple - Motorola FlexRay principles Provide a communication infrastructure for future generation highspeed control

More information

Redes de Computadores. Medium Access Control

Redes de Computadores. Medium Access Control Redes de Computadores Medium Access Control Manuel P. Ricardo Faculdade de Engenharia da Universidade do Porto 1 » How to control the access of computers to a communication medium?» What is the ideal Medium

More information

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties Outline Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties Layered Network Architectures - OSI framework descriptions of layers

More information

Interfacing. Embedded Systems Design: A Unified Hardware/Software Introduction, (c) 2000 Vahid/Givargis

Interfacing. Embedded Systems Design: A Unified Hardware/Software Introduction, (c) 2000 Vahid/Givargis Interfacing 1 Outline Interfacing basics Microprocessor interfacing I/O Addressing Interrupts Direct memory access Arbitration Hierarchical buses Protocols Serial Parallel Wireless 2 Introduction Embedded

More information

The Nios II Family of Configurable Soft-core Processors

The Nios II Family of Configurable Soft-core Processors The Nios II Family of Configurable Soft-core Processors James Ball August 16, 2005 2005 Altera Corporation Agenda Nios II Introduction Configuring your CPU FPGA vs. ASIC CPU Design Instruction Set Architecture

More information

VLSI Design Automation. Maurizio Palesi

VLSI Design Automation. Maurizio Palesi VLSI Design Automation 1 Outline Technology trends VLSI Design flow (an overview) 2 Outline Technology trends VLSI Design flow (an overview) 3 IC Products Processors CPU, DSP, Controllers Memory chips

More information

Local Area Networks NETW 901

Local Area Networks NETW 901 Local Area Networks NETW 901 Lecture 4 Wireless LAN Course Instructor: Dr.-Ing. Maggie Mashaly maggie.ezzat@guc.edu.eg C3.220 1 Contents What is a Wireless LAN? Applications and Requirements Transmission

More information

CS 716: Introduction to communication networks. - 8 th class; 17 th Aug Instructor: Sridhar Iyer IIT Bombay

CS 716: Introduction to communication networks. - 8 th class; 17 th Aug Instructor: Sridhar Iyer IIT Bombay CS 716: Introduction to communication networks - 8 th class; 17 th Aug 2011 Instructor: Sridhar Iyer IIT Bombay Key points to consider for MAC Types/Modes of communication: Although the medium is shared,

More information

ECE 4450:427/527 - Computer Networks Spring 2017

ECE 4450:427/527 - Computer Networks Spring 2017 ECE 4450:427/527 - Computer Networks Spring 2017 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 5.4: Multiple Access Protocols Dr. Nghi Tran (ECE-University of Akron) ECE 4450:427/527

More information

By Ambuj Varshney & Akshat Logar

By Ambuj Varshney & Akshat Logar By Ambuj Varshney & Akshat Logar Wireless operations permits services, such as long range communications, that are impossible or impractical to implement with the use of wires. The term is commonly used

More information

Hardware Design Environments. Dr. Mahdi Abbasi Computer Engineering Department Bu-Ali Sina University

Hardware Design Environments. Dr. Mahdi Abbasi Computer Engineering Department Bu-Ali Sina University Hardware Design Environments Dr. Mahdi Abbasi Computer Engineering Department Bu-Ali Sina University Outline Welcome to COE 405 Digital System Design Design Domains and Levels of Abstractions Synthesis

More information

More on IO: The Universal Serial Bus (USB)

More on IO: The Universal Serial Bus (USB) ecture 37 Computer Science 61C Spring 2017 April 21st, 2017 More on IO: The Universal Serial Bus (USB) 1 Administrivia Project 5 is: USB Programming (read from a mouse) Optional (helps you to catch up

More information

CSE 461: Multiple Access Networks. This Lecture

CSE 461: Multiple Access Networks. This Lecture CSE 461: Multiple Access Networks This Lecture Key Focus: How do multiple parties share a wire? This is the Medium Access Control (MAC) portion of the Link Layer Randomized access protocols: 1. Aloha 2.

More information

Hardware-Software Codesign

Hardware-Software Codesign Hardware-Software Codesign 8. Performance Estimation Lothar Thiele 8-1 System Design specification system synthesis estimation -compilation intellectual prop. code instruction set HW-synthesis intellectual

More information

8. Networks. Why networked embedded systems General network architecture. Networks. Internet-enabled embedded systems Sensor networks

8. Networks. Why networked embedded systems General network architecture. Networks. Internet-enabled embedded systems Sensor networks 8. Networks Why networked embedded systems General network architecture ISO seven network layers Networks I 2 C, CAN, Ethernet Internet-enabled embedded systems Sensor networks Computers as Components

More information

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols High Level View EE 122: Ethernet and 802.11 Ion Stoica September 18, 2002 Goal: share a communication medium among multiple hosts connected to it Problem: arbitrate between connected hosts Solution goals:

More information

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols Link Layer: Introduction daptors ommunicating hosts and routers are nodes links connect nodes wired links wireless links layer-2 packet is a frame, encapsulates datagram datagram controller sending host

More information

System-on-Chip Architecture for Mobile Applications. Sabyasachi Dey

System-on-Chip Architecture for Mobile Applications. Sabyasachi Dey System-on-Chip Architecture for Mobile Applications Sabyasachi Dey Email: sabyasachi.dey@gmail.com Agenda What is Mobile Application Platform Challenges Key Architecture Focus Areas Conclusion Mobile Revolution

More information

An Encapsulated Communication System for Integrated Architectures

An Encapsulated Communication System for Integrated Architectures An Encapsulated Communication System for Integrated Architectures Architectural Support for Temporal Composability Roman Obermaisser Overview Introduction Federated and Integrated Architectures DECOS Architecture

More information

VLSI Design Automation

VLSI Design Automation VLSI Design Automation IC Products Processors CPU, DSP, Controllers Memory chips RAM, ROM, EEPROM Analog Mobile communication, audio/video processing Programmable PLA, FPGA Embedded systems Used in cars,

More information

Multiple Access Protocols

Multiple Access Protocols Multiple Access Protocols Computer Networks Lecture 2 http://goo.gl/pze5o8 Multiple Access to a Shared Channel The medium (or its sub-channel) may be shared by multiple stations (dynamic allocation) just

More information

Hardware/Software Codesign

Hardware/Software Codesign Hardware/Software Codesign SS 2016 Prof. Dr. Christian Plessl High-Performance IT Systems group University of Paderborn Version 2.2.0 2016-04-08 how to design a "digital TV set top box" Motivating Example

More information

VLSI Design Automation. Calcolatori Elettronici Ing. Informatica

VLSI Design Automation. Calcolatori Elettronici Ing. Informatica VLSI Design Automation 1 Outline Technology trends VLSI Design flow (an overview) 2 IC Products Processors CPU, DSP, Controllers Memory chips RAM, ROM, EEPROM Analog Mobile communication, audio/video processing

More information

Platform-based Design

Platform-based Design Platform-based Design The New System Design Paradigm IEEE1394 Software Content CPU Core DSP Core Glue Logic Memory Hardware BlueTooth I/O Block-Based Design Memory Orthogonalization of concerns: the separation

More information

CSC 4900 Computer Networks: The Link Layer

CSC 4900 Computer Networks: The Link Layer CSC 4900 Computer Networks: The Link Layer Professor Henry Carter Fall 2017 Last Time We talked about intra-as routing protocols: Which routing algorithm is used in RIP? OSPF? What techniques allow OSPF

More information

An Introduction to FlexRay as an Industrial Network

An Introduction to FlexRay as an Industrial Network An Introduction to FlexRay as an Industrial Network Robert Shaw, Brendan Jackman Automotive Control Group, Waterford Institute of Technology, Waterford, Ireland. E-mail: rshaw@wit.ie, bjackman@wit.ie Website:

More information

Communication in Avionics

Communication in Avionics Communication in Avionics 1 Outline Basic Overview Communication architectures Event Triggered Time Triggered Communication architecture examples Case Study: How Data Communication Affects Scheduling 2

More information

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction. AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful

More information

Intel Research mote. Ralph Kling Intel Corporation Research Santa Clara, CA

Intel Research mote. Ralph Kling Intel Corporation Research Santa Clara, CA Intel Research mote Ralph Kling Intel Corporation Research Santa Clara, CA Overview Intel mote project goals Project status and direction Intel mote hardware Intel mote software Summary and outlook Intel

More information

EE 122: Ethernet and

EE 122: Ethernet and EE 122: Ethernet and 802.11 Ion Stoica September 18, 2002 (* this talk is based in part on the on-line slides of J. Kurose & K. Rose) High Level View Goal: share a communication medium among multiple hosts

More information

Hardware Software Codesign of Embedded Systems

Hardware Software Codesign of Embedded Systems Hardware Software Codesign of Embedded Systems Rabi Mahapatra Texas A&M University Today s topics Course Organization Introduction to HS-CODES Codesign Motivation Some Issues on Codesign of Embedded System

More information

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018 CS 43: Computer Networks 27: Media Access Contd. December 3, 2018 Last Class The link layer provides lots of functionality: addressing, framing, media access, error checking could be used independently

More information

Embedded Systems: Architecture

Embedded Systems: Architecture Embedded Systems: Architecture Jinkyu Jeong (Jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu)

More information

Message acknowledgement and an optional beacon. Channel Access is via Carrier Sense Multiple Access with

Message acknowledgement and an optional beacon. Channel Access is via Carrier Sense Multiple Access with ZigBee IEEE 802.15.4 Emerging standard for low-power wireless monitoring and control Scale to many devices Long lifetime is important (contrast to Bluetooth) 10-75m range typical Designed for industrial

More information

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017 CS 43: Computer Networks Media Access Kevin Webb Swarthmore College November 30, 2017 Multiple Access Links & Protocols Two classes of links : point-to-point dial-up access link between Ethernet switch,

More information

Physical Layer. Medium Access Links and Protocols. Point-to-Point protocols. Modems: Signaling. Modems Signaling. Srinidhi Varadarajan

Physical Layer. Medium Access Links and Protocols. Point-to-Point protocols. Modems: Signaling. Modems Signaling. Srinidhi Varadarajan P Physical Layer Srinidhi Varadarajan Medium Access Links and Protocols Three types of links : point-to-point (single wire, e.g. PPP, SLIP) broadcast (shared wire or medium; e.g, Ethernet, Wavelan, etc.)

More information

The Embedded computing platform. Four-cycle handshake. Bus protocol. Typical bus signals. Four-cycle example. CPU bus.

The Embedded computing platform. Four-cycle handshake. Bus protocol. Typical bus signals. Four-cycle example. CPU bus. The Embedded computing platform CPU bus. Memory. I/O devices. CPU bus Connects CPU to: memory; devices. Protocol controls communication between entities. Bus protocol Determines who gets to use the bus

More information

Hardware-Software Codesign. 1. Introduction

Hardware-Software Codesign. 1. Introduction Hardware-Software Codesign 1. Introduction Lothar Thiele 1-1 Contents What is an Embedded System? Levels of Abstraction in Electronic System Design Typical Design Flow of Hardware-Software Systems 1-2

More information

Operating Systems, Concurrency and Time. real-time communication and CAN. Johan Lukkien

Operating Systems, Concurrency and Time. real-time communication and CAN. Johan Lukkien Operating Systems, Concurrency and Time real-time communication and CAN Johan Lukkien (Courtesy: Damir Isovic, Reinder Bril) Question Which requirements to communication arise from real-time systems? How

More information

ESE Back End 2.0. D. Gajski, S. Abdi. (with contributions from H. Cho, D. Shin, A. Gerstlauer)

ESE Back End 2.0. D. Gajski, S. Abdi. (with contributions from H. Cho, D. Shin, A. Gerstlauer) ESE Back End 2.0 D. Gajski, S. Abdi (with contributions from H. Cho, D. Shin, A. Gerstlauer) Center for Embedded Computer Systems University of California, Irvine http://www.cecs.uci.edu 1 Technology advantages

More information

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN?

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN? Embedded networks Characteristics Requirements Simple embedded LANs Bit banged SPI I2C LIN Ethernet Last Time CAN Bus Intro Low-level stuff Frame types Arbitration Filtering Higher-level protocols Today

More information

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg Five Problems Encoding/decoding Framing Error Detection Error Correction Media Access Five Problems Encoding/decoding Framing

More information

Chapter 6 Storage and Other I/O Topics

Chapter 6 Storage and Other I/O Topics Department of Electr rical Eng ineering, Chapter 6 Storage and Other I/O Topics 王振傑 (Chen-Chieh Wang) ccwang@mail.ee.ncku.edu.tw ncku edu Feng-Chia Unive ersity Outline 6.1 Introduction 6.2 Dependability,

More information

MULTIPLE ACCESS PROTOCOLS 2. 1

MULTIPLE ACCESS PROTOCOLS 2. 1 MULTIPLE ACCESS PROTOCOLS AND WIFI 1 MULTIPLE ACCESS PROTOCOLS 2. 1 MULTIPLE ACCESS LINKS, PROTOCOLS Two types of links : point-to-point broadcast (shared wire or medium) POINT-TO-POINT PPP for dial-up

More information

WPAN-like Systems. UWB Ultra Wide Band. IrDA Infrared Data Association. Bluetooth. Z-Wave. WPAN Wireless Personal Area Network

WPAN-like Systems. UWB Ultra Wide Band. IrDA Infrared Data Association. Bluetooth. Z-Wave. WPAN Wireless Personal Area Network WPAN-like Systems WPAN Wireless Personal Area Network PAN: Personal Area Network. Small, within a few meters. WPAN: Wireless PAN. Mostly short-range, low-power, lowrate networks. More or less self-organizing.

More information

EEM870 Embedded System and Experiment Lecture 4: SoC Design Flow and Tools

EEM870 Embedded System and Experiment Lecture 4: SoC Design Flow and Tools EEM870 Embedded System and Experiment Lecture 4: SoC Design Flow and Tools Wen-Yen Lin, Ph.D. Department of Electrical Engineering Chang Gung University Email: wylin@mail.cgu.edu.tw March 2013 Agenda Introduction

More information

Links. CS125 - mylinks 1 1/22/14

Links. CS125 - mylinks 1 1/22/14 Links 1 Goals of Today s Lecture Link-layer services Encoding, framing, and error detection Error correction and flow control Sharing a shared media Channel partitioning Taking turns Random access Shared

More information

CHAPTER 3 BLUETOOTH AND IEEE

CHAPTER 3 BLUETOOTH AND IEEE CHAPTER 3 BLUETOOTH AND IEEE 802.15 These slides are made available to faculty in PowerPoint form. Slides can be freely added, modified, and deleted to suit student needs. They represent substantial work

More information

Bluetooth low energy technology Bluegiga Technologies

Bluetooth low energy technology Bluegiga Technologies Bluetooth low energy technology Bluegiga Technologies Topics Background What is Bluetooth low energy? Basic concepts Architecture Differentiation and comparison Markets and applications Background Background

More information

Data Link Layer: Multi Access Protocols

Data Link Layer: Multi Access Protocols Digital Communication in the Modern World Data Link Layer: Multi Access Protocols http://www.cs.huji.ac.il/~com1 com1@cs.huji.ac.il Some of the slides have been borrowed from: Computer Networking: A Top

More information

Software Driven Verification at SoC Level. Perspec System Verifier Overview

Software Driven Verification at SoC Level. Perspec System Verifier Overview Software Driven Verification at SoC Level Perspec System Verifier Overview June 2015 IP to SoC hardware/software integration and verification flows Cadence methodology and focus Applications (Basic to

More information

Local Area Networks (LANs) SMU CSE 5344 /

Local Area Networks (LANs) SMU CSE 5344 / Local Area Networks (LANs) SMU CSE 5344 / 7344 1 LAN/MAN Technology Factors Topology Transmission Medium Medium Access Control Techniques SMU CSE 5344 / 7344 2 Topologies Topology: the shape of a communication

More information

Embedded Systems: Hardware Components (part I) Todor Stefanov

Embedded Systems: Hardware Components (part I) Todor Stefanov Embedded Systems: Hardware Components (part I) Todor Stefanov Leiden Embedded Research Center Leiden Institute of Advanced Computer Science Leiden University, The Netherlands Outline Generic Embedded System

More information

Overview of SOC Architecture design

Overview of SOC Architecture design Computer Architectures Overview of SOC Architecture design Tien-Fu Chen National Chung Cheng Univ. SOC - 0 SOC design Issues SOC architecture Reconfigurable System-level Programmable processors Low-level

More information

ECE 111 ECE 111. Advanced Digital Design. Advanced Digital Design Winter, Sujit Dey. Sujit Dey. ECE Department UC San Diego

ECE 111 ECE 111. Advanced Digital Design. Advanced Digital Design Winter, Sujit Dey. Sujit Dey. ECE Department UC San Diego Advanced Digital Winter, 2009 ECE Department UC San Diego dey@ece.ucsd.edu http://esdat.ucsd.edu Winter 2009 Advanced Digital Objective: of a hardware-software embedded system using advanced design methodologies

More information

Seminar: Mobile Systems. Krzysztof Dabkowski Supervisor: Fabio Hecht

Seminar: Mobile Systems. Krzysztof Dabkowski Supervisor: Fabio Hecht Personal Area Networks Seminar: Mobile Systems November 19th 2009 Krzysztof Dabkowski Supervisor: Fabio Hecht Agenda Motivation Application areas Historical and technical overview Security issues Discussion

More information

Data Link Layer: Overview, operations

Data Link Layer: Overview, operations Data Link Layer: Overview, operations Chapter 3 1 Outlines 1. Data Link Layer Functions. Data Link Services 3. Framing 4. Error Detection/Correction. Flow Control 6. Medium Access 1 1. Data Link Layer

More information

ASYNC Rik van de Wiel COO Handshake Solutions

ASYNC Rik van de Wiel COO Handshake Solutions ASYNC 2006 Rik van de Wiel COO Handshake Solutions Outline Introduction to Handshake Solutions Applications Design Tools ARM996HS Academic Program Handshake Solutions Started as research project in Philips

More information

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008 Computer Networks Medium Access Control Mostafa Salehi Fall 2008 2008 1 Outline Issues ALOHA Network Ethernet Token Ring Wireless 2 Main Issues Local Area Network (LAN) : Three or more machines are physically

More information

Reminder: Datalink Functions Computer Networking. Datalink Architectures

Reminder: Datalink Functions Computer Networking. Datalink Architectures Reminder: Datalink Functions 15-441 15 441 15-641 Computer Networking Lecture 5 Media Access Control Peter Steenkiste Fall 2015 www.cs.cmu.edu/~prs/15-441-f15 Framing: encapsulating a network layer datagram

More information

FlexRay and Automotive Networking Future

FlexRay and Automotive Networking Future FlexRay and Automotive Networking Future Chris Quigley Warwick Control Technologies Presentation Overview High Speed and High Integrity Networking Why FlexRay? CAN Problems Time Triggered Network Principles

More information

Introduction to Wireless Networking ECE 401WN Spring 2009

Introduction to Wireless Networking ECE 401WN Spring 2009 I. Overview of Bluetooth Introduction to Wireless Networking ECE 401WN Spring 2009 Lecture 6: Bluetooth and IEEE 802.15 Chapter 15 Bluetooth and IEEE 802.15 What is Bluetooth? An always-on, short-range

More information

A Closer Look at the Epiphany IV 28nm 64 core Coprocessor. Andreas Olofsson PEGPUM 2013

A Closer Look at the Epiphany IV 28nm 64 core Coprocessor. Andreas Olofsson PEGPUM 2013 A Closer Look at the Epiphany IV 28nm 64 core Coprocessor Andreas Olofsson PEGPUM 2013 1 Adapteva Achieves 3 World Firsts 1. First processor company to reach 50 GFLOPS/W 3. First semiconductor company

More information

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Lecture 6 The Data Link Layer Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Link Layer: setting the context two physically connected devices: host-router, router-router, host-host,

More information

Computer Networks. Wireless LANs

Computer Networks. Wireless LANs Computer Networks Wireless LANs Mobile Communication Technology according to IEEE (examples) Local wireless networks WLAN 802.11 Personal wireless nw WPAN 802.15 WiFi 802.11a 802.11b 802.11h 802.11i/e/

More information