{"video_id":"fp_LcxvbIeB15","title":"TQ: These Chips Are BETTER Than CPUs","channel":"Techquickie","show":"Techquickie","published_at":"2022-02-24T20:14:00.026Z","duration_s":261,"segments":[{"start_s":0.0,"end_s":3.8,"text":"Modern CPUs are awesome. You can play games, create content,","speaker":null,"is_sponsor":0},{"start_s":3.8,"end_s":6.96,"text":"and even watch tech explainer videos with handsome hosts,","speaker":null,"is_sponsor":0},{"start_s":6.96,"end_s":10.12,"text":"I guess it was supposed to be someone else, on the same machine.","speaker":null,"is_sponsor":0},{"start_s":10.12,"end_s":14.72,"text":"But as great as this versatility is, there are times when you'd really rather have a chip","speaker":null,"is_sponsor":0},{"start_s":14.72,"end_s":18.88,"text":"that can do just one thing, but do it really, really well.","speaker":null,"is_sponsor":0},{"start_s":18.88,"end_s":23.8,"text":"Now there are lots of electronics that contain chips called A6 or FPGAs","speaker":null,"is_sponsor":0},{"start_s":23.8,"end_s":28.92,"text":"instead of regular CPUs. And we're gonna explain what these are one at a time,","speaker":null,"is_sponsor":0},{"start_s":28.96,"end_s":32.96,"text":"starting with A6. Not to be confused with the shoe company,","speaker":null,"is_sponsor":0},{"start_s":32.96,"end_s":36.84,"text":"A6 stands for Application Specific Integrated Circuit","speaker":null,"is_sponsor":0},{"start_s":36.84,"end_s":42.72,"text":"and it does exactly what it sounds like, processes data for one application.","speaker":null,"is_sponsor":0},{"start_s":42.72,"end_s":50.36,"text":"This is because A6 are built very differently from your typical x86 or ARM or RISC-5 general processor.","speaker":null,"is_sponsor":0},{"start_s":51.0,"end_s":56.8,"text":"A regular processor can apply many different kinds of calculations depending on what a program needs,","speaker":null,"is_sponsor":0},{"start_s":56.8,"end_s":61.28,"text":"but A6 are hardwired to perform only the calculations","speaker":null,"is_sponsor":0},{"start_s":61.28,"end_s":65.26,"text":"or to run only the algorithms that are needed for a specific task.","speaker":null,"is_sponsor":0},{"start_s":65.26,"end_s":70.12,"text":"This hardwiring can happen in a couple of ways. Some A6 are manufactured in what's called","speaker":null,"is_sponsor":0},{"start_s":70.12,"end_s":74.12,"text":"a semi-custom manner, where the fab has what's essentially","speaker":null,"is_sponsor":0},{"start_s":74.12,"end_s":78.04,"text":"a blank template of logic gates, which are then permanently connected","speaker":null,"is_sponsor":0},{"start_s":78.04,"end_s":83.52,"text":"according to the design the client needs. Meanwhile, other A6 are full custom designs","speaker":null,"is_sponsor":0},{"start_s":83.52,"end_s":88.32,"text":"where the entire chip and every transistor is pretty much designed from scratch.","speaker":null,"is_sponsor":0},{"start_s":88.32,"end_s":94.36,"text":"Unsurprisingly, because A6 are so specialized, they take a lot of time and money to develop.","speaker":null,"is_sponsor":0},{"start_s":94.36,"end_s":100.04,"text":"But because A6 are usually for small, highly integrated devices that ship lots of units,","speaker":null,"is_sponsor":0},{"start_s":100.04,"end_s":103.36,"text":"the cost of an individual A6 tends to be quite low.","speaker":null,"is_sponsor":0},{"start_s":103.36,"end_s":110.64,"text":"For example, the chips inside USB chargers or network switches or even electronic toys are often A6,","speaker":null,"is_sponsor":0},{"start_s":110.64,"end_s":116.08,"text":"but all of these are often low-cost products. Network switches are particularly interesting applications","speaker":null,"is_sponsor":0},{"start_s":116.24,"end_s":120.8,"text":"since a simple $15 unmanaged switch can handle network traffic better","speaker":null,"is_sponsor":0},{"start_s":120.8,"end_s":124.2,"text":"than a desktop CPU that costs 10 times as much.","speaker":null,"is_sponsor":0},{"start_s":124.2,"end_s":127.64,"text":"But of course, there's a good chance you've heard of ASIC-based crypto miners","speaker":null,"is_sponsor":0},{"start_s":127.64,"end_s":132.24,"text":"designed to run cryptographic hashes much more efficiently than a graphics card can.","speaker":null,"is_sponsor":0},{"start_s":132.24,"end_s":135.68,"text":"And those are quite expensive due to both demand","speaker":null,"is_sponsor":0},{"start_s":135.68,"end_s":140.28,"text":"and the fact that they aren't as mass-produced as other ASIC-based devices.","speaker":null,"is_sponsor":0},{"start_s":140.28,"end_s":143.52,"text":"And of course, there's the fact that they make you money.","speaker":null,"is_sponsor":0},{"start_s":143.52,"end_s":148.88,"text":"Let's switch gears right now and talk about FPGAs or field programmable gate arrays.","speaker":null,"is_sponsor":0},{"start_s":148.88,"end_s":152.52,"text":"How are those different? You can think of these as sitting somewhere","speaker":null,"is_sponsor":0},{"start_s":152.52,"end_s":159.26,"text":"between an ASIC and a CPU. Their logic can be customized for specific applications,","speaker":null,"is_sponsor":0},{"start_s":159.26,"end_s":162.68,"text":"but unlike ASICs, they can actually be electrically","speaker":null,"is_sponsor":0},{"start_s":162.68,"end_s":166.08,"text":"reprogrammed after they've been manufactured.","speaker":null,"is_sponsor":0},{"start_s":166.08,"end_s":170.16,"text":"You can think of the structure of an FPGA as being kind of like Lego blocks.","speaker":null,"is_sponsor":0},{"start_s":170.16,"end_s":174.04,"text":"Once you put them together, they'll stay that way, but you can always take them apart","speaker":null,"is_sponsor":0},{"start_s":174.04,"end_s":177.68,"text":"and put them back together and make something completely different.","speaker":null,"is_sponsor":0},{"start_s":177.68,"end_s":181.96,"text":"Now, although FPGAs aren't quite as powerful as purpose-built ASICs,","speaker":null,"is_sponsor":0},{"start_s":181.96,"end_s":186.6,"text":"their versatility has made them increasingly popular for machine learning applications","speaker":null,"is_sponsor":0},{"start_s":186.6,"end_s":192.12,"text":"as they can be optimized for different AI models in neural networks, yet still outperform","speaker":null,"is_sponsor":0},{"start_s":192.12,"end_s":195.24,"text":"traditional CPUs and even GPUs.","speaker":null,"is_sponsor":0},{"start_s":195.24,"end_s":198.48,"text":"But perhaps even more interesting is that you can reconstruct","speaker":null,"is_sponsor":0},{"start_s":198.48,"end_s":202.12,"text":"other kinds of processors inside an FPGA,","speaker":null,"is_sponsor":0},{"start_s":202.16,"end_s":206.36,"text":"including the ones from, say, for example, retro game consoles.","speaker":null,"is_sponsor":0},{"start_s":206.36,"end_s":212.0,"text":"There have been some really cool projects that use an FPGA to recreate the retro gaming experience","speaker":null,"is_sponsor":0},{"start_s":212.0,"end_s":217.44,"text":"as faithfully as possible, such as the NT Mini and the Mega SG from Analog.","speaker":null,"is_sponsor":0},{"start_s":217.44,"end_s":220.96,"text":"The FPGAs inside those consoles contain circuitry","speaker":null,"is_sponsor":0},{"start_s":220.96,"end_s":224.16,"text":"that very closely mimics the original NES","speaker":null,"is_sponsor":0},{"start_s":224.16,"end_s":228.48,"text":"and Sega Genesis processors, respectively, meaning that it's a much smoother","speaker":null,"is_sponsor":0},{"start_s":228.48,"end_s":234.68,"text":"and more accurate experience than software emulation, like what gets used by those classic plug-and-play consoles","speaker":null,"is_sponsor":0},{"start_s":234.68,"end_s":240.0,"text":"that have gained popularity recently. Another really awesome FPGA project is the MR,","speaker":null,"is_sponsor":0},{"start_s":240.0,"end_s":246.52,"text":"another gaming device that actually allows you to choose between different old-school consoles and arcade games","speaker":null,"is_sponsor":0},{"start_s":246.52,"end_s":251.08,"text":"than reprogram the FPGA on the fly according to what you want to play.","speaker":null,"is_sponsor":0},{"start_s":251.08,"end_s":254.2,"text":"It's kind of like a transformer, but on the inside,","speaker":null,"is_sponsor":0},{"start_s":254.2,"end_s":257.52,"text":"like that time I washed down a Mentos with a bottle of Pepsi.","speaker":null,"is_sponsor":0},{"start_s":258.2,"end_s":261.64,"text":"Oh, subscribe. That's the end.","speaker":null,"is_sponsor":0}],"full_text":"Modern CPUs are awesome. You can play games, create content, and even watch tech explainer videos with handsome hosts, I guess it was supposed to be someone else, on the same machine. But as great as this versatility is, there are times when you'd really rather have a chip that can do just one thing, but do it really, really well. Now there are lots of electronics that contain chips called A6 or FPGAs instead of regular CPUs. And we're gonna explain what these are one at a time, starting with A6. Not to be confused with the shoe company, A6 stands for Application Specific Integrated Circuit and it does exactly what it sounds like, processes data for one application. This is because A6 are built very differently from your typical x86 or ARM or RISC-5 general processor. A regular processor can apply many different kinds of calculations depending on what a program needs, but A6 are hardwired to perform only the calculations or to run only the algorithms that are needed for a specific task. This hardwiring can happen in a couple of ways. Some A6 are manufactured in what's called a semi-custom manner, where the fab has what's essentially a blank template of logic gates, which are then permanently connected according to the design the client needs. Meanwhile, other A6 are full custom designs where the entire chip and every transistor is pretty much designed from scratch. Unsurprisingly, because A6 are so specialized, they take a lot of time and money to develop. But because A6 are usually for small, highly integrated devices that ship lots of units, the cost of an individual A6 tends to be quite low. For example, the chips inside USB chargers or network switches or even electronic toys are often A6, but all of these are often low-cost products. Network switches are particularly interesting applications since a simple $15 unmanaged switch can handle network traffic better than a desktop CPU that costs 10 times as much. But of course, there's a good chance you've heard of ASIC-based crypto miners designed to run cryptographic hashes much more efficiently than a graphics card can. And those are quite expensive due to both demand and the fact that they aren't as mass-produced as other ASIC-based devices. And of course, there's the fact that they make you money. Let's switch gears right now and talk about FPGAs or field programmable gate arrays. How are those different? You can think of these as sitting somewhere between an ASIC and a CPU. Their logic can be customized for specific applications, but unlike ASICs, they can actually be electrically reprogrammed after they've been manufactured. You can think of the structure of an FPGA as being kind of like Lego blocks. Once you put them together, they'll stay that way, but you can always take them apart and put them back together and make something completely different. Now, although FPGAs aren't quite as powerful as purpose-built ASICs, their versatility has made them increasingly popular for machine learning applications as they can be optimized for different AI models in neural networks, yet still outperform traditional CPUs and even GPUs. But perhaps even more interesting is that you can reconstruct other kinds of processors inside an FPGA, including the ones from, say, for example, retro game consoles. There have been some really cool projects that use an FPGA to recreate the retro gaming experience as faithfully as possible, such as the NT Mini and the Mega SG from Analog. The FPGAs inside those consoles contain circuitry that very closely mimics the original NES and Sega Genesis processors, respectively, meaning that it's a much smoother and more accurate experience than software emulation, like what gets used by those classic plug-and-play consoles that have gained popularity recently. Another really awesome FPGA project is the MR, another gaming device that actually allows you to choose between different old-school consoles and arcade games than reprogram the FPGA on the fly according to what you want to play. It's kind of like a transformer, but on the inside, like that time I washed down a Mentos with a bottle of Pepsi. Oh, subscribe. That's the end."}