<<

IEEE 2007 Custom Intergrated Circuits Conference (CICC) Reverseinthe RandyTorranceandDickJames ChipworksInc. 3685Richmond,Ottawa,Ontario,CanadaK2H5B7 Email:[email protected] , [email protected] Abstract – The intent of this paper is to give an overview of REINTHESEMICONDUCTORINDUSTRY the place of reverse engineering (RE) in the semiconductor indus- try, and the techniques used to obtain information from semicon- Thequestionmostaskedaboutreverseengineeringis“Isit ductor products. legal?”Theshortansweris–yes!Inthecaseofsemiconduc The continuous drive of Moore’s law to increase the integra- tors, RE is protected in the US by the Semiconductor Chip tion level of chips has presented major challenges to the Protection Act, which allows it “for thepurposeofteaching, reverse engineer, obsolescing simple teardowns and demanding the adopted of new and more sophisticated to analyse analyzing,orevaluatingtheconceptsortechniquesembodied chips. inthemaskorcircuitry…”.Thereissimilarlegislation This trend is continuing; the 2006 update of the International in,theEuropeanUnion,andotherjurisdictions. Technology Roadmap for is predicting the Inthesemiconductorbusiness,REcustomersfallintotwo shrinkage of gates from the current 65-nm generation groups;thosewhoareinterestedintechnicalinformation,and to 16 nm at the turn of the decade, and the usage of over 1.5 bil- those that are interested in patentrelated information. The lion in high-volume chips. technical information customers are usually within manufac The paper covers product teardowns, and discusses the tech- turingcompanies,performingproductdevelopment,orstrate niques used for system-level analysis, both hardware and soft- ware; circuit extraction, taking the chip down to the transistor gicorbenchmarkingstudies.Thepatentclientsare level and working back up through the interconnects to create usually patent lawyers, or intellectual property (IP) groups schematics; and process analysis, looking at how a chip is made, within companies. There are also companies that are purely and what it is made of. Examples are also given of each type of licensingcompanies,anddealonlyinIP. RE. Types of RE INTRODUCTION Reverseengineeringofsemiconductorbasedproductscan broadlytakeseveralforms: Oneofthemostbasicbusinessrequirementsistheneedto • Productteardowns–identifytheproduct,package,in know what the competitionisdoing.Ifacompanywantsto ternalboards,andcomponents getintoanewareaofbusiness,thesimplestthingtodoisto • Systemlevelanalysis–analyseoperations,signalpaths, buytheexistingproductandtakeitaparttoseewhatisinside andinterconnections it.Havingdonethat,weknowthepartslistinvolved,andthe • Circuitextraction–delayertotransistorlevel,thenex technologicalchallengestobefacedinthenew tract interconnections and components to create sche version. matics Reverseengineering(RE)cancoverobjectsfromaslarge • Processanalysis–examinethestructureandmaterials asaircraftdowntothesmallestmicrochip,andthemotivations toseehowitismanufactured,andwhatitismadeof. havevariedfromtheparanoiaoftheColdWar,throughcom mercialpiracy,tocompetitiveintelligence,andcourtsofpat PRODUCTTEARDOWNS ent law. If we look back over the last few decades, reverse Productteardowns arethesimplesttypeofREintheelec engineersaroundtheworldhavehadasignificantinfluenceon tronicsarena;theunitissimplydisassembled,theboardsand thedisseminationoftechnologyintheindustry. subassemblies are photographed, and the components are REisnowarecognisedpartofthecompetitiveintelligence inventoried.Reverseengineersareusuallyonlyinterestedin field,andiscommonlyusedtobenchmarkproductsandsup whatcomponentsareinthedeviceatthislevel,butthereare portpatentlicensingactivities.AsideareaistheneedtoRE alsocompaniesthatusethedatatoprovideabillofmaterials archaicpartsthathavegoneoutof,andneedreplacing andtentativecostingforthemanufacture. inlonglivedequipmentsuchasmilitarysystems,nuclearreac Figure1showsanApple8GBiPodnanopersonalmedia tors,airliners,andships. player partly torn down to expose the internal boardandthe Afactoflifethesedaysisthatsimpleteardownsofprod ICsused[1].Opticalandxrayanalysis(Fig.2)showedthat ucts are just not goodenoughanymore.Advancesinsemi the 64Gb Flash memories were actually 2 x 32Gb stacked conductor technology, namely the massive integration of bil packages, each containing four 8Gb dice (total 64 Gb). In lionsofindividualdevices,andmassesoffunctions,intosin this case, we continued with detailedprocessanalysesofthe gle components, have forced REtoevolveintoaspecialised nicheoftheengineeringprofession.

