[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

CPU

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 111
Thread images: 6

File: pentium4.jpg (813KB, 1024x901px) Image search: [Google]
pentium4.jpg
813KB, 1024x901px
How are CPU's designed and made?
Do they just use tons of abstraction to map out the logic with billions of boolean gates and then just have machinery which is programmed to draw each type of gate physically on the silicon of the chip?
>>
>>58841018
Probably
The point of silicon wafers is that you can just laser in whatever circuit or die you like, no physical contact needed
>>
>>58841018
Do EE.
>>
>>58841259
>laser in
how?
>>
>>58841328
With lasers
>>
>>58841351
lol
>>
File: cpu_die_full.jpg (133KB, 677x1650px) Image search: [Google]
cpu_die_full.jpg
133KB, 677x1650px
>>58841328
A CPU has at least 7 or 8 layers of copper wires that form all the connections and transitors.

They bake on the lithography projections with a special lamp and chemicals, use more chemicals to burn off the parts not exposed to light, then fill the gaps with copper.
They just rinse and repeat.
>>
>>58841328
Fucking magnets.
>>
>>58841432
>fill the gaps with copper
So what's even the point of silicon being a semiresistor? Can't they just replicate this with fucking wood if theyre just putting copper into a CPU mold?
>>
>>58841496
why don't you look up what a transistor does
>>
>>58841351
>>58841480
I am enlightened! Thanks anons!

>>58841432
All the layers are made by doping Si with other elements, oxidizing and so, copper is used for external connection only IIRC.
>>
>>58841521
I doesn't turn a hole full of copper into a switch
The photo you posted shows a conductive layer already?
>>
>>58841018
>How are CPU's designed and made?
Engineers design the high level arch. Dozens to hundreds of technicians will work on each given area of the low level arch, and how everything links together. When this is completed on the theory side designs are laid out in software and simulated which takes an absurd amount of time. Simulated designs once validated will be sent to a fab and taped out for production of early engineering samples.

The actual manufacture of these chips is an incredibly complex. The process of photolithography involves uses lith masks, photo resist, a high energy light source, and repeatedly laying these masks over a starting silicon wafer to slowly erase channels, then fill them with new materials to build up structures one layer at a time. This is all after the starting wafer is heavily doped.

There dozens of videos on youtube describing various steps of the process.

>>58841432
10-13 metal layers is common for high performance ICs.
Tons more materials than copper are used too.
>>
>>58841018

As for the logic then yes, by layering abstractions it ends up being feasible to develop chips with billions of transistors.
>>
>>58841600
Are all the blocks hand-designed and then linked together also by hand? I mean calculating transistor dimensions, doping intensity and stuff like that. That's the way we were shown on the uni. However working on this level with billions of transistors sounds incredible. Isn't there some "autorouter" for this?
>>
>>58841018
A layer of transistors on the bottom with several layers of metal connecting them. For physically making it they use acid etching to get that nice 14 nm size. For tools you use everything from transistor layout all they way up to placing logic chunks onto the wafer in a GUI.
>>
>>58841735
It used to be, and for some less complex things like micro controllers a high degree of hand drawn circuitry is still common. Anything more complex will be heavily automated though. Software handles an awful lot now.
>>
>>58841735
>transistor dimensions
Isn't it 14nm X 14nm or am I retarded
I'm sure all the design are assuming the same machine is used for all the layers
>>
>>58841735
The gates are hand designed, and then those are used in the logic and automation tools.
>>
File: 1400058381917.jpg (38KB, 390x182px) Image search: [Google]
1400058381917.jpg
38KB, 390x182px
>>58841774
>Isn't it 14nm X 14nm or am I retarded
Its far more complex. There are dozens of metrics per metal layer, though people usually focus on the front end.
With FinFETs specifically you have fin pitch which is the height of the fin, your gate pitch is the distance from the edge of one gate to another, the nominal width of the fin itself, the effecting gating surface area of the fin, and a host of other things.

Back end metrics are even more complex because of how the metal layers increase in size until they reach pin out.
>>
>>58841769
>>58841829
That's what I though. Might be pretty interesting to see how these tools work.
>>
>>58841871
Cross section of a back end.
>>
>>58841871
The "back end" isn't running at 5GHz though right? It would make sense that path size makes less of a difference there with no switching heat or voltage drains
>>
>>58841018
Funny how no one in these threads actually explains how they are made.

Spouting some buzzwords isnt making a cpu retards.

Like what the difference in making an ARM chip vs a x86 one?

Just the layout of the transistors?
>>
>>58841328

it is very painful
>>
>>58841600

it should be mentioned that a lot of the time it just fails. chip is tested and doesn't work right. and all chips will have slightly different speeds and temperatures.

kinda strange to think that the heart of a computer has so much fuzziness in it.
>>
>>58841944

yes
>>
>>58841871
So the drop of acid etching it is less than 20nm thick
What are they using to lay this acid down accurately?
>>
>>58841944
Thread explaining this whole topic would be pretty long, desu.
Nobody is stopping you from finding the answers and presenting them here yourself.
>>
>>58841965
Well it wouldn't if we had a more discrete CPU manufacturing process than spraying nanometers of acid onto metals and hoping it was done correctly
>>
I don't think anyone ITT really understands what's going on

here's a pretty good rundown

https://www.youtube.com/watch?v=vK-geBYygXo
https://www.youtube.com/watch?v=35jWSQXku74
>>
>>58842011
They should use magnets.
>>
>>58842011

you think of a better way and i'll pay you 1,000,000,000,000 dollars for it.
>>
>>58841983
They layer a powder like substance that doesn't get eroded. There is like 5 or so steps that is repeated ad nauseum on YouTube I'm sure you can find.
>>
File: image.jpg (137KB, 960x960px) Image search: [Google]
image.jpg
137KB, 960x960px
>>58842011
>tfw you will live to see optical processing in your lifetime
>>
>>58842032
> That picture for the second video
Transistors don't look like they anymore
>>
>>58841922
>The "back end" isn't running at 5GHz though right?
Well yes there is nothing switching there. It the routing for power into and I/O for the chip.
The feature size of each back end layer is just as tightly controlled as the front end. I never got into complex signaling in school so thats all over my head. A field for masochists.

>>58841944
>Like what the difference in making an ARM chip vs a x86 one?
They're different ISA, they have different high level and low level arch.

>Just the layout of the transistors?
Just like the difference between a Kia and a BMW is the layout of the metal.
Go fucking slit your throat.

>>58841983
There are all kinds of tools and different methods, like atomic layer deposition. Different nodes at different fabs use different methods to achieve similar end results. Like I said before, there are plenty of youtube videos going into the specifics.
>>
>>58841965
That's the way electronics work in general. You have to calculate with huge margins and still it sometimes just doesn't work.
>>
>>58842075
t. Dumbass
>>
>>58841018
This shit is incredible. I'm a brainlet so ITT is like reading some alien instruction manual. To think some humans pull this off and teams do this every day blows my mind.
>>
>>58841898
https://forums.macrumors.com/threads/apple-considering-adopting-amd-processors-for-upcoming-macs.898409/page-25#post-9746191

Interesting story from an ex-AMD engineer before the Bulldozer launch on CPU design.

>I don't know. It happened before I left, and there was very little cross-engineering going on. What did happen is that management decided there SHOULD BE such cross-engineering ,which meant we had to stop hand-crafting our CPU designs and switch to an SoC design style. This results in giving up a lot of performance, chip area, and efficiency. The reason DEC Alphas were always much faster than anything else is they designed each transistor by hand. Intel and AMD had always done so at least for the critical parts of the chip. That changed before I left - they started to rely on synthesis tools, automatic place and route tools, etc. I had been in charge of our design flow in the years before I left, and I had tested these tools by asking the companies who sold them to design blocks (adders, multipliers, etc.) using their tools. I let them take as long as they wanted. They always came back to me with designs that were 20% bigger, and 20% slower than our hand-crafted designs, and which suffered from electromigration and other problems.

>That is now how AMD designs chips. I'm sure it will turn out well for them [/sarcasm]
>>
>>58841018
Yeah pretty much
>>
>>58841944
>can't even capitalize "CPU"
>calling anyone else a retard
>>
>>58841944
Would you prefer someone post a transcript of an entire VLSI course?
>>
>>58841898
Most modern designs are coded in a special programming lanugage for describing logic circuits - a Hardware Description Language (i. e. verilog or VHDL).
The design itself, as well as test-benches to verify its correctness (similar to unit tests in software development) is then ran through a simulator to check that all is OK.
The design is then automatically synthesiszed into silicon using specialized tools (Cadence suite is one such example, I'm not sure if the major vendors use their own tools), the process goes roughly in the following steps:
1. Code the design and testbenches.
2. Behavioral simulation - verify that circuit works in an "ideal" state, aka. if the code is correctly written.
3. Synthesize the code - the code gets implemented as logic gates (e. g. NAND, depending on tech used).
4. Simulate synthesized design - check if the synthesis is ok, also check if delays introduced by (still idealized) gates is small enough to not affect functionality (e.g. clock rate target for processor).
5. Map the logic gates into transistors and place & route them onto a Silicon block.
6. Perform final verification if implemented design is still OK.
7. Send to fab, where the Silicon is doped and etched, copper traces added.
8. The die is then cut, the individual chips packaged into the housing selected. Here, the Silicon I/O pads are bonded to the packageleads.
9. Test chip for functionality. If everything is OK at this step, the whole process was sucesfull.

I think this is roughly the chip design process used by most IC manufacturers. If you can imagine, the final tests before manufacturing involve simulating the workings of billions of transistors for it to work - the computing power needed is enormous for more complex designs - I know that NVIDIA for example has a enormous computing platform just for simulating their chip designs.
>>
>>58841018
All I can tell you is they only make one CPU die, then they disable features like extra cores, cache, overclocking support, etc. and sell it as a low-end model. That means, if you buy a Celeron G3930 today, it started life as a fully functional i7-6700k, and then they took a little laser and cut all the lines going to the fancy features. Seems evil, doesn't it?
>>
>>58842187
To add on to this anon's post, here's an Intel process engineer walking through the manufacturing process (1 hour talk):

https://www.youtube.com/watch?v=NGFhc8R_uO4
>>
>>58841496
They use copper to wire between the silicon transistors because it has lower resistance than silicon.
>>
>>58842187

VHDL and verilog are just glorified specification writing tools
>>
>>58842197
No, it seems smart considering nobody seems to care that Intel spent trillions of dollars making the CPU and that half the market wouldn't pay for a full price full functionality CPU
This is literally just Intel recognizing that CPUs cost pennies in materials and trillions in the factory
AMD does this too
So do nvidia
So does qualcomm
Surprise, this tech actually doesn't double in performance every single year anymore, how are these companies gonna profit if people only buy from highest-end to highest-end (which isn't much improvement)
>>
+1 internet for the person who knows why court is used in favor of gold or silver.
>>
>>58842147
These statements are so old they're entirely irrelevant. All of intel's designs are fully automated now, just like recent designs from AMD. Software is almost always better, and ICs so complex that it is impractical for people to try to do a layout by hand.

AMD's last line of hand designed arch was Zambezi and Vishera. Steamroller included some hand laid blocks, but started utilizing machine layout to save die area. Excavator is fully automated, as are the cat cores.
>>
>>58841496
Oh my.
>semiresistor
This one is new to me.

>>58841569
The conductive layer links the sources and drains across transistors, not within transistors. What you see in that image is just describing how the photomask allows etching to form paths designed to link transistors together so the operations of a cpu are possible, not how a transistor itself is made. Making a transistor uses etching too but it's got so many layers of different shit deposited I can't name them all.
A semiconductor is what refers to the main building block of transistors (and other devices), that wafer is pretty fucking useful because it's highly flexible in terms of electrical properties.

That's a pretty rough tl;dr, but understandable I hope.
>>
>>58842265
Plus this means that'd have the throw away more than half their dies I'm sure
Sometimes the paths don't support full hyperthreading, sometimes just a core or two is broken (I think all the skylakes start off as quad and all of the pentiums are true dual core dies)
Bam, relabel it for extra profit and extra market
>>
>>58841018
https://www.youtube.com/watch?v=9SnR3M3CIm4

Here you go friend. Live and Learn. Thank you.
>>
>>58842277
Did you know that many leads on CPUs don't actually lead anywhere?

They generate them randomly and that design just happened to test better than all the others, even if they have weird pathways that stop for no reason.
>>
>>58842250
They are de facto standards for specification writing if you want to look at it from that point of view. For the scale of IC design you need automation to manage the complexity - you could write the specs in a different language, but in the end, you need to interface with other programs, and HDL languages are usually supported directly.
As I said, I'm not directly familiar with what each major player is using, but I'm willing to bet they either use verilog, VHDL, or a custom framework in c, ada or similar that is functionally similar to a HDL.
>>
what defines x86?
Is it even a physical difference?
>>
>>58842315
citation needed
>>
>>58842340
Instruction set
>>
>>58842353
Weren't there even sockets with useless pins a while ago?
Why aren't they repurposed into ground or main voltage leads or something?
>>
>>58841018
Yes.
>>
>>58842340
Its an ISA.
>>
>>58842366
So what would prevent me from altering x86 to run on any processor? Copyright? The arrangement of the cores and switches?
If I could make a CPU, could I just make x86-compatible dies completely on the physical side (assuming I knew how)?
>>
>>58842418
x86 is defined by it's instruction set

just admit that you don't know what you're talking about
>>
>>58842418
I think the basic x86 patents (not the x64 ones, thats a different beast) have expired. So in theory, you could produce a new x86 core that could run the x86 software that doesn't need new features. It would be difficult not to run into some patents on other parts of your design if you expect any decent performance out of them though.
>>
>>58842187
Yes, especially the step 5 piques my curiosity.

>58842218
Thanks anon. I'll add that to my watch list.
>>
>>58842418
Holy fug please just read a book. Scraping enough big words together from shitty explanations on /g/ to sound smart is not learning how this stuff works.
>>
>>58842443
I don't I thought that was clear from the very beginning
>>
>>58842418
ISA is instruction set architecture. It is a physical implementation of hardware units that process the given types of instructions. X86 is not ARM because it does not have hardware for processing ARM instructions in the way the ISA describes them.
You can emulate instructions through software, you can make a translator at a hardware level even, there are numerous examples of this.
Go on wikipedia and at least gain a cursory knowledge of things before asking dumbshit questions.
Or just go slit your throat.
>>
>>58842475
I'm not trying to saline smart I'm trying to sound stupid
"it's an instruction set" doesn't mean shit to me, is that an internal code? Is that on the CPU itself? Is that part of motherboard chipsets?
Don't tell me to l2cpu I'm trying to l2cpu
>>
>>58842443
>ask question
>DURRR U DONT KNOW ANYFINK

You're a fucking genius aren't you
>>
>>58842496
So does that mean all x86 processors are physically arranged in the same kind of way
What's stopping AMD or Intel from making a new instruction set? It's just a lot of work?
>>
>>58842443
Kek, wew.
>>
Let's guess OP's age:

15
>>
>>58842471
The details are kind of very specific if you don't work on Place and Route (P&R) tools directly. I only have a rough picture of how they work.

In general, after synthesis (step 3 and 4) you get a list of logic gates and how they are connected to eachother. The P&R tool then:
- places the logic gates onto the silicon - it already has definitions of the masks which are used - usually designed by hand and provided by the fab house for each process individually.
- tries to connect them - if it works, the design was placed and routed sucesfully.
- if not, various tehniques are used (e. g. starting from begining with a different order, moving some parts around, replacing only sections of the design). This usually also involves shortening long paths to get better characteristics (e. g. shorter delays where needed, or longer ones if the design requires it).

If you want more info, I think searching for place and route logic on google scholar would be the best path to learn the specifics.
>>
>>58842554
>So does that mean all x86 processors are physically arranged in the same kind of way
In a vague way, yes. AMD and intel have their own varying implementations, because there is no single way to handle instructions. Just like there is no single way to make a vehicle with 4 wheels.

>What's stopping AMD or Intel from making a new instruction set?
Nothing. They've each tried. Intel made Itanium which was a commercial failure. AMD made the AMD64 extension to the X86 ISA. All 64bit X86 CPUs are using AMD's AMD64 extension.
>>
>>58842554
Backwards compatibility basically. Intel does have an additional Instruction Set (Itanium), but it is mostly used for servers.
>>
>>58842277
>AMD's last line of hand designed arch was Zambezi and Vishera. Steamroller included some hand laid blocks, but started utilizing machine layout to save die area. Excavator is fully automated, as are the cat cores.

Interesting, any sources?
>>
You can't know how they're made, since they're not open-source.
>>
>>58842554

It's like programming languages

C++/C is a specification. It's a description of a language. Someone must write a compiler. My compiler might be different from your compiler.

Same thing with architecture. My chip might be different from your chip but they still use the same assembly
>>
>>58841945
for you
>>
File: HDL.png (792KB, 1074x602px) Image search: [Google]
HDL.png
792KB, 1074x602px
>>58842651
Anandtech had big articles for every iteration of the Bulldozer family.
Extremetech has a number of relevant articles as well written by Joel Hruska.
>>
>>58842554
AMD did make a new instruction set- it's called AMD64 (or as Intel calls it, x86-64). It is quite different from x86.

Here's a way to visualize ISA-
1. Imagine the alphabets as bits.
A,B,C,D....Z -> 0,1
2. English is one ISA on how to arrange these letters into something meaningful. For example, 'work' is a word that requires w-o-r-k together and means job.
French is another ISA that also uses the alphabet but has different rules. "travail" (work) is a word that uses the letter t-r-a-v-a-i-l.

Grammar is very similar, with space and punctuation as additional rules.

3. A CPU is a device that understand these rules and make sense of out them. You can try to make a CPU designed for ISA A to run instructions for another ISA B if you can translate instruction B to instruction A (French->English)

4. But it is pointless to change the hardware implementation of a CPU, just as it is almost impossible to hack your brain to change your understanding of English to French.
>>
>>58842977
5. AMD and Intel (and others) x86 CPUs all understand the x86 ISA. Just as a Englishman and a Japanese understand the grammar/vocab of English, regardless of where they learn their English.

The way they process English, however, can be drastically different inside their brain. Goggle Translate also sort of understand English, but internally it is completely different from how a human mind works.

TL:DR ISA describes the rules, not how to process the rules.
>>
>>58841018
Considering CPUs these days have transistor counts in billions, they have to abstract as much as humanly possible.

High level design is about connecting ready made functional blocks and using software to simulate their cooperation - you take, say a decoder, two ALUs some cache and try to work out how they integrate.

Each company has libraries of several versions of those blocks in several versions and design on the highest level is mostly about finding what of those blocks need to be redesigned and/or improved on the logical level.

Each block is a collection of smaller blocks, which are more concrete but still quite divorced from actual silicon. This stage is usually done with HDL languages - VHDL and Verilog and proper software suite for validation and simulation.

Actual silicon is 'designed' in the process called synthesis - which is similar to compilation for actual software. Synthesis takes HDL code and tries to create actual gates, latches, multiplexers and whatever which then are transcribed into FPGA, silicon or whatever you wish.

Overall - the process is quite similar to programming actual computers. System architects design functionality, programmers design technical details and compilers create machine code.

Source: I am a work for an EDA company as a senior software developer for graphical design tool which generates HDL from a block diagrams.
>>
>>58842589
Let me add that the entire process of P&R is close to black magic these days and each provider of this service is _very_ secretive. EDA is a very hermetic circle and most people of influence know each other.

Talent predation is also very common.
>>
>>58842496
You deserve to gassed, you fucking shit stain.
>>
>>58844200
Cry more, little kid.
>>
>>58841018
Yep, this exactly. The last human-designed CPU was the 6502.
>>
>>58844433

fun fact x86 has more pages of documentation than the 6502 has transistors
>>
>>58844225
Get raped and kill yourself, you retarded fucking faggot sack of nigger shit with down syndrome.
>>
>>58844433
The mask set for that processor was literally drawn on huge pieces of paper with colored pencils.
>>
>>58844899
Did something trigger you, little tumblrtard?
>>
>>58844908
What's sad is that even with all of today's technology such a feat is probably not possible any more because the equipment and skill sets don't exist.

How many photo-lithographers under the age of 60 are there?
>>
>>58844918
Do you literally have shit for brains, special olympian?
>>
>>58845614
>Implying photolithography has no uses
Why don't you build a CPU with lithographs?
>>
http://visual6502.org/JSSim/index.html

Here's something neat to stare at in amazement. An accurate representation of a 6502 processor core which actually works and you can press the play button to watch it process stuff or use the step by step function and you can watch the individual wires light up with each thing.
>>
>>58845798
Thank you. I completely forgot this existed.
>>
>>58845892
They actually added two other simulators apparently.

ARM1
http://visual6502.org/sim/varm/armgl.html

Motorola 6800
http://visual6502.org/JSSim/expert-6800.html
>>
>>58841018
play this game and you will get the idea

http://www.zachtronics.com/kohctpyktop-engineer-of-the-people/
>>
>>58845735
Why hasn't anybody done this since the late '70s?
>>
>>58844849
Easy assy is the key to good computing.

t. Forth fan
>>
>>58842287
Silicon is half resistor so I guess he's right
>>
>>58841018
imagine a set of dominous. 10x10 aligned as a square.

if you run current through it, everyone of them flips their state.

now you disable some of them in their specific region so they can create a different outcome for what you design it for
>>
Related
https://www.damninteresting.com/on-the-origin-of-circuits/
>>
>>58846276
>imagine a set of dominos except they don't work like dominos and have specific functions that could not be replicated through dominos
>>
If it takes a computer to build a CPU, then how was the first CPU made?
>>
>>58846570
They poured molten copper into hand-chilsed stone molds the size of a stadium using thousands of slave to power the wooden cogs it was real medieval type shit
>>
>>58846570
Still machines just operated by actual people
>>
>>58846570
you make a weak cpu by hand, then use this cpu to create a better one. The better one will be used to create a more advanced model etc.
Thread posts: 111
Thread images: 6


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.