9 ms·
Standard cells: Looking at individual gates in the Pentium processor
- amelius 2y agoIsn't modern EDA software sophiscated enough that it can place transistors as it sees fit, rather than rely on standard cells?
- frabert 2y agoI don't think it's a software issue -- AIUI the issue is that foundries will only let you use blocks for which the process was tested, or the yields would be unreliable/all over the place
- quotemstr 2y agoReally? I can't just call TSMC and say "Hey. Here's a mask. Please print 10,000, thanks."?
- morphle 2y agono, the mask must be made within the tight rules of the proprietary (and very secret) PDK of the TSMC Fab for that node. Just getting it certified that it fits the rules will cost millions. https://en.wikipedia.org/wiki/Process_design_kit https://en.wikipedia.org/wiki/Process_design_kit
- quotemstr 2y agoAre all fabs like this?
- hansihe 2y agoIt's probably more of a node thing than a fab thing. You would have a much easier time getting the fab to do random stuff for you on a legacy node compared to a leading edge node. Leading edge nodes are basically black magic and are right on the edge of working vs producing broken chips. You as a customer would never want to be in a position where you are solely responsible for yields.
- morphle 2y agoThere are only a few Fabs with nodes smaller than 28nm. Yes, all fabs are like that, with exception of a few experimental tiny labs at research institutes or universities.
- crote 2y agoThere are open-source PDKs[0] for education, research, and R&D - but they extremely rare and decades behind state-of-the-art. Nobody wants to give away trade secrets, so everything remains proprietary and behind an NDA until it has become completely obsolete. [0]: https://www.skywatertechnology.com/sky130-open-source-pdk/ https://www.skywatertechnology.com/sky130-open-source-pdk/
- amelius 2y agoInteresting. What is the granularity? Is it logic gates, or transistors?
- morphle 2y agothe granularity is at all levels: standard cells (=gates), transistor shapes, metal layer shapes down to groups of atoms (for quantum dots).
- shrubble 2y agoHow were the Parallax Propeller guys able to do it? They have a Propeller2 that is in either 40nm or 28nm, IIRC.
- RF_Savage 2y agoBecause those are now trailing edge nodes, so cheaper and easier entry for everybody.
- amelius 2y agoMaybe in reality it is somewhere in-between, where TSMC says: here is a set of standard cells that we tested; you can use them but if you modify anything then it's at your own risk.
- morphle 2y agoMaybe in therory, yes. In practise the fab will never allow you to do anything at your own risk because it might contaminate or break their $170 million machine. If you offer a few billion extra to cover that risk, your cheaper off building your own fab instead.
- amelius 2y agoI'm not convinced that moving transistors around freely would break the machine. How could that possibly happen?
- morphle 2y agoGoing outside of the PDK rules you risk contamination because a chip machine is a high speed ultra-accurate automated mechanical and chemical laboratory. It sprays extremely corrosive acids and vaporizes metals. Going a nanometer outside of the rules would send droplet or flakes of chemicals flying around at high speed. https://www.epfl.ch/research/facilities/cmi/equipment/photolithography/asml-pas-5500-350c/ https://www.epfl.ch/research/facilities/cmi/equipment/photol...
- haneefmubarak 2y agoThink of it less like moving transistors around and more like moving small groups of atoms around (also, you can get single transistor cells for analog and power designs). The processes required to place the rough groups of atoms in roughly specific places involves extreme amounts of energy relative to the size of what you are working with, which is supplied in a combination of chemical, radiation, and thermal forms. As a result, predicting what additional effects attempting to form specific micro-shapes might have is nontrivial. They extensively simulate and then carefully test all of their approved cells on an ongoing basis. Deviating from this could cause unknown issues, including damage, but doing the necessary work to prequalify your custom cells would be prohibitively expensive for most applications. NB: this is obviously a simplified explanation.
- morphle 2y agoNo. Actually, the state of the art of EDA software is worse. My project has been to design (and create) better EDA software that will simulate, optimize and therefore can form and place each individual transistor optimally to achieve lower power, higher speed and lower cost. There is only one drawback over all existing EDA software: my EDA tools must run on a ($100k) small supercomputer or FPGA cluster because it deals with a billionfold more transistors than existing EDA software and that takes more compute. It means my software is much cheaper than existing EDA software but will yield much better chips and wafers with much faster, better, cheaper and fewer transistors. A high level overview of my software is mentioned indirectly in my talk https://vimeo.com/731037615 https://vimeo.com/731037615 I'm eager to give a talk on my EDA software as well, please consider inviting me to give it? Other researchers and companies have proven that optimizing transistor design and placement over standard cell libraries and PDKs can be done, for example: https://www.micromagic.com/news/Ultra-Low-Power_PressRelease.pdf https://www.micromagic.com/news/Ultra-Low-Power_PressRelease... was done with their own EDA software. I am very certain (but have no hard proof) that this is what Apple did on their M1, M2, M3. M4 and M5 processors, especially their high end M2 and M5 Ultra chips. What I'm claiming here is that humanity can design three to four orders of magnitude faster computer chips using at least two orders of magnitudes less energy making chips orders of magnitude cheaper if we only used better EDA software (CAD=> SYM=> FAB) that we use today. Moore's law is not at an end. I'd be happy to provide proof of this, but that takes a bit more effort than a HN comment.
- hansihe 2y agoI don't know about this at any detailed level, but doesn't designing standard cells for leading edge nodes involve a lot of trial and error? Is a lot of the issues that can occur even well understood to the level that it can be simulated? With the approach you mention, would it involve creating "custom standard cells", or would the software allow placement of every transistor outside of even a standard cell grid? If the latter, I would have trouble believing it could be feasible with the order of magnitude of computing power we have available to us today.
- morphle 2y ago
- themoonisachees 2y agoAll tools at use in the last gen industry (40-12nm) currently make extensive use of standard cell librairies provided by foundries. I don't expect current gen nor next gen to change anything. Source: I work in EDA
- rsdfvn1099 2y agoI definitely agree with your overall sentiment but if you actually care about your project go with one of the 3rd party standard cell libraries, i.e. https://www.synopsys.com/dw/ipdir.php?ds=dwc_standard_cell https://www.synopsys.com/dw/ipdir.php?ds=dwc_standard_cell With the foundry provided library you get what you pay for...
- SuperscalarMeme 2y agoI'll give you an alternate take: the compute power available to EDA software has been roughly scaling at the same rate as transistors on a die. So the complexity of the problem relative to compute power available has remained somewhat constant. So standard cell design remains an efficient method of reducing complexity of the problems EDA tools have to solve.
- kens 2y agoThat's an interesting thought. However, it assumes that the problem scales with the number of transistors, i.e. O(N). I expect that the complexity of place and route algorithms is worse than O(N), which means the algorithms will fall behind as the number of transistors increases. (Technically, the algorithms are NP-complete so you're doomed, but what matters is the complexity of the heuristics.)
- morsch 2y agoIt's worse than that, isn't it? Not only are the algorithms presumably super linear, the transistor count has been increasing exponentially, but the compute power per transistor has been decreasing over time. See e.g. [1]. Although I suppose if the problem is embarrassingly parallel, the SpecINT x #cores curves might just about reach the #transistors curve. [1] https://substackcdn.com/image/fetch/w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2059e188-16be-46b6-9f8c-0d571540b29f_789x498.png https://substackcdn.com/image/fetch/w_1272,c_limit,f_webp,q_... via https://www.semianalysis.com/p/a-century-of-moores-law https://www.semianalysis.com/p/a-century-of-moores-law figure 1
- kragen 2y agoyeah, that plots single-threaded performance, not total compute power. the point it's making is that now those transistors are going to parallelism rather than to single-threaded performance, and also the compute power per transistor stopped increasing around 02007 with the end of dennard scaling your problem doesn't have to be ep to scale to 10² cores i suspect it's true that compute power per transistor is dropping because thermal limits require dark silicon, but that plot doesn't show it
- caf 2y agoAs the article mentions, producing an optimal layout is an optimisation problem where the related decision problem is NP-complete. Even laying out standard cells has to be done using heuristic solutions - blowing up the size of the problem by going from cells to transistors just makes that worse. The logic is built out of standard gates and logic blocks like flip-flops anyway, so the overhead of using standard cells that implement those building blocks likely isn't too great.
- klyrs 2y agoThis is more apocryphal than lore, but the understanding I've picked up from EE friends is that standard cells are used because they're proven to work in a given fab process. You don't want your layout software coming up with a trillion different gate prototypes in the midst of laying out your logic circuit!
- Harmohit 2y agoThis is so cool! "Dissecting" a processor like this could be a fun educational activity to do in schools similar to dissecting a frog, but without the animal rights issues.
- kens 2y agoPersonally, I think everyone should try opening up a chip. It's easy (if the chip isn't in epoxy) and fun to look inside. You need a metallurgical microscope to examine the chip closely, but you can see interesting features even with the naked eye.
- Harmohit 2y agoI didn't know there is such a thing as a metallurgical microscope. What makes them different from biological microscopes? And what is there primary purpose? I am assuming they don't make microscopes just for dissecting chips.
- _ihaque 2y agoBiological microscopes illuminate the sample from below, as the samples are typically transparent. Metallurgical microscopes illuminate reflective samples from above. *"Below" meaning "on the opposite side from the objective" - you illuminate _through_ the sample.
- fest 2y agoMetallurgical microscopes illuminate the sample "from the top side". The actual implementation even goes as far as making sure the illumination happens on the optical axis of the objective (as if the light was emitted from your eyes/camera, reflected from the sample and then seen by your eyes/camera). They are also called reflected light or epi-illumination microscopes. Biological microscopes, on the other hand illuminate the sample from the back side (which doesn't work for fully opaque objects).
- kens 2y agoA regular biological microscope shines the light from below. This is good for looking at cells, but not so useful when looking at something opaque. A metallurgical microscope shines light from above, through the lens. They are used for examining metal samples, rocks, and other opaque things. An external light works for something like an inspection microscope. But as you increase the magnification, you need something like a metallurgical microscope that focuses the light where you are looking. Otherwise, the image gets dimmer and dimmer as you zoom in.
- oldgradstudent 2y ago> Intel started using automated place and route techniques for the 386 processor, since it was much faster than manual layout and dramatically reduced the number of errors. Placement was done with a program called Timberwolf, developed by a Berkeley grad student. As one member of the 386 team said, "If management had known that we were using a tool by some grad student as a key part of the methodology, they would never have let us use it." The grad student was Carl Sechen, advised by Alberto Sangiovanni-Vincentelli. https://ieeexplore.ieee.org/document/1052337 https://ieeexplore.ieee.org/document/1052337
- andai 2y ago"At Intel, nobody knows you're a grad student."
- justinjlynn 2y agoAt Intel, nobody pays the grad student proportionally for their massive contribution to the bottom line.
- robertlagrant 2y ago[flagged]
- Hikikomori 2y agoYou're funny.
- account42 2y agoAka how to let the world be run by those who seek profit for themselves without consideration about the negative externalities.
- robertlagrant 2y agoHow to let the world be populated by people who can make free decisions about their work and their employer. Nothing to do with negative externalities, unless you think feudalism was particularly green.
- casenmgreen 2y agoI can't see any images. This is because of CloudFlare. When I go to the page, I get the CF "are you human" check, which I complete. However, every image load is also getting that check, but those checks are not presented to me - just the image doesn't load because a HTML page is being returned.
- immibis 2y agoAh, the Great Firewall of Corporate America.
- andai 2y agoThe other day I tried to scan a file on VirusTotal. I got an infinite loop of infinitely slow fading "select all the fire hydrants", followed by rejection, 10 times in a row before I gave up. Almost as though they had rejected me before the captcha and were merely torturing me for their amusement? Even more bizarrely, VirusTotal presented a second upload form on the captcha page... which itself is captcha-free...
- fsckboy 2y agoi use uMatrix and I'm well familiar with the Cloudflare "are you human" steps... I am not encountering the problem you describe, and Cloudflare is not listed as being involved on the dashboard
- account42 2y agoYou do realize that a large part of the web routes through buttflare even if no buttflare domains are involved, right? Whether one of those requests retrurns the buttflare captcha instead of the requested resource is controlled by buttflare and can vary from user to user.
- fsckboy 2y agoas I said, I'm well familiar with the cloudflare domain "are you human" challenges.
- omoikane 2y agoI am glad "pop culture" links to exactly the song I expected.
- deleted 2y ago[deleted]
- dailykoder 2y agoEvery single blog post I've read from Ken was mind blowing. Love his work. Keep it up man!
- kens 2y agoThanks! Now the pressure is on :-)
- gttalbot 2y ago> Modern processors, with their nanometer-scale transistors, are much too small to study under a microscope. So, can we all take up a collection so Ken can get a nice electron microscope, or what?
- nickpsecurity 2y agoThere’s also open-source, standard cells for people interested. Here’s some links: https://www.vlsitechnology.org/html/libraries.html https://www.vlsitechnology.org/html/libraries.html https://opensource.googleblog.com/2022/07/SkyWater-and-Google-expand-open-source-program-to-new-90nm-technology.html?m=1 https://opensource.googleblog.com/2022/07/SkyWater-and-Googl...
- jecel 2y agoOne difference between the standard cells in the article and the current ones is that the routing channels have been eliminated thanks to the many metal layers we now have. Back then we couldn't really afford to have metal cross the Vdd and ground lines at the top and bottom of the cells so we just stretched the polysilicon lines to the top and bottom edges. Routing was done by continuing the poly into the channel and then connecting cells with metal. This meant that though the decapped poly lines are just one thing in the photos, in terms of design the parts inside the cells are standard and the parts in the channel are custom. This scheme works even with just poly and one level of metal, but if you have enough metal layers than you can run them through the cells themselves. You just have to avoid the vias that take the inputs and outputs down to the transistors. You have an additional gain if you flip every other row of cells so that the PMOS of two rows have the Vdd rail overlap and the NMOS of two rows have the ground rail overlap.