1-4244-1623-X/07/$25.00 ©2007 IEEE 15-5-1 429 SST 8 Mb multi- purpose NOR Flash

National step-down a) switching regulator

Qimonda 256 Mb SDR extended temp mobile DRAM Apple (Wolfson?) audio CODEC – fabbed by TI

Samsung S5L8701 ARM core DSP Linear Technology USB + Flash controller power manager

b) 32 Gb (x2) multi- level cell NAND

or

Samsung 64 Gb dual-stack package, multi-level cell Fig.2.Opticalandxrayimagesof64GbFlashdevices NAND Flash memory

Apple ( PCF50635) power manager

Fig.1.PartialteardownofApple8GBiPodNano:a)topsideb)lowerside

8GbFlashchips,sincetheywereleadingedgedevicesfrom SamsungandToshiba. SYSTEMLEVELANALYSIS Asthereisahugevariationinelectronicsystems,thereis alsoavarietyofmethodsforsystemanalysis.Electronicsys temscanconsistofhardware,software,firmware,communica tions,transducers,etc.Systemanalysiscanbeusedforanyof these. Hardware Hardware analysis takes one of two forms: reverse engi neeringorfunctionalanalysis. Reverse engineering is a hierarchical analysis method. Taketheexampleofacellphone.Thefirstphaseofreverse engineering is to teardown the phone, making notes of all connectionsbetweensubsystems.Next,themainboardisre verse engineered. Photos are taken of the board for future work. All components ontheboardarecatalogued,andthen selectively removed. If the board is multilayered, it can be delayered and imaged (Fig. 3). The connections between all components are then identified and entered into the board Fig.3.DelayeredninelayerPCBfromcellphone schematic.Alternatively,electricalprobingcansometimesbe

15-5-2 430 Software Aswithhardware,softwarecanbeanalyzedusingthesame twotechniques;reverseengineeringandfunctionalanalysis. Softwarereverseengineeringistheprocessoftakingma chinecodeandconvertingitbackintohumanreadableform. Thefirsttaskistypicallyextractionofembeddedcodefroma memory. Many techniques are available, such as EEPROM programmers, bus monitoring during code upload, and hard wareRE.Encryptedcodewillrequireencryptionanalysis,and decryption.Followingthis,disassemblerscanbeusedaslong astheprocessorandinstructionsetareknown.Toolsarethen available to help take assembly code and structure it into a moreClikeformat.Thisstructuredcodecanthenbeanalyzed bysoftwareexperts. Software functional analysis is similar to hardware func tionalanalysis.Testcasesaredesigned,stimulusiscreated,the codecanbeinstrumented,andthesoftwarerun.Theoutputsof thiscodecantakemanyforms,fromcreatingchartsordriving aGUI,tocontrollingarobotorplayingasong.Theseoutputs canbeanalyzedtobetterunderstandthesoftwareorsystem. CIRCUITEXTRACTION Circuitextractionofsemiconductorchipsbecomesincreas ingly more difficult with each new generation. In the “good olddays”of1020yearsagoacircuitanalyst’slifewasmuch simpler.AtypicalICofthosedaysmayhavehadonelayerof metal,andused12mtechnology.Afterpackageremoval,all featurescouldusuallybeseenfromthetoplevelmetalplanar view. Thediecouldthenbeputunderopticalimagingequipment inordertotakemultiplehighmagnificationimages.Thepho tographs were developed and taped together in an array to recreateanimageofthechip.Engineersthenusedthe“crawl aroundonthefloor”technique(Fig.5),wheretheyannotated the wires and transistors. This was followed by out theschematicfirstonpaper,theninaschematiceditor. Fig.4.ProbingaSandiskSDmemorycardforfunctionalanalysis Lifehaschangedsincethosedays.Thecomplexityofde usedtofindtheconnections.Eitherway,acompleteschematic vices has followed Moore’s law, and we are now extracting oftheboardcanberecreated. circuitsfrom65nmchips.Moreover,thesedevicesnowhave Functional analysis consists of system monitoring during functional operation. A system can be instrumented with probeswhereverneeded(sometimeswithgreatdifficulty,but itcanusuallybedone,asshowninFig.4).Microprobingcan beusedtomonitoronchipsignals.Testcasesmustbedevel oped,andthestimuluscreatedforoperatingthesysteminits functional modes. Signal generators, logic analyzers, and os cilloscopesareusedtodrivethesystemandcollecttheresults. Thesignals,andfullsystem,arethenanalyzed.Usingthecell phone example once again, the phone can be partially disas sembled,butstillelectricallyconnectedtoallowforoperation. Probes can be used to monitor key buses, pins ofchips,and connectors.Thephonecanthenbeoperated,andthe signals analyzedtounderstandtheoperation.

