All Topics  
SuperH

 

   Email Print
   Bookmark   Link






 

SuperH



 
 
The SuperH (or SH) is brandname of a certain microcontroller
Microcontroller

A microcontroller is a small computer on a single integrated circuit consisting of a relatively simple CPU combined with support functions such as a crystal oscillator, timers, watchdog, serial and analog I/O etc....
 and microprocessor
Microprocessor

A microprocessor incorporates most or all of the functions of a central processing unit on a single integrated circuit . The first microprocessors emerged in the early 1970s and were used for electronic calculators, using Binary-coded decimal arithmetic on 4-bit Word ....
 architecture. The SuperH is fundamentally a 32-bit
32-bit

The range of integer values that can be stored in 32 bits is 0 through 4,294,967,295 or -2,147,483,648 through 2,147,483,647 using two's complement encoding....
 load/store RISC
Reduced instruction set computer

The acronym RISC , for reduced instruction set computing, represents a CPU design strategy emphasizing the insight that simplified instructions that "do less" may still provide for higher performance if this simplicity can be utilized to make instructions execute very quickly....
 architecture found in a large number of embedded system
Embedded system

An embedded system is a special-purpose computer system designed to perform one or a few dedicated functions, often with real-time computing constraints....
s.

SuperH processor core family was first developed by Hitachi
Hitachi, Ltd.

is a multinational corporation specializing in high-technology and services headquartered in Marunouchi Itchome, Chiyoda, Tokyo, Tokyo, Japan. The company is the parent of the Hitachi Group as part of the larger DKB Group companies....
 in the early 1990s. Many microcontrollers and microprocessors were based on this architecture. Hitachi was developing a complete set of instruction set upward compatible CPU cores.






Discussion
Ask a question about 'SuperH'
Start a new discussion about 'SuperH'
Answer questions from other users
Full Discussion Forum



Encyclopedia


The SuperH (or SH) is brandname of a certain microcontroller
Microcontroller

A microcontroller is a small computer on a single integrated circuit consisting of a relatively simple CPU combined with support functions such as a crystal oscillator, timers, watchdog, serial and analog I/O etc....
 and microprocessor
Microprocessor

A microprocessor incorporates most or all of the functions of a central processing unit on a single integrated circuit . The first microprocessors emerged in the early 1970s and were used for electronic calculators, using Binary-coded decimal arithmetic on 4-bit Word ....
 architecture. The SuperH is fundamentally a 32-bit
32-bit

The range of integer values that can be stored in 32 bits is 0 through 4,294,967,295 or -2,147,483,648 through 2,147,483,647 using two's complement encoding....
 load/store RISC
Reduced instruction set computer

The acronym RISC , for reduced instruction set computing, represents a CPU design strategy emphasizing the insight that simplified instructions that "do less" may still provide for higher performance if this simplicity can be utilized to make instructions execute very quickly....
 architecture found in a large number of embedded system
Embedded system

An embedded system is a special-purpose computer system designed to perform one or a few dedicated functions, often with real-time computing constraints....
s.

History

The SuperH processor core family was first developed by Hitachi
Hitachi, Ltd.

is a multinational corporation specializing in high-technology and services headquartered in Marunouchi Itchome, Chiyoda, Tokyo, Tokyo, Japan. The company is the parent of the Hitachi Group as part of the larger DKB Group companies....
 in the early 1990s. Many microcontrollers and microprocessors were based on this architecture. Hitachi was developing a complete set of instruction set upward compatible CPU cores. Originally, the SH-1 and the SH-2 were used in the Sega Saturn and Sega 32X and then later in many other microcontrollers used in many other embedded applications. These cores use a 16-bit instruction set, though register length and data paths are 32-bit, which gave it an excellent code density. At the time, memory was very expensive.

A few years later, the SH-3 core was added to this family of CPU cores; new features included another interrupt concept, a memory management unit
Memory management unit

