Google-apper
Hovedmeny

Post a Comment On: Ken Shirriff's blog

"Examining a vintage RAM chip, I find a counterfeit with an entirely different die inside"

27 Comments -

1 – 27 of 27
Blogger Carl Claunch said...

Another fascinating post

August 21, 2017 at 11:48 AM

Anonymous tzg6sa said...

Very interesting article. I enjoyed reading it.
A few notes to the article:
Why does a shift register take smaller space than a counter? A counter -regardless whether it is synchronous or asynchronous - needs N D-flip-flops, just as a shift register.
It is unfortunate to say the two tones were mixed together, since mixing is already a terminus technicus. In the case of DTMF we just add or superimpose them.
In the transistor cross-section, the guard-ring connected to ground should be in the p-well, since this sets its voltage. It still helps in isolation since the p-well is connected to a low-ohmic (~ideal) ground. Though it does not isolates from latchup. Double guard rings would be needed for that. The first series of CMOS chips were well-known prune to latch-up.

August 21, 2017 at 11:52 AM

Blogger Ken Shirriff said...

tzg6sa: thanks for your detailed comments. The shift register is smaller than a counter because it is dynamic, built with pass transistors. Each stage consists of two inverters and two pass-transistor pairs. On the other hand, each D flip flop for a counter will typically require 6 gates.

I don't understand your objection to "mixing", as that's the word for combining audio signals.