Fig.5.AsREusedtobedone!

15-5-3 431 up to 12 layers ofmetal,anduseanesotericcombinationof materials to create both the conductors and dielectrics, e.g. [2,3].Theymayhavehundredsofmillionsoflogicgates,plus hugeanalog,RF,memory,andothermacrocellareas.MEMs, inductors,andotherdevicesarealsobeingintegratedonchip. Thecircuitextractionflowproceedsasfollows: • Package removal (known in the industry as device ‘depot’) • Delayering • Imaging • Annotation • Schematicreadback • Analysis Device Depot Depot may well be the only step of the process that still Fig.7.SEMcrosssectionof65nmTIbasebandchipforNokia follows the traditional methods. Typically, packages are • Metalthicknessesrangedfrom0.15to1.4m etched off in a corrosive acid solution (Fig. 6). A variety of • Dielectricsincludedsiliconnitride,oxynitride,oxide, acidsatvarioustemperaturesareuseddependingonthecom SiOC,SiONC,andPSG position and size of the particular package. These solutions Dielectricthicknessesvariedfrom~0.3to2.6m(within dissolveawaythepackagingmaterial,butdonotdamagethe dividual layers of particular materialsasthinas47nm),and die. gateoxidewas2.2nmthick.

Fig.6.Intotheacidbath,mypretty!

Hermetic and packages require different tech niquesthatusuallyinvolvemechanicalorthermaltreatmentto remove lids, or dice from substrates, or even polish away a ceramicsubstrate. Device Delayering Modernsemiconductordevicesrangefrom1.0msingle metalbipolarchips,through0.35mBiCMOSDiffusedMOS (BCDMOS) chips, to 65nm 12metal , and everythinginbetween. Both aluminum and can be used for metal on the samechip.Dependingontheprocessgeneration,thepolysili con gates andthesource/drainscanusedifferentsilicides.A varietyoflowKdielectricsarenowinterspersedwithfluoro silicate glass (FSG), phosphosilicate glass (PSG), and SiO 2. Layer thicknesses vary greatly. For instance, on a 7metal 65nmTexasInstruments(TI)[4]basebandprocessorchipwe recentlyanalyzed(Fig.7),wefound: • InterconnectlayersincludedCu,Al,TiN,andTaN Fig.8.Optical(top)andSEMimagesof130nmTIOMAP1510

