Download presentation
Presentation is loading. Please wait.
1
© ABB Group - 1 - 10-Jun-15 Evaluation of Real-Time Operating Systems for Xilinx MicroBlaze CPU Anders Rönnholm
2
© ABB Group - 2 - 10-Jun-15 Overview Background Problem description Real-time system characteristics Overview of target system Overview of evaluated kernels Evaluation Results Conclusions
3
© ABB Group - 3 - 10-Jun-15 Background System-on-Chip - The whole system on one chip FPGA - A chip containing programmable logic cells. Reprogrammable. Embedded systems - Special purpose systems incapsulated in the device it controls. ABB - CRC 20 persons working with mechatronics 5 of them with SoC solutions
4
© ABB Group - 4 - 10-Jun-15 Problem Description Areas using embedded systems are: Airbags, pacemakers, MP3 players and industrial robots. Evaluated kernels -uClinux, Xilkernel, Asterix Evaluation - Interrupt latency - Task response time - Priority inversion - Kernel size (footprint) - Scalability
5
© ABB Group - 5 - 10-Jun-15 Real-time system characteristics Real-time systems are systems that must respond to an event within a given deadline. Characteristics - Determinism - Responsiveness - User control - Reliability - Fail-soft operation
6
© ABB Group - 6 - 10-Jun-15 Target system Xilinx Virtex4 XC4VFX12 200,000 Logic Cells. m68000 60,000 large Support for 8 MicroBlaze Many Additional components - Hardware barrel shifter - Hardware divider - Instruction and data cache - Memory interfaces
7
© ABB Group - 7 - 10-Jun-15 Target system cont. Xilinx EDK - IDE - Debugger Benchmark design DDR-RAM Uart 2 Timers (system clock, interrupt generator) 16kB instruction and data cache
8
© ABB Group - 8 - 10-Jun-15 MicroBlaze Soft CPU - Implemented using the hardware logic in the FPGA 32-bit RISC core 32 general purpose registers 5 special purpose registers Bus interfaces - On-chip Peripheral Bus - Local Memory Bus - Fast Simplex Link Bus - Debug Interface
9
© ABB Group - 9 - 10-Jun-15 uClinux Port of Linux 2.0, 2.4 and 2.6 - Only 2.4 ported to MicroBlaze Not RTOS, kernel not preemptive Kernel package and Distribution package Kernel package contains the kernel Dist package contains: - Applications, libraries, drivers Needs to be compiled in a Linux Environment. Downloaded with Xilinx tool.
10
© ABB Group - 10 - 10-Jun-15 Xilkernel Developed by Xilinx. Shipped and highly integrated into EDK. Signal, Message queue, semaphore communication. Applications can be created as separate executables. Compiled and downloaded inside EDK.
11
© ABB Group - 11 - 10-Jun-15 Asterix Developed at MRTC Periodic / aperiodic tasks Signals / semaphores and wait&lock free communication Monitoring support: Deterministic replay and deterministic testing.
12
© ABB Group - 12 - 10-Jun-15 Asterix Port 16-bit h8/300 CISC -> 32-bit MicroBlaze RISC 4 external interrupts -> 1 external interrups - Interrupt controller HAL – Assembler 3 - 4 weeks of work
13
© ABB Group - 13 - 10-Jun-15 Test System Board Configuration MicroBlaze 100 MHz 64MB DDR-RAM Timer 100 Hz 5,000,000 interrupts (13.8h) Virtex4 Xilkernel MicroBlaze AsterixuClinux Applications
14
© ABB Group - 14 - 10-Jun-15 Evaluation Benchmarks - Interrupt latency - Task response time Priority inversion Scalability Kernel size (footprint)
15
© ABB Group - 15 - 10-Jun-15 Result – Benchmark and Footprint Benchmark results Footprints
16
© ABB Group - 16 - 10-Jun-15 Result - Priority inversion uClinux No support without patch Xilkernel Priority inheritance Asterix Immediate inheritance
17
© ABB Group - 17 - 10-Jun-15 Result - Scalability uClinux Only scalable on the operating system. Network support, filesystems, sound Xilkernel Support for pthread, semaphore, mutex, stack size. Asterix Support for semaphore, signal, stack size.
18
© ABB Group - 18 - 10-Jun-15 Conclusions Asterix the best kernel if memory is very limited otherwise Xilkernel. uClinux can be used as a real-time system in a design that is not memory limited and does not need fast response times. Xilkernel easiest to work with.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.