Difference between revisions of "SH-2"

From Sega Retro

 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The '''SH-2''' is a 32-bit RISC processor developed by [[Hitachi]] (and currently produced by Renesas) as part of the [[SuperH]] family.
+
{{cleanup}}
 +
{{ICBob
 +
| image=SH2.jpg
 +
| title=
 +
| designer=[[Hitachi]]
 +
| date=
 +
}}
 +
The '''SH-2''' is a 32-bit RISC processor developed by [[Hitachi]] (and currently produced by Renesas) as part of the [[SuperH]] family. It is used by the [[Sega 32X]] and the [[Sega Saturn]].
  
 
{{rewrite}}
 
{{rewrite}}
The [[Sega Saturn]] is powered by two [[Hitachi]] SH2, 32-bit RISC processors. These particular [[SuperH|SH-2]] chips run at 28.6364 MHz (versions were developed which ran as high as 40 MHz), and are capable of processing up to 37.22732 million instructions per second (MIPS) each (1.3 MIPS per MHz),{{fileref|SH-2A.pdf|page=2}}{{ref|[https://www.renesas.com/en-eu/products/microcontrollers-microprocessors/superh/sh7040/sh7040.html SH7040, SH7041, SH7042, SH7043, SH7044, SH7045], Renesas}} for a combined rating of 74.45464 MIPS (MIPS however, is not a true indication of processor performance in many cases). Each SH2 comes with an internal 4 [[Byte|KB]] [[RAM]] cache in order to speed up processing tasks.
+
The [[Sega Saturn]] is powered by two SH-2 processors running in a Master/Slave configuration. These particular SH-2 chips run at 28.6364 MHz (versions were developed which ran as high as 40 MHz), and are capable of processing up to 37.227268 MIPS each (1.3 MIPS per MHz),{{fileref|SH-2A.pdf|page=2}}{{ref|[https://www.renesas.com/en-eu/products/microcontrollers-microprocessors/superh/sh7040/sh7040.html SH7040, SH7041, SH7042, SH7043, SH7044, SH7045], Renesas}} for a combined rating of 74.45464 MIPS (MIPS however, is not a true indication of processor performance in many cases). Each SH-2 comes with an internal 4 [[Byte|KB]] [[RAM]] cache in order to speed up processing tasks.
  
"The SH2 is a small (2 cm square) but fast RISC chip that has been designed primarily to process graphics. Like all RISC processors, it's more streamlined that conventional CISC-based chips and carries out instructions in far fewer clock cycles." — ''Next Generation''
+
{{Quote|
 +
The SH-2 is a small (2 cm square) but fast RISC chip that has been designed primarily to process graphics. Like all RISC processors, it's more streamlined that conventional CISC-based chips and carries out instructions in far fewer clock cycles.
 +
|Next Generation
 +
|ref={{magref|nextgeneration|2|42}}}}
  
 
==Technical specifications==
 
==Technical specifications==
 
* Clock rate: 28.63636 MHz{{intref|Sega Saturn hardware notes (2004-04-27)}}{{fileref|Hitachi SuperH Programming Manual.pdf}}{{fileref|SH7604 Hardware Manual.pdf}}
 
* Clock rate: 28.63636 MHz{{intref|Sega Saturn hardware notes (2004-04-27)}}{{fileref|Hitachi SuperH Programming Manual.pdf}}{{fileref|SH7604 Hardware Manual.pdf}}
** CPU core: 32‑bit [[wikipedia:Reduced instruction set computing|RISC]] instructions/[[wikipedia:Processor register|registers]], 37.227268 [[wikipedia:Instructions per second|MIPS]] (1.3 MIPS per MHz),{{fileref|SH-2A.pdf|page=2}}{{ref|[https://www.renesas.com/en-eu/products/microcontrollers-microprocessors/superh/sh7040/sh7040.html SH7040, SH7041, SH7042, SH7043, SH7044, SH7045], Renesas}} up to 2 instructions per cycle{{fileref|Hitachi SuperH Programming Manual.pdf|page=390}}
+
* CPU core: 32‑bit [[wikipedia:Reduced instruction set computing|RISC]] instructions/[[wikipedia:Processor register|registers]], 37.227268 [[wikipedia:Instructions per second|MIPS]] (1.3 MIPS per MHz),{{fileref|SH-2A.pdf|page=2}}{{ref|[https://www.renesas.com/en-eu/products/microcontrollers-microprocessors/superh/sh7040/sh7040.html SH7040, SH7041, SH7042, SH7043, SH7044, SH7045], Renesas}} up to 2 instructions per cycle{{fileref|Hitachi SuperH Programming Manual.pdf|page=390}}
** DMA unit: DMAC (Direct Memory Access Controller),{{fileref|SH7604 Hardware Manual.pdf|page=3}} parallel processing{{fileref|SH7604 Hardware Manual.pdf|page=219}}
+
* DMA unit: DMAC (Direct Memory Access Controller),{{fileref|SH7604 Hardware Manual.pdf|page=3}} parallel processing{{fileref|SH7604 Hardware Manual.pdf|page=219}}
** 2 internal [[wikipedia:Fixed-point arithmetic|fixed‑point]] math processors:{{fileref|Sega Service Manual - Sega Saturn (PAL) - 013-1 - June 1995.pdf}} MULT multiplier DSP,{{fileref|SH7604 Hardware Manual.pdf|page=3}}{{fileref|SH7604 Hardware Manual.pdf|page=22}}{{fileref|ST-103-R1-040194.pdf|page=23}} DIVU division unit,{{fileref|SH7604 Hardware Manual.pdf|page=3}}{{fileref|SH7604 Hardware Manual.pdf|page=22}} parallel processing{{fileref|SH7604 Hardware Manual.pdf|page=303}}
+
* 2 internal [[wikipedia:Fixed-point arithmetic|fixed‑point]] math processors:{{fileref|Sega Service Manual - Sega Saturn (PAL) - 013-1 - June 1995.pdf}} MULT multiplier DSP,{{fileref|SH7604 Hardware Manual.pdf|page=3}}{{fileref|SH7604 Hardware Manual.pdf|page=22}}{{fileref|ST-103-R1-040194.pdf|page=23}} DIVU division unit,{{fileref|SH7604 Hardware Manual.pdf|page=3}}{{fileref|SH7604 Hardware Manual.pdf|page=22}} parallel processing{{fileref|SH7604 Hardware Manual.pdf|page=303}}
*** MULT multiplier DSP: 28.63636 MOPS fixed-point math (1 operation per cycle){{fileref|Hitachi SuperH Programming Manual.pdf|page=31}}
+
:* 2x MULT multiplier DSP: 57.27272 MOPS{{ref|MOPS (million operations per second)|group=fn}} fixed-point math (28.63636 MOPS per SH-2){{ref|1 operation per cycle{{fileref|Hitachi SuperH Programming Manual.pdf|page=31}}|group=fn}}
*** DIVU division unit: 16/32/64-bit division,{{fileref|SH7604 Hardware Manual.pdf|page=303}} 734,265 divides/sec (39 cycles per divide){{fileref|Hitachi SuperH Programming Manual.pdf|page=155}}
+
:* 2x DIVU division units: 16/32/64-bit division,{{fileref|SH7604 Hardware Manual.pdf|page=303}} 1,468,531 divides/sec{{ref|39 cycles per divide{{fileref|Hitachi SuperH Programming Manual.pdf|page=155}}|group=fn}}
** [[wikipedia:Bus (computing)|Bus]] width: 64‑bit (2× 32‑bit) internal, 32‑bit external{{fileref|ST-103-R1-040194.pdf}}
+
* [[wikipedia:Bus (computing)|Bus]] width: 64‑bit (2× 32‑bit) internal, 32‑bit external{{fileref|ST-103-R1-040194.pdf}}
** Word length: [[32-bit era|32-bit]]
+
* Word length: 32-bit
** Supports [[wikipedia:Master/slave (technology)|Master/Slave]] configuration with dual SH-2
+
* Supports [[wikipedia:Master/slave (technology)|Master/Slave]] configuration with dual SH-2
  
 
==Documentation==
 
==Documentation==
 
<gallery>
 
<gallery>
SH7604 Hardware Manual.pdf|Hardware Manual
+
SH7604 Hardware Manual.pdf|Hardware manual
Hitachi SuperH Programming Manual.pdf|Programming Manual
+
SH-1 SH-2 CPU Core Architecture.pdf|Programming manual
 +
Hitachi SuperH Programming Manual.pdf|Programming manual
 
</gallery>
 
</gallery>
 +
 +
==Footnotes==
 +
{{multicol|
 +
<references group="fn"/>
 +
}}
  
 
==References==
 
==References==
 +
{{multicol|
 
<references/>
 
<references/>
 
+
}}
[[Category:Microchips]]
 

Latest revision as of 21:15, 25 May 2024

Cleanup.svg
This article needs cleanup.
This article needs to be edited to conform to a higher standard of article quality. After the article has been cleaned up, you may remove this message. For help, see the How to Edit a Page article.
SH2.jpg
SH-2
Designer: Hitachi

The SH-2 is a 32-bit RISC processor developed by Hitachi (and currently produced by Renesas) as part of the SuperH family. It is used by the Sega 32X and the Sega Saturn.


Rewrite.svg
This article needs to be rewritten.
This article needs to be rewritten to conform to a higher standard of article quality. After the article has been rewritten, you may remove this message. For help, see the How to Edit a Page article.

The Sega Saturn is powered by two SH-2 processors running in a Master/Slave configuration. These particular SH-2 chips run at 28.6364 MHz (versions were developed which ran as high as 40 MHz), and are capable of processing up to 37.227268 MIPS each (1.3 MIPS per MHz),[1][2] for a combined rating of 74.45464 MIPS (MIPS however, is not a true indication of processor performance in many cases). Each SH-2 comes with an internal 4 KB RAM cache in order to speed up processing tasks.


The SH-2 is a small (2 cm square) but fast RISC chip that has been designed primarily to process graphics. Like all RISC processors, it's more streamlined that conventional CISC-based chips and carries out instructions in far fewer clock cycles.

— Next Generation [3]


Technical specifications

  • 2x MULT multiplier DSP: 57.27272 MOPS[fn 1] fixed-point math (28.63636 MOPS per SH-2)[fn 2]
  • 2x DIVU division units: 16/32/64-bit division,[13] 1,468,531 divides/sec[fn 3]
  • Bus width: 64‑bit (2× 32‑bit) internal, 32‑bit external[16]
  • Word length: 32-bit
  • Supports Master/Slave configuration with dual SH-2

Documentation

Footnotes

  1. [MOPS (million operations per second) MOPS (million operations per second)]
  2. [1 operation per cycle[14] 1 operation per cycle[14]]
  3. [39 cycles per divide[15] 39 cycles per divide[15]]

References