15-5-4 432 Adelayeringlabneedstocreateasinglesampleofthede viceateachmetallayer,andatthepolysilicontransistorgate level.Assuch,itneedstoaccuratelystripoffeachlayer,one atatime,whilekeepingthesurfaceplanar.Thisrequiresde tailedrecipesforremovalofeachlayer.Theserecipesinclude a combination of methods such as plasma (dry) etching, wet etching, and polishing. As the complexity and variation of chipsincreases,sotoodoesthenumberofrecipes.Amodern chipdelayering lab would now have over a hundred such recipes,specifictodifferentprocessesandmaterials. Forunknownorunusualchips,itisadvisabletostartwith a crosssection (Fig. 7). The crosssection can be analyzed using scanning electron (SEM), transmission electron microscopes (TEM), and other techniques to deter minethecompositionandthicknessofallthelayers.Adelay ering technician can now use this information to choose the bestdelayeringrecipeforachip.Therecipealso varies de Fig.9.Simultaneouswindowsshowingimagesofthreemetallayersand pendingonthetypeofimagingtobeperformed.Opticalimag polysiliconlayer ing looks best if the transparent dielectric is left on overthe layertobeimaged.SEM,duetoitsoperatingmethodologyof electronreflectionfromanonplanarsurface,requiresthedi electrictoberemoved. Imaging AdvancedRElabscurrentlyusetwotypesofimaging,op ticalandSEM.Uptoandincludingthe0.25mgenerationof semiconductorchips,opticalimagingwassufficient.However, for0.18mandsmaller,opticalimagingcannot resolvethesmallestfeatures,andSEMmustbeused(Fig.8). Thesizeofchips,andthelargemagnificationsrequiredfor theadvancedfeaturesizes,nowmeansthatmanuallyshooting imagesisnolongerpractical.Imagingsystemsnowmusthave automated steppers combined with the . Ourtwo dimensionalsteppersallowustosetupashootintheevening, andcomebackinthemorningtofindtheentirelayerimaged. Next we use specially developed software to stitch the Fig.10.ImageannotatedusingDAWworkstation thousands of images per layer together with minimal spatial error.Thenmoresoftwareisrequiredtosynchronizethemul tiple layers so that there is no misalignment between layers. Annotation Contactsandviasmustbelinedupwiththelayersaboveand Onceallimagesarestitchedandaligned,theactualwork belowinorderforextractiontoproceed. of reading back the circuit begins. Full circuit extraction re quires taking note of all transistors, capacitors, , and

Fig.11.AutomatedfeatureextractionfromSEMimages

15-5-5 433 othercomponents,allinterconnectlayers,andallcontactsand on a schematic, or a strange hierarchy, can make the vias.Thiscanbedonemanually,orusingautomation. verydifficulttounderstand.Hencethissteprequiresveryex Therearemultipletoolsavailabletohelpwiththisprocess, periencedanalysts. including Chipworks’ Design Analysis Workstation, (DAW). Thistoolallowsseverallayersofachiptobevisibleinmulti Analysis plewindowssimultaneously(Fig.9).Eachwindowshowsthe Theanalysisphaseisveryiterativewiththeschematicen same twodimensional area in each layer. A lockstep cursor tryphase.Manyinputscanbeusedtohelpanalyzeandorgan (theintersectionoftheredlinesinFig.9)allowstheengineer ize the schematics. Often public information is available for toseeexactlywhatliesaboveorbelowthefeatureheislook devices. This can take the form of marketing information, ingatinonelayer. datasheets,technicalpapers,orpatents,forexample[5].These The extraction engineer can then use the tooltoannotate canoftenhelpwiththeschematic,forinstanceif andnumberallwiresanddevicesinhisareaofinterest(Fig. block diagrams are available. They can also help understand 10). 2D and 3D image recognition and processing software architecturesandsometimescircuit. canbeused(Fig.11),ortheengineermaydoitmanually.Im Analysiscanalsobedoneusingtypicalchipdesigntech age recognition software can also be used to recognize stan niques. A circuit can be handanalyzed using transistor and dardcellsindigitallogic.Thiscangreatlyaidtheextractionof logictheory.Layoutstructuresareoftenrecognizable,forin largeblocksofdigitalcells.Annotationonmultiplelayerscan stance differential pairs, bipolar devices for bandgap refer onlybeextractedifthelayersarealigned. ences,etc.Hierarchycanalsosometimesbeseeninthelayout. Ifnot,itcanbecreatedusingabottomupschematiccapture Schematic Read-Back approach.Functionalandtiminganalysiscanbefurthervali Followingthecompletionoftheannotation,thecircuitcan datedusingsimulation.Multiplemethodsareusuallyusedasa nowbeextracted.Aschematicisreadbackbyfollowingthe formofverification. wire and device annotations on the images. This stepcanbe The final product of circuit reverse engineering can take donebyanexperiencedreverseengineer,orcanbeautomated. multipleforms.Acompletesetofhierarchicalschematicscan Thisisoneofthestepsrequiringthemostthought,since bedelivered.Thissetofschematicscanbeusedtoalsocreate theschematicorganizationonapage,orinhierarchy,goesa a hierarchical netlist. Simulated waveforms, block diagrams, longwaytomakingadesigncoherent.Devicesplacedpoorly timingdiagrams,analysisdiscussion,andcircuitequationscan