A memory management unit , sometimes called paged memory management unit , is a computer hardware component responsible for handling accesses to computer memory requested by the central processing unit ....
 (MMU) and a modified cache concept. The SH-3 core also got a DSP
Digital signal processing

Digital signal processing is concerned with the representation of the signal s by a sequence of numbers or symbols and the processing of these signals....
 extension, then called SH-3-DSP core. With extended data paths for efficient DSP processing, special accumulators and a dedicated MAC
Multiply-accumulate

In computing, especially digital signal processing, multiply-accumulate is a common operation that computes the product of two numbers and adds that product to an accumulator ....
-type DSP engine, this core was unifying the DSP and the RISC processor world. A derivative was also used with the original SH-2 core.

For the Sega Dreamcast
Sega Dreamcast

The is a video game console made by Sega, and is the successor to the Sega Saturn. An attempt to recapture the console market with a next-generation system, it was designed to supersede the PlayStation and Nintendo 64....
, Hitachi
Hitachi, Ltd.

is a multinational corporation specializing in high-technology and services headquartered in Marunouchi Itchome, Chiyoda, Tokyo, Tokyo, Japan. The company is the parent of the Hitachi Group as part of the larger DKB Group companies....
 was then developing the SH-4 architecture. This was a massive extension of the previous cores. Superscalar
Superscalar

A superscalar Central processing unit architecture implements a form of parallel computer called instruction level parallelism within a single processor....
 (2-way) instruction execution and a parallel
Parallel computing

Parallel computing is a form of computing in which many calculations are carried out simultaneously, operating on the principle that large problems can often be divided into smaller ones, which are then solved Concurrency ....
 vector
Vector processor

A vector processor, or array processor, is a Central processing unit design where the instruction set includes operations that can perform mathematical operations on multiple data elements simultaneously....
 floating point unit
Floating point unit

A floating-point unit is a part of a computer system specially designed to carry out operations on floating point numbers. Typical operations are addition, subtraction, multiplication, division , and square root....
 were the highlights of this architecture. This CPU core was then also used in many chipsets for embedded applications requiring a very high performance. SH-4 based standard chips were introduced around 1998.

A bit later, Hitachi
Hitachi, Ltd.

is a multinational corporation specializing in high-technology and services headquartered in Marunouchi Itchome, Chiyoda, Tokyo, Tokyo, Japan. The company is the parent of the Hitachi Group as part of the larger DKB Group companies....
 and ST Microelectronics formed the IP company
Patent holding company

Patent holding companies are company set up to administer, consolidate and license patents or otherwise enforce patent rights, such as through litigation....
 SuperH, Inc., which was going to license the SH-4 core to other companies and was developing the SH-5 architecture, the first move of SuperH into the 64-bit area. SuperH, Inc. sold the IP of these CPU cores to Renesas Technology
Renesas Technology

is a Japanese Semiconductor device manufacturer. It is based in Tokyo and has manufacturing, design and sales operations in around 20 countries with about 26,200 employees worldwide....
.

The SH-5 design supported two modes of operation. SHcompact mode is equivalent to the user-mode instructions of the SH-4 instruction set. SHmedia mode is very different, using 32-bit instructions with sixty-four 64-bit integer registers and SIMD
SIMD

In computing, SIMD is a technique employed to achieve data level parallelism....
 instructions. In SHmedia mode the destination of a branch
Branch (computer science)

A branch is a point in a computer program where the flow of control is altered. The term branch is usually used when referring to a program written in machine code or assembly language; in a high-level programming language, branches usually take the form of conditional statements, subroutine calls or GOTO statements....
 (jump) is loaded into a branch register separately from the actual branch instruction. This allows the processor to prefetch instructions for a branch without having to snoop the instruction stream. The combination of a compact 16-bit instruction encoding with a more powerful 32-bit instruction encoding is not unique to SH-5; recent ARM
ARM architecture