Your comment that the guard ring should be in the p-well makes sense and would explain a lot. Looking at the die photo, though, there's clearly a well with a ring outside it. Unless there's some invisible doping (which I can't rule out), I can't get the photo to match up with the ring inside the well. I'm not too happy with my explanation of the guard ring, so hopefully you're right on this.

August 21, 2017 at 12:25 PM

Anonymous tzg6sa said...

Hi Ken,

I call the shifter register unit you described as latch. It has a transparent and a latched state, which is chosen by the control input. A D-flip-flop is essentially two latches after each other with different control input. If the shift register is built from such latches than it needs some tricky sequential transparency control (only one bitcell is transparent) for their control input to avoid making consecutive latches transparent at the same time. That's why DFFs are used in LFSRs as well. It solves this timing issue in a simple and elegant way. Do you or maybe Robert have a schematic for the chip? (I have not found it on the project website) I would like to look at this, because it sounds like an interesting trick, if it works.

I see now why you used the word mixing. It is used when you add sounds together. In my background which is electrical engineering mixing two sinusoids always meant frequency translation. Since you do not have sounds, but just two bare sinusoids, I think that mixing might not be the best word there.

The guard ring should use the same highly doped p+ diffusion what is used in the pmos source/drain. It will ensure a good contact between the metal and the well. There is no need to add one more technology step. So if you see anything more than the edge of the p-well and a diffusion next to the edge, then something tricky is going on there.

Best regards,
Zoltan

August 21, 2017 at 2:30 PM

Blogger Ken Shirriff said...

Hi Zoltan! If you connect the two inverters in a loop, this will make the latch you describe. But in the shift register they are all connected linearly. A two-phase clock controls the pass transistors so there's no transparency. There's a more detailed explanation of the dynamic shift register here (although NMOS not CMOS).

I've sketched out parts of the chip but haven't made a schematic since it would be time-consuming. I've described in the article the parts I thought were most interesting; most of the rest is pretty much what you'd expect based on the block diagram.

Here's a link to the die photo of one of the P-wells. The well continues downward; I cropped it. The "outside" of the photo is the N region. You can see the narrow guard ring; the black spots on the top sides are connections to the ground metal. Inside the guard ring is the P-well, with various transistors inside it. Outside-in, you see N-silicon, guard ring, small gap, P-well. If the guard ring is inside the P-well, then I'm not sure what the small gap would be.

Best regards, Ken

August 21, 2017 at 3:11 PM

Anonymous Anonymous said...

Why do you think the 74LS189 was being counterfeited?
It was the touch tone chip being counterfeited, and disguised as a 74LS189. The buyer knew the ruse.

August 21, 2017 at 4:07 PM

Blogger . said...

This is an amazing article/observation you published.

August 21, 2017 at 7:07 PM

Blogger Jerry Davis said...

Yes, this was a very interesting article. I am not an engineer, but my reading comprehension is excellent. I was fascinated by the effort it took to create the fake, and by the effort the writer put into reverse-engineering and documenting his findings.

I still wonder if this chip had another application unknown to us. Every time a military plane crashes (or a Navy ship is rammed in Asia), I wonder about those counterfeit chips floating around in inventory.

Nice work.

August 21, 2017 at 8:05 PM

Blogger Nerd Progre said...

Excellent. what king of equipment is needed to take such photos? xray?

August 21, 2017 at 9:11 PM

Blogger Ken Shirriff said...

Nerd Progre: These photos were taken by Robert Baruch with a metallurgical microscope. It's like a normal microscope except the light shines down through the lens, rather than from underneath. I wrote an article explaining how I take a bunch of photos and then stitch them together into a high-resolution die image.

August 21, 2017 at 9:30 PM

Anonymous Ryan said...

This really makes me wonder about what chips are stuck inside devices that we buy that are really 'sleeper' circuuts designed to do mischievous things. But these old chipsets, but in today's devices where data has become so essential. I wonder if they could be used to siphon data off??

August 22, 2017 at 7:39 AM

Blogger Unknown said...

I'm just wondering, did TI ever make the DTMFchip, possibly for someone else and the chip is just an original mislabeled chip? Or is there no explanation other than it being counterfit on purpose?

August 22, 2017 at 5:10 PM

Blogger Ragooman's Hack said...

regarding the eb@y auctions of fake chips from china. Wondering if anyone else saw this.
That the cause of the fake parts, which has been a hot topic for many years, is the result of the mistaken identification of components. Since the wearing and fading of the ink of the part# results from 35+yr old parts while sitting in hot warehouses, and also from just cleaning the parts.

Most of the parts are marked correctly,and they apparently used fake datecodes to distinguish the re-stamped parts. Presumably they acquired all of these computers from the sales during liquidation or simply just e-waste shipped overseas.

Some of the part suppliers in the article, who buy these parts by the thousands directly from these sellers iso eb@y, vouch for theses sources.

article is on pg.16
https://issuu.com/kilobytemagazine/docs/kilobytemagazine2017-1
you can also download the pdf directly from them without needing an acct from that other website
https://drive.google.com/file/d/0B2TI_Wdty1HdejVCNEhvQjRtWFU/view
Dan

August 23, 2017 at 6:07 AM

Blogger Aardvark said...

I remember playing with TTL logic back when I was a kid in the 70's. I built a Nixie tube counter from a schematic using a 7490 decade counter, 7475 latch and 7441 BCD to decimal Nixie driver. I remember the 7489 IC's were quite expensive then and I see they still command a premium for a 40+ year old technology.

As for the color burst crystals, it is amazing how many devices still use the 3.579MHz frequency. NTSC has been dead eight years now but that frequency standard will probably live on even longer than NTSC color did!

August 23, 2017 at 6:33 AM

Blogger JaY said...

great read.. thanks

August 23, 2017 at 11:20 AM

Blogger w5ego said...

The photomicrographs were taken using incident light, yes, probably using Differential Interference Contrast as a lighting technique. The Reichert 2560 is one of the microscopes used to get images of on-chip circuitry. I have one, and love it.

http://www.seattlenano.org/uploads/8/4/1/1/84111710/metallographic-microscope.jpg

August 23, 2017 at 7:56 PM

Blogger w5ego said...

The photomicrographs were taken using incident light, yes, probably using Differential Interference Contrast as a lighting technique. The Reichert 2560 is one of the microscopes used to get images of on-chip circuitry. I have one, and love it.

http://www.seattlenano.org/uploads/8/4/1/1/84111710/metallographic-microscope.jpg

August 23, 2017 at 7:56 PM

Anonymous Anonymous said...

I worked at TI in the mid 70's. For a time, defective die & wafers were scrapped w/o concern where they ended up. It was discovered that some of these dies & wafers were "scrounged" from the trash and packaged/sold by third parties. So we started marking the individual die w/ unique markers. this topic was also covered here: https://www.researchgate.net/publication/301317714_A_Survey_on_Chip_to_System_Reverse_Engineering

August 23, 2017 at 8:00 PM

Anonymous Anonymous said...

The author posited, "Why would someone go to the effort of creating counterfeit memory chips that couldn't possibly work? The 74LS189 is a fairly obscure part, so I wouldn't have expected counterfeiting it to be worth the effort. "

I would think the most logical explanation for this chip was not that someone went through the trouble of trying to pass off one chip for another, but rather that the manufacturing process simply put the wrong label on the chip. That would seem to me way more plausible than some kind of intentional subterfuge for a low demand chip in the first place.

August 24, 2017 at 8:19 AM

Blogger Aardvark said...

I was thinking pretty much the same thing. A cursory Google search shows no real price difference between an MK5089 and a 74LS189. Unless someone got a fantastic deal on MK5089's for a few pennies each, the effort to change the labeling seems hardly worth it. As I noted in my post above, I recall back in the 70's the older 7489 64-bit RAM was expensive even then and now the 7489/74189 chips are still a bit more expensive then most other members of the 74xx family (price exceptions like the 7441/74141 still exist of course). I see even the old 7447 BCD to 7 segment decoder is quite cheap now. I recall it took two months allowance to buy the 7490, 7475 and 7441 chips along with other parts at Radio Shack.

August 24, 2017 at 8:41 AM

Anonymous Anonymous said...

Ken,
I really enjoy your reading your blog. The clarity of images and explanations you do are Excellent. Brings back memories of dtl, pmos, nmos, cml, LPS logic and so on.

I worked at Ti in the early 80's in test engineering. I did not work on this particular family though. A couple of comments.

- I occasionally saw chips that were incorrectly labeled by our own assembly, but only our own chips.
- I also saw chips that were incorrectly labelled by contract assembly.
- These were other manufacturers chips in the exact same package as ours and symbolized with the TI logo etc.. but obviously they failed final testing. We would use xray and or decap the parts to figure out what was going on. Then ship them back..

I cant speak for TI but struggle to see how this sort of stuff would be shipped by TI. We would always test after completion of symbolization and obviously no way would these have passed. They would have been scrapped. Any scrap wafers, die or package parts were pulverized to dust and went into a recycle process. Even contract assembly had to return all unused and/or red ink die back to us for the same recycling.
I suspect a counterfeit operation.

August 24, 2017 at 1:56 PM

Blogger Carl Claunch said...

even if the two parts have equivalent market prices, the volume demand for the DTMF chip is miniscule compared to the TTL logic part. If you bought a pile of DTMF chips and couldn't sell them, the equivalent price is illusory. Change them to something that will move and money is generated.

August 24, 2017 at 7:42 PM

Anonymous Geoffrey Hunter said...

I'm impressed the the attention to detail and knowledge required to do this reverse engineering! As an embedded engineer who uses ICs all the time but doesn't really understand how the internals work (or the history behind them), this was very insightful. Thank you!

August 30, 2017 at 5:07 PM

Anonymous Anonymous said...

Excellent work. The clarity of explanations and detail provided is much appreciated.

September 4, 2017 at 1:45 AM

Blogger Unknown said...

I literally just got my "74LS189" in the mail today, and it didn't work, and just got really hot. So I extracted the die and examined it under a microscope aaannnd: this look familiar (Sry bad quality pic) http://oi66.tinypic.com/334nsx4.jpg it's the exact same counterfeit chip

November 7, 2017 at 5:00 PM

Blogger --- said...

Ken, this is probably just a junk counterfeit, never meant to work - just to get some money from people not bothered to waste time on small amounts (if I somehow got, say, $25 worth of chips at work that were duds, I wouldn't waste my time dealing with the return - it'd cost more than reordering the chips from another source). The marking seems to be laser-engraved, so a bit too new for the DTMF patent battles, but perhaps this is just a dodgy re-mark of chips whose original marking was the same, but in more fragile screenprint ink.

Back when the very patent brouhaha you linked to was going on, a way to work around it was to use the patent-encumbered chip designs packaged and labeled as something else. It'd evade cursory inspection.

I've heard of that "technique" many times, and have even seen it in action. I had a TV set where 3 analog chips were mis-labeled evidently on purpose. The functionality they truly were implementing was of the better, later generation chips, still under patent protection. The only difference from the patented chips was different bond-out: they weren't pin compatible, and their bond-out was specifically to make them look like the older generation chips that had pins with similar enough functionality not to raise much suspicion. It was a brand-name Japanese monitor.

June 5, 2019 at 10:53 AM

Blogger Yazeran said...

I can say, that I have just tried to use 2 74LS189's that I bought from China last month in order to upgrade my 8-bit computer with a 15-byte stack (instead of the 4-byte stack I have used until now using 8 74LS194's.

Imagine my surprise when they didnt' work (they appeared to short out the 5-volt supply when I tried to set address 0 (pin 1) to zero V.

Then I googled 'fake 74LS189 and came here and saw what could just have been a photo of my chips!.

So I'm sorry to say, this is still happening :-(

January 24, 2021 at 1:24 PM

You can use some HTML tags, such as <b>, <i>, <a>

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.
Please prove you're not a robot