a) VDD b) VDD

Reset T2 Reset T1 SourceFollower SourceFollower floating T3 RowSelect T2 diffusion RowSelect Transfer T1 ColumnOut T4 ColumnOut T3 Photodiode

VDD VDD c) VDD VDD d)

Reset Reset T3 T2 Source Follower T3 T4 Row Select SF RowSelect

Transfer Transfer Transfer T6 Transfer T7 Transfer T5 Transfer T1 ColumnOut T1 T2 T5 Column Out T4

Fig.12Pixelschematics:a)early3Tpixelb)4Tpixelc)2.5Tpixeld)1.75Tpixel

15-5-6 434 beusedtoroundoutthereport. workingtransistors,resistorsetc.,inthesiliconchip. Since RE companies analyze so many ICs, they can also LookingatFig.14,weseeaplanviewimageofpartofthe createcomparativeandtrendreports.Forinstance,Chipworks pixel array, showing the transfer transistor (T1), andtheT2 has analyzed many CMOS image over the years. As resettransistorandT3sourcefollowertransistors,comprising thetechnologyandcircuitdesignsevolvetheyaremonitored. the threetransistor pixel circuit (see Fig. 12a)). The short Theevolutioncanbeshownfrombothaprocesspointofview, blacklineinthecentreoftheimagerepresentsametal1strap andacircuitpointofview(Fig.12). joiningthefloatingdiffusion(FD),betweenT1andT2,tothe gateofT3. PROCESSANALYSIS Process analysis of chips is in some ways more straight forward, since microanalytical tools have been around for some while. Every wafer fab has a range of equipment for processcontrolandfailureanalysis,andweusethelabscale equivalent. Using a DCRDVD505 Handycam as an example,wewereinterestedintheCMOSimageinthe . Weremovedthecameramodulefromtheunitandtookit apart,recordingthedetailsaswego,andfinallyendupwith the CMOS imager die (Figure 13), which turns out to be a SonyClearvidIMX013chip. Thenwegetintotheactualchipanalysis.Thispartwasa fairly leadingedge sensor, with a small pixel sizeof2.85x 2.85m,sotheemphasiswasonadetailedexaminationofthe pixel.Figs.1417showsomeofthefeaturesseeninthepixel area. When performing process analysis, planview imaging gives limited process information, so the primary source of Fig.14.PlanviewSEMofpixelsatthepolysiliconlevel dataiscrosssectionalanalysis,usuallyusingSEM,TEM,and ScanningCapacitanceMicroscopy(SCM).Fordetailsofthe Fig. 15 shows a crosssection of the pixel structure, chemical composition, the most commonly used technique is illustrating the organic and nitride lenses, and the colour fil energydispersivexrayanalysis,althoughoccasionallyweuse ters,threelayersofcoppermetallizationinthearray,andthe other methods such as secondary ion mass spectrometry, or T3transistorsonthesubstrate.Thereisalsoafourthalumin Augeranalysis. iummetallayer,notshowninthissection,usedforbondpads andasalightshield(thewhitebarsinthediephotographin AfewwordsofexplanationherewithrespecttoFigures16 o and17–TEMlooks throughthesampletogivehighresolu Fig.12).The28 angleofacceptanceisalsoshown. tionimagesofthedevicestructure;andSCMisawayofsee Fig.16isaTEMimageofthetransfertransistorgate,and ingthepositiveandnegativedopingthatmakesuptheactual itisclearthatthenitridelayerusedforthesidewallspacerhas onlybeenpartiallyetchedoffthetopofthegate;theresidual