The ARM architecture is a 32-bit RISC central processing unit architecture developed by ARM Limited that is widely used in embedded system designs....
 processors have a 16-bit Thumb mode, and MIPS
MIPS architecture

MIPS is a RISC instruction set architecture developed by MIPS Technologies . In the mid to late 1990s, it was estimated that one in three RISC microprocessors produced were MIPS implementations....
 processors have a MIPS-16 mode. However, SH-5 differs because its backward compatibility mode is the 16-bit encoding rather than the 32-bit encoding.

After that, the evolution of the SuperH architecture still continued. The latest evolutionary step happened around 2003 where the cores from SH-2 up to SH-4 were getting unified into a superscalar SH-X core which forms a kind of instruction set superset of the previous architectures.

Today, the SuperH CPU cores, architecture and products are with Renesas Technology
Renesas Technology

is a Japanese Semiconductor device manufacturer. It is based in Tokyo and has manufacturing, design and sales operations in around 20 countries with about 26,200 employees worldwide....
, a merger of the Hitachi and Mitsubishi semiconductor groups, and the architecture is consolidated around the SH-2, SH-2A, SH-3, SH4 and SH-4A platforms giving a scalable family from a small low cost solution through numerous options up to the highest possible performance.

See further details under .

Models

The family of SuperH CPU cores include:

  • SH-1 - used in microcontrollers for deeply embedded applications (CD-ROM
    CD-ROM

    CD-ROM is a pre-pressed Compact Disc that contains Computer data storage accessible to, but not writable by, a computer. While the Compact Disc format was originally designed for music storage and playback, the 1985 Yellow Book standard developed by Sony and Philips adapted the format to hold any form of Binary file....
     drives, major appliance
    Major appliance

    A major appliance, or domestic appliance, is usually defined as a large machine which accomplishes some routine housekeeping task, which includes purposes such as cooking, food preservation, or cleaning, whether in a household, institutional, commercial or industrial setting....
    s, etc)
  • SH-2 - used in microcontrollers with higher performance requirements, also used in automotive such as engine control unit
    Engine Control Unit

    An engine control unit is an electronic control unit which controls various aspects of an internal combustion engine's operation. The simplest ECUs control only the quantity of fuel injected into each cylinder each engine cycle....
    s or in networking applications, and also in video game consoles, like the Sega Saturn. The SH-2 has also found home in a great many motor control applications.
  • SH-2A - The SH-2A core is an extension of the SH-2 core including a few extra instructions but most importantly moving to a superscalar architecture (which means it executes 2 instructions in a single cycle) and two 5 stage pipelines. It also incorporates 15 register banks to facilitate an interrupt latency of 6 clock cycles. It is also strong in motor control application but also in multimedia, car audio, powertrain, automotive body control and office + building automation
  • SH-DSP - initially developed for the mobile phone
    Mobile phone

    A mobile phone is a long-range, electronic device used for mobile voice or data communication over a network of specialized base stations known as cell sites....
     market, used later in many consumer applications requiring DSP performance for JPEG
    JPEG

    In computing, JPEG is a commonly used method of for photographic images. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and image quality....
     compression etc
  • SH-3 - used for mobile and handheld applications such as the Jornada, strong in Windows CE applications and market for many years in the car navigation market
  • SH-3-DSP - used mainly in multimedia terminals and networking applications, also in printers and fax machines
  • SH-4 - used whenever high performance is required such as car multimedia terminals, video game console
    Video game console

    A video game console is an game development that produces a video signal which can be used with a display device to display a video game. The term "video game console" is used to distinguish a machine designed for consumers to buy and use solely for playing video games from a personal computer, which has many other functions, or arcade machi...
    s, or set-top box
    Set-top box

    A set-top box or set-top unit is a information appliance that connects to a television and an external source of signal , turning the signal into content which is then displayed on the television screen....
    es
  • SH-5 - used in high-end multimedia applications
  • SH-X - mainstream core used in various flavours (with/without DSP or FPU unit) in engine control unit, car multimedia equipment, set-top boxes or mobile phones
  • SH-Mobile - SuperH Mobile Application Processor; designed to offload application processing from the baseband LSI, this is a solution to ease system development and realise significant performance improvement.


