r/computerscience • • Oct 16 '25

How are individual computer chip circuit controlled?

I understand how a detailed electric circuit can be created in a computer chip. I also understand how complex logic can be done with a network of ons/offs.

But how are individual circuits accessed and controlled? For example when you look at a computer chip visually there’s only like 8 or so leads coming out. Just those 8 leads can be used to control the billions of transistors?

Is it just that the computer is operating one command at a time? One byte at time? Line by line? So each of those leads is dedicated to a specific purpose in the computer and operates one line at a time? So you’re never really accessing individual transistors but everything is just built in to the design of the transistor?

10 Upvotes

18 comments sorted by

View all comments

Show parent comment

2

u/emlun Oct 17 '25

This is the difference between serial and parallel communications. For example, old hard drives used Parallel ATA (PATA) cables which were ribbons of 40 wires in parallel. These 40 wires could transfer 16 bits at a time. Since the 2000s, PATA is almost universally replaced by Serial ATA (SATA), whose cables have only 7 wires, 3 of which are ground and the other 4 I believe only carrying 1 bit of information at a time in either direction (transmit: host to drive, or receive: drive to host). But SATA can of course still transfer more than 1 bit over time by sending them in series (separated in time) instead of in parallel (separated in space). Indeed, even PATA has to do that in order to transfer more than 16 bits. The "clock rate" for the cable is how many times per second the cable (or really the transmission controller the cable is plugged into) updates to put a new chunk of data on the wires.

So yeah, modern display cables do just that: send a few pixels at a time, and then the monitor has a little computer of its own that stores all those pixels in a buffer to be displayed all at once when it's time. As long as all the pixels for one frame can be transmitted in less than 16 ms, the monitor can display a new frame 60 times per second.

Oh, and 2000 pixels would be a very small 50x40 display. A 1920x1080 image has just over 2 million pixels, and 4k has 8 million, and each pixel is something like 3 signals of 8-bit colour values (0-255). So that's around 200 million bits of colour data in one 4k frame. So you can see why the cable needs a clock rate in the hundreds of millions of data chunks per second.