EDA365电子工程师网

标题: Inside the Apple A7 from the iPhone 5s [打印本页]

作者: pjh02032121    时间: 2014-3-24 19:30
标题: Inside the Apple A7 from the iPhone 5s
本帖最后由 pjh02032121 于 2014-3-24 19:30 编辑
2 F0 ], d8 `  E
# }7 G+ H- a8 M# E% ]* U+ c: ]' Y
1 f6 _! u% E' u" I# F- r6 D. H
' `% L. O$ Z* _$ N/ a6 t
Contributed by Dick James
0 Y$ C# L8 z; j1 z
8 I! x5 ?& R9 B1 sUpdate (Oct 3rd) – Apple A7… and the Mystery of the Great SRAM Block3 C! t6 U* n  H
6 h7 F. B6 f( u, d6 X0 Q$ T
We said earlier that our floorplan was a best guess, and it was wise that we did – it appears that we got the L1 cache areas confused. Here’s the update:
7 f) q  m) l0 o7 r' j0 |
( q7 Q3 |, z6 B
6 o& L1 U+ M- G3 c, r0 ?
Apple A7 Processor Floorplan
: g" a% c$ `. n: s5 U: y
: G+ Z) E5 @1 l/ V1 X& ^' A/ ?
As you can see, we’ve revised what we think was the L1 cache, as a result of going in to look closer with the electron microscope (optical microscopy hasn’t had the power for several generations, and now we’re at 28-nm there’s no other way). Again, we haven’t done any real circuit extraction – that would take months – so it is feasible that the other SRAM blocks visible in the core could form a more distributed L1 cache.( O; d! h( g! \' g
: n9 s4 q) w9 l
As part of the examination, we’ve also confirmed that the minimum SRAM six-transistor cell size is ~0.12 μm^2. This was used in the L2 cache and that huge SRAM block above the GPU cores. The L1 cache actually uses a slightly larger, ~0.15 μm^2 cell size, confirming some of the Twitter conversations that we’ve been having (@ChipworksDick), but it still comes out at 256 KB.) K% X$ H% Q4 Y& V& x$ N

! h/ c- h2 v# GThe Mystery of the Great SRAM Block continues, although we’ve now had a closer look at the relative areas of the memory blocks and support circuitry, and we’ve now upped the size to 4MB. Discussion continues at EETimes (and no doubt elsewhere), with opinions divided as to whether the SRAM is an L3 cache or some sort of cache or buffer for the GPU. (The block is strategically positioned next to both the GPU and a DRAM interface.)7 E/ S, I% f5 [2 {& |

6 U7 g$ ]. V# e5 ~# b" l: uScorn was convincingly poured on my tentative theory that it might be used for fingerprint data, although I persist in believing Mr Ives in his video – if he says it’s stored in the A7, then I presume it’s stored in the A7.
) Z5 y* \. J  W- ]8 j
, y/ k8 `+ z0 a! wSince there’s no NVM module that I know of in any 28-nm process (other than one-time programmable memory), then that data has to be stored in SRAM somewhere on the chip, even if it’s a small block of SRAM.4 ?" G" z/ v0 f) ^9 Z

6 J# r( J& ^, [, a7 M: ^5 lThis is where Apple’s notorious reputation for un-reparability pays off. Since the battery cannot be removed, and the on-off switch just puts the phone into standby, then the phone is never off, the A7 is always powered, and so will be a dedicated block of SRAM. If the battery truly dies, my guess is that the fingerprint data will actually be lost.  Anyone want to try it?
" p7 C" M$ m0 L3 A/ b5 V& n9 |( \
- V7 k( G2 ?) lWe have also been looking at the packaging; Apple’s suppliers have redesigned the package-on package (PoP) stack that has been used since the original iPhone way back in 2007.  Specifically, the connections between the top memory package, and the lower section which houses the actual A7 chip have changed.4 H/ V# O; T& m4 r5 N$ ?! H

( a) z0 l) S: FHere we have the memory package from an iPhone 5:  o( A# I) c% p5 h
) e* K7 Z6 O( f$ z) Q2 N2 c

$ S2 t  Q* u: i4 z- \5 W1 b- w
Memory Package from the iPhone 5
% Z2 T% |7 g, G; V' y; c& F7 G
We are looking up at the bottom of the (top) memory part of the PoP. It’s a bit messy, because the solder balls have flowed a bit as we separated the two halves of the PoP.
( ~# r( ]$ j1 g5 J. x& ~+ C3 ?5 O, m
The thing to note is the two rows of solder balls around the periphery of the package, which have a pitch of 0.4 mm.  These are what connect the gigabyte of LPDDR2 memory in the top half of the PoP to the A6 chip itself.% O1 s, u8 h# [5 B5 F& L5 h

" C% ^! z: n8 `Now if we look at the A7 memory package:; T. s% W4 ]: C0 C
- X9 p" r8 K1 l( ^9 e" W& t$ Y. }
! X, K7 H" u& N( v1 j, ^  e
Memory Package from the iPhone 5s (A7)