Fig.13.DisassemblyofCMOSimagesensorfromcameramodule Fig.15.CrosssectionalSEMofpixels

15-5-7 435 Fig.16.TEMcrosssectionofpixeltransfertransistor nitride on the photocathode (left) side has been used as an Fig.17SCMcrosssectionofpixels antireflective(AR)layerinthephotocathodearea. ThedopingstructureofthepixelsisillustratedintheSCM As is shown in this paper, the RE business has to keep imageinFig.17.Chemicalstaininghasbeenusedfordecades evolvingtokeepupwiththechangesinelectronicsanddesign, to highlight the doped areas in silicon, but even after many andithasbecomeadisciplineinitselfcreatedbytheneedsof years of experiment, it is still more of an art than a science. theglobalmarketforcompetitiveintelligenceandIPsupport. ThedevelopmentoftheSCMallowsustodistinguishfeatures ACKNOWLEDGMENTS such as the ppinning layer above the photocathode, and the floatingdiffusion,moreclearly.Thedeeperblueareasarethe WewouldliketothankChipworks’laboratorystaffandengi PtypeisolationregionsintheNsubstrate. neers who actually do all the hard work of analyzing these Therearetwoparalleltrendsinsemiconductorprocessing; complexdevices.Withoutthem,wewouldhavenomaterial thereisthewellpublicizedMoore’slawshrinkageofdimen forthispaper! sions,movingtothe45nmnodeandbelow,withtheintroduc tion of highk/metalgate transistors; and there is a drive to REFERENCES more process integration as RF/mixed signal and embedded [1] D. James, “A Case Study: Looking inside Apple’s memoryprocessesaremergedintoCMOSlogicprocesses. iPODnano–aTeardowntotheAtomicScale”tbp, As can be imagined, examining features deep into the Electronics(UKmagazine),2007 nanometer scale (gate oxides are now 1.2 – 1.5 nm thick) [2] H.Niietal.,“A45nmHighPerformanceBulkLogic stretchesanalyticalcapabilitiestothelimits.Theycanbeim Platform Technology (CMOS6) using Ultra High aged with highresolution electron microscopy, but obtaining NA(1.07)ImmersionLithographywithHybridDual detailsofthechemicalcompositionofthestructureisnowin Damascene Structure and Porous Lowk BEOL”, therealmofcountingatoms [6,7]. IEDM2006TechnicalDigest,pp.685688. SimilarlytotheotherformsofRE,ourfinaldocumentscan takeseveralforms,fromreportsspecificallyfocusedonafea [3] S. Narasimha et al., “High Performance 45nm SOI turedescribedinapatentclaim,tocomprehensivereportsde Technology with Enhanced Strain, Porous Lowk tailing the full structural and process analysis of a highend BEOL, and Immersion Lithography”, IEDM 2006 chip.Italldependsonwhatthecustomerwants! TechnicalDigest,pp.689692.

SUMMARY [4] A.Chatterjeeetal.,“A65nmCMOSTechnologyfor MobileandDigitalSignalProcessingApplications”, In this paper we have reviewed the different types of IEDM2004TechnicalDigest,pp.665668. reverse engineering pertinent to the semiconductor industry.

Forreverseengineers,lifewillnotgetanyeasierintheelec [5] Cho,KwangBoetal.,“A1/2.5inch8.Mpixel tronicsbusiness.Insemiconductors,thenextchallengewillbe CMOSImageSensorforDigital”,ISSCC the45nmnodedevicesalreadybeingrampedupindevelop Dig.Tech.Papers,pp.508509,February2007. mentfabs.Theconsumerelectronicsbusinesskeepsbouncing [6] 2005ITRS,Metrologysection fromnewtoyetanothernewtoy,anditisnecessarytobe [7] V. Vartanian et al.,“MetrologyChallengesfor45nm awareofallthenewproductsthatkeepappearing. StrainedSi Devices”,2005InternationalConference on Characterization and Metrology for ULSI Tech nology

15-5-8 436