A shallow dive into open-source chip design
The first is an 88-byte record that says "put a thing of this type
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
0004 08
BOUNDARY starts a polygon 00 0006
length 6 bytes 0d
LAYER record type 0d 02
dtype int16 0022
value 34 = metal1 0006 0e
DATATYPE record type 0e 02 0000
value 0 = drawn as is 002c 10
XY the polygon's points 03 000002c100000226
point 1 (705, 550) 000002c1000008b6
point 2 (705, 2230) 000003e8000008b6
point 3 (1000, 2230) 000003e800000226
point 4 (1000, 550) 000002c100000226
point 5 (705, 550) = point 1 0004 11
ENDEL the element ends 00
The first is an 88-byte record that says "put a thing of this type over here". The second is the actual definition of that thing, right down to listing all the polygons. This is a description of the chip at almost the lowest level you can get: the actual geometry of each individual component. Not just "transistor here", but "layer Metal1 gets a rectangle from (705, 550) to (1000, 2230)". There are some details that are outside the GDS proper (most notably: which material each layer is made out of and which doping levels are used), but the GDS comes remarkably close to being comprehensive.
In order to generate and validate this, we use a package provided by the foundry called the process design kit (PDK), along with higher-level software libraries (provided either by the foundry or by third parties) designed around the PDK. This is process-specific, and it includes all kinds of information about how to design chips for the given fab. For example, the PDK includes the rules for a DRC ("design rule checking") step, which verifies that distances between all the components are sufficient and that any other geometry rules specific to that foundry's process are obeyed.
Basically, as soon as you go lower-level than Verilog, the chip design software has to know at least some things about the process that the fab is using, and the further down you go, the larger (and less optional) that list of things gets.
Finally, once you send the fab your final design, the fab itself makes geometry adjustments. The two big ones are (i) nudging the edges of shapes and adding tiny features at corners so they print as drawn, and (ii) adding dummy fill material. In principle, if you have all the needed information, as a chip designer you could do this yourself (and it's arguably better for chip inspectability if you do). In practice, dummy fill can be added by open-source flows, but the lithography details are not public and so geometry corrections can only be done by the fab even with processes that we consider open-source. That said, these corrections are small enough that they do not interfere with the inspection methods I will describe below.
The last step is manufacturing the chip. In principle, it's "call up the fab, send them the GDS and they do it and send you the chips through the mail". In practice, it's very very expensive, complicated and time consuming. If you are a small-scale chip designer (read: you don't have millions of dollars), the most economical approach to get started is through multi-project wafer (MPW) companies. These companies collect a large number of chip designs from customers, and pay a fab to do a single production run that makes all the chips. Wafer.space is a good example of such a company.
If you are even smaller than that, and especially if you're getting involved with chips at a hobbyist level, an even easier approach is to go through the Tiny Tapeout program. Tiny Tapeout produces a single chip that has hundreds of different circuits on it, supplied by hundreds of different participants.
Probably the most frustrating thing about chip design is how opaque and proprietary the whole thing is. If you work with a "frontier" fab, you will find that the PDK and even the higher-level chip design software are all proprietary, software to work with that fab and that PDK is also proprietary and made by different vendors, and you have to sign all kinds of non-disclosure agreements in order to be able to have any access to the whole stack. On the whole, hardware is a total proprietary dystopia, to an even greater degree than software was 25 years ago at the peak of the Microsoft Word and Internet Explorer days.
If you want to make open-source chips, there are fabs that are friendly to this, but you pay a lot in performance. No (practically useful) fab is fully open-source in the sense that there's a full blueprint of how to build another copy of the entire fab from scratch. But what you can get is fabs that openly publish their PDKs, and for which there are fully open-source chip design stacks, and that don't make you sign any NDAs, so you know and are free to publish the exact (up to physical limits) geometry of the chips you create.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。