# Q3 ?" O5 E$ `( rIt’s immediately obvious that we have three rows of interconnect, with many more connections. Close examination showed that the ball pitch is now 0.35 mm, which doesn’t appear much of a reduction, but is definitely of note to those in the business.
# ]9 ]8 P' m0 E$ x
! V, t5 q- N# i" u- q) k: i& jAnd, with three rows, we now have a solder ball count of 456, up from 272 in the A6. I make that a 68% increase.3 A2 f. b; f: t  f/ x, }  ]' H
6 Y* e9 W+ \. {" ^
Which leaves us with a question – if there’s still only a gigabyte of memory up top (albeit LPDDR3 instead of LPDDR2), and it’s still 2 x 32-bit interface, why do we need all that extra interconnect?
) o3 t" \. y1 K
( ]$ i! L4 Z4 g: T 8 x/ g/ g' J  D- J  q

$ r7 f# n7 N1 H2 a' X——————————————————————————————————————————-
+ f+ R  W- b* Z7 ?: t9 I' F
7 T3 ^+ X. o. }9 T7 W7 E- C2 x" z. FOriginal blog post (Sep 27th)
* d, |) h6 ?3 z) H/ Z, c$ p& ^. p, J0 Y& }- w% H, S
After a thorough teardown of Apple’s iPhone 5s last week, we now have the transistor-level pic of the A7 and we can start to unravel what’s in it. Below is our tentative analysis of the A7.4 C  |( n; f1 j9 O/ s& f

% @( t! w+ W' i- i0 N: m

5 N9 R- Z+ `- [, w
Apple A7 Processor Floorplan
& U3 _2 P4 y+ J1 h3 j/ ~. s3 \, o

+ z. Q! v; ~7 j* N
Top Metal       

  m1 e* K" [& X: d& J

! ?; o# X6 L6 m
X-Ray Package Top
9 S  H1 a% E- Q. y' J0 b

" d2 ]" F' G( L' m; x8 {9 i8 A4 c
a7 Chip layout2
+ U9 z- O* D& _4 ]& D3 B
0 _! L# y+ M+ G- P9 Q
We publish this with the caveat that these are best guesses – we have not done any real circuit extraction to confirm them. The dual-core CPU and cache make up ~17% of the die area, and the quad-core GPU and shared logic about 22%. The CPU itself is not packed the same way as the A6 (see below), it looks much more like a conventional automated layout; although Linley Gwennap thinks that it’s still Apple designed, not the first ARM A53/57 usage. There’s a great review of the A7’s capability over at AnandTech.$ ?0 X9 j0 N% i$ x( z) `  F

7 t( F* M" ^1 p/ O0 v/ G5 rWe know from our analysis of the 32 nm A6 chip that the 6 transistor SRAM cell area was ~0.15μm2, so if we shrink that, we can guesstimate the 28 nm 6T SRAM cell to be ~0.12 μm2. If we further allow a conservative 40%-50% utilization to allow for the row and column circuitry, then we get densities of ~1 MB for the L2 cache, and ~256 KB for the L1 cache.  h8 t( x) p& |8 k( ^- Y
* w" u' Z* ?* y: t4 w
When we look at the GPU, Anand also makes a convincing argument that the GPU is the four cluster version of Imagination’s PowerVR Series 6, the G6430.
* T! y4 E. {& {! Z  o0 W
( x, c) P( {  f' z9 h$ C
8 D- E: h" f+ {( g& G* k! Y' Y
One thing we haven’t identified is the memory block used for the data from the fingerprint sensor – Jony Ives, in his video about the sensor, clearly states that the information is stored securely in the A7 and emphasized it with this shot below.) N6 H" k! U4 u- _! }3 l' C; u9 x
: J, ~. {/ Q0 C
Apple A7
- [2 h# O5 R& ]$ D- U! ^; z( h. e6 L7 y
One wonders if that huge block of SRAM (we make it ~3 MB) above the GPU cluster has anything to do with that . . .
& A, q0 P' B8 M' C2 o- O4 o& d* Y. X. S& b) }! c- Y% R
Actually, if we compare it with the A6, that may not be such a stupid idea – there is no comparable block that I can see in there. I wouldn’t have thought that a fingerprint scan would create that much data, but given that multiple scans have to be stored, and in any orientation, maybe that much storage is needed. One thing we do know is that it’s the biggest fingerprint sensor that we’ve seen so far, coming in at ~39 mm2.$ n& B8 t2 O/ @9 k0 ]- y
) G+ R' K4 r8 S+ j
Another thing we can say is that the USB, LCD, and camera interfaces are the same as we’ve seen in the A5, A6, and A6X.; ^6 S: o6 y# K$ y( ^9 i

% j4 m- Q8 H- Z. R3 _" M

1 d$ K2 j% C3 n6 Q/ Y' S
Apple A6 Processor Floorplan
) s! z% M- d& A# x
More on the fingerprint scanner in another blog; and we’ll undoubtedly be doing a Functional Analysis Report on the A7, so stay tuned.
作者: pjh02032121    时间: 2014-3-25 08:39
A7 Crossection
5 P; _; V& [+ `7 u+ B4 G% `+ O& E
8 p7 [* o* v7 z# A- a# \! T- u

7 q1 _* B. F/ ^" g% E' w4 y. l5 o5 U6 [3 N5 J' u





欢迎光临 EDA365电子工程师网 (https://bbs.elecnest.cn/) Powered by Discuz! X3.2