The SuperH cores are supported worldwide by many RTOS
Real-time operating system

A Real-Time Operating System is a Computer multitasking operating system intended for real-time computing applications. Such applications include embedded systems , industrial robots, spacecraft, industrial control , and scientific research equipment....
 and tool vendors.

SH-2


The SH-2 is a 32bit RISC architecture, it features many (16) general purpose registers, which makes it well suited for programs written in C
C (programming language)

C is a general-purpose computer programming language originally developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories to implement the Unix operating system....
.

It has a 16bit fixed length instructions for high code density, features a hardware Multiply-Accumulate (MAC) block for DSP algorithms and has a five-stage pipeline.

The SH-2 has a cache on all ROM-less devices.

It also provides vector-base-register, global-base-register and a procedure register.

Today the SH-2 family stretches from 32k of on board flash up to ROMless devices. It is used in a variety of different devices with differing peripherals such as CAN, Ethernet, motor-control timer unit, fast ADC and others.

SH-2A

The SH-2A is essentially an upgrade to the SH-2 core. It extends the compatibility of the SuperH family up to the 200 MHz performance. Announced in early 2008 was the first dual core SH-2A device enhancing the performance of this popular family.

At launch in 2007 the SH-2A bases SH7211 was the world's fastest embedded flash microcontroller running at 160 MHz. It has later been superseded by several newer SuperH devices running at up to 200 MHz.

New features on the SH-2A core include:

  • Superscalar architecture: execution of 2 instructions simultaneously.
  • Harvard architecture with separate buses
    • Allows simultaneous instruction fetch and data access.
  • Two 5-stage pipelines.
  • 15 register banks for interrupt response in 6 cycles.
  • FPU option


The SH-2A family today spans a wide memory field from 256kB up to and includes many ROM
Rom

ROM, Rom, or rom is an abbreviation and name that may refer to:...
less variations. The devices feature standard peripherals such as CAN, Ethernet
Ethernet

Ethernet is a family of Data frame-based computer networking technologies for local area networks . The name comes from the physical concept of the Luminiferous aether....
, USB, LCD controllers, and many more as well as more application specific peripherals such as motor control timers, TFT
TFT

TFT may refer to:...
 controllers and peripherals dedicated to automotive powertrain applications.

Distinctions

  • Scalability
  • Cost efficient
  • Optimised for embedded applications
  • High performance


Tools


RSK Renesas Starter Kit

Several Modern Day SuperH devices are available with a Renesas Starter Kit. The RSKs have been designed to allow easy access to all on chip peripherals and includes a debug LCD panel.

To complete the RSK, Renesas has included the "E10A for starter kits" or the "E8A" on chip debugger, 60 day (256K code size limited) trial compiler. This makes the RSK one of the most comprehensive and complete evaluation / development systems in its class.

Debuggers

  • E10A for starterkit from Renesas is available with some RSKs only.
  • E10A USB Lite


RTOS


One of the key advantages of the SuperH is that it is supported by many operating systems. Below is a selection of some of the RTOSs that are available for the SuperH

  • A wide variety of iTRON
    Itron

    Itron Inc. is a multinational company based in Liberty Lake, Washington, Washington. Itron provides products and services for the energy and water industries....
     implementations
  • eCos
    ECos

    eCos is an open source, royalty-free, real-time operating system intended for embedded systems and applications which need only one Process with Thread ....
     open source RTOS
  • RTEMS
    RTEMS

    RTEMS is a free open source real-time operating system designed for embedded systems.The acronym RTEMS initially stood for Real-Time Executive for Missile Systems, then became Real-Time Executive for Military Systems before changing to its current meaning....
     RTOS
  • MicroC/OS-II
    MicroC/OS-II

    MicroC/OS-II , is a low-cost priority-based preemption real-time operating system computer multitasking kernel for microprocessors, written mainly in the C programming language....
     from Micrium
  • Euros from Euros Embedded
  • VxWorks
    VxWorks

    VxWorks is a real-time operating system operating system made and sold by Wind River Systems of Alameda, California, California, USA.VxWorks is designed for use in embedded systems....
     from Wind River Systems
    Wind River Systems

    Wind River Systems, Inc. is a publicly owned company providing embedded systems, development tools for embedded systems, middleware, and other types of software....
  • Nucleus
    Nucleus RTOS

    Nucleus OS is a real-time operating system and full-featured toolset created by the Embedded system Division of Mentor Graphics for various CPU platforms....
     from Mentor Graphics
  • ThreadX
    ThreadX

    ThreadX, developed and marketed by Express Logic, Inc. of San Diego, California, USA, is a real-time operating system . Similar RTOSes are available from other vendors such as VxWorks, Nucleus RTOS, Operating System Embedded, QNX, LynxOS, etc....
     from Express Logic
  • emBOS from Segger
  • VelOSity from Green Hills Software
    Green Hills Software

    Green Hills Software is a privately owned company that builds operating systems and development tools for embedded systems. The company was founded in 1982 by Dan O'Dowd and Carl Rosenberg....
  • QNX
    QNX

    QNX is a commercial Unix-like real-time operating system, aimed primarily at the embedded systems market. On September 12, 2007, the source of the QNX kernel was released for non-commercial use....


External links

  • - Online training for Renesas products.
  • - A community support forum.


Linux for SuperH
  • Official free download of GNUSH-ELF and SH-Linux Toolchains with free Technical Support
  • Wiki of linux-sh port
  • gcc toolchain
  • MPC Data SHLinux support
  • Linux SuperH Kernel Development mailing list archive


Linux distribution
Linux distribution

A Linux distribution is a member of the family of Unix-like software distributions built on top of the Linux kernel. Such distributions consist of a large collection of software applications such as word processors, spreadsheets, media players and database applications....
s for SuperH
  • Jlime
    Jlime

    Jornada Linux Mobility Edition is a Linux distribution aimed for the HP Jornada platform . It was created in Late 2003 by Kristoffer ericson and Henk Brunstin....
     (Jornada Linux Mobility Edition) has working distribution for HP
    Hewlett-Packard

    The Hewlett-Packard Company , commonly referred to as HP, is a technology corporation headquartered in Palo Alto, California, United States....
     Jornada 620LX/660LX/680/690 handhelds; JLime is probably the largest SuperH distribution.
  • Gentoo Linux
    Gentoo Linux

    Gentoo is a computer operating system built on top of the Linux Kernel and based on the Portage package management system. It is distributed as Free software....
  • OpenEmbedded
    OpenEmbedded

    The OpenEmbedded Project is a software framework to create Linux distributions aimed for Embedded system. It was created by merging the achievements of OpenZaurus in addition with contributions of projects like Familiar Linux and OpenSIMpad into a common codebase....
  • T2 System Development Environment
    T2 SDE

    T2 is a flexible Open Source System Development Environment that facilitates the automated creation of Linux-based systems. T2 enables the creation of custom Linux distribution for targets including embedded systems with low memory footprint, secure and specialized server setups, or complete desktop systems, with an adaptable modular framew...


NetBSD
NetBSD

NetBSD is a freely redistributable, open source version of the Unix-derivative Berkeley Software Distribution computer operating system. It was the second open source BSD descendant to be formally released, after 386BSD, and continues to be actively developed....
 on SuperH


OpenBSD
OpenBSD

OpenBSD is a Unix-like computer operating system descended from Berkeley Software Distribution , a Unix derivative developed at the University of California, Berkeley....
 on SuperH