Pipelining Digital Logic In FPGAs

When you first learn about digital logic, it probably seems like it is easy. You learn about AND and OR gates and figure that’s not very hard. However, going from a few basic gates to something like a CPU or another complex system is a whole different story. It is like going from “Hello World!” to writing an operating system. There’s a lot to understand before you can make that leap. In this set of articles, I want to talk about a way to organize more complex FPGA designs like CPUs using a technique called pipelining.

These days a complex digital logic system is likely to be on an FPGA. And part of the reason we can get fooled into thinking digital is simple is because of the modern FPGA tools. They hide a lot of complexity from you, which is great until they can’t do what you want and then you are stuck. A good example of that is where you are trying to hit a certain clock frequency. If you aren’t careful, you’ll get a complaint from the tool that you can’t meet timing constraints.

Continue reading “Pipelining Digital Logic In FPGAs”

A 100th Birthday Celebration For The Flip Flop

It’s easy to get caught up in the excitement of creation as we’re building our latest widget. By the same token, it’s sometimes difficult to fully appreciate just how old some of the circuits we use are. Even the simplest of projects might make use of elements that were once a mess on some physicist’s or engineer’s lab bench, with components screwed to literal breadboards and power supplied by banks of wet-cell batteries.

One such circuit turns 100 years old in June, which is surprising because it literally is the building block of every computer. It’s the flip-flop, and while its inventors likely couldn’t have imagined what they were starting, their innovation became the basic storage system for the ones and zeros of the digital age.

Continue reading “A 100th Birthday Celebration For The Flip Flop”

Raspberry Pi’s Power Over Ethernet Hardware Sparks False Spying Hubbub

Have you ever torn open an Ethernet jack? We’d bet the vast majority of readers — even the ones elbow-deep into the hardware world — will answer no. So we applaud the effort in this one, but the conclusion landed way off the mark.

In the last few days, a Tweet showing a Raspberry Pi with its Ethernet socket broken open suggested the little PCB inside it is a hidden bug. With more going on inside than one might expect, the conclusion of the person doing the teardown was that the Raspberry Pi foundation are spying upon us through our Ethernet traffic. That’s just not the case. But we’re still excited about what was found.

Continue reading “Raspberry Pi’s Power Over Ethernet Hardware Sparks False Spying Hubbub”

Hacking When It Counts: The Pioneer Missions

If the heady early days of space exploration taught us anything, it was how much we just didn’t know. Failure after failure mounted, often dramatic and expensive and sometimes deadly. Launch vehicles exploded, satellites failed to deploy, or some widget decided to give up the ghost at a crucial time, blinding a multi-million dollar probe and ending a mission long before any useful science was done. For the United States, with a deadline to meet for manned missions to the moon, every failure in the late 1950s and early 1960s was valuable, though, at least to the extent that it taught them what not to do next time.

For the scientists planning unmanned missions, there was another, later deadline looming that presented a rare opportunity to expand our knowledge of the outer solar system, a strange and as yet unexplored wilderness with the potential to destroy anything humans could build and send there. Before investing billions in missions to take a Grand Tour of the outer planets, they needed more information. They needed to send out some Pioneers.

Continue reading “Hacking When It Counts: The Pioneer Missions”

Mechanisms: Solenoids

Since humans first starting playing with electricity, we’ve proven ourselves pretty clever at finding ways to harness that power and turn it into motion. Electric motors of every type move the world, but they are far from the only way to put electricity into motion. When you want continuous rotation, a motor is the way to go. But for simpler on and off applications, where fine control of position is not critical, a solenoid is more like what you need. These electromagnetic devices are found everywhere and they’re next in our series on useful mechanisms.

Continue reading “Mechanisms: Solenoids”

Robert Hall And The Solid-State Laser

The debt we all owe must be paid someday, and for inventor Robert N. Hall, that debt came due in 2016 at the ripe age of 96. Robert Hall’s passing went all but unnoticed by everyone but his family and a few close colleagues at General Electric’s Schenectady, New York research lab, where Hall spent his remarkable career.

That someone who lives for 96% of a century would outlive most of the people he had ever known is not surprising, but what’s more surprising is that more notice of his life and legacy wasn’t taken. Without his efforts, so many of the tools of modern life that we take for granted would not have come to pass, or would have been delayed. His main contribution started with a simple but seemingly outrageous idea — making a solid-state laser. But he ended up making so many more contributions that it’s worth a look at what he accomplished over his long career.

Continue reading “Robert Hall And The Solid-State Laser”

Circuit VR: Current Mirrors

Last time we looked at Spice models of a current sink. We didn’t look at some of the problems involved with a simple sink, and for many practical applications, they are perfectly adequate. However, you’ll often see more devices used to improve the characteristics of the current sink or source. In particular, a common design is a current mirror which copies a current from one device to another. Usually, the device that sets the current is in a configuration that makes it very stable while the other device handles the load current.

For example, some transistor parameters vary based on the output voltage which causes small nonlinearities in the output. But if the setting transistor has a fixed voltage across it, that won’t be a problem. The only problem with mirror schemes is that the transistors involved all have to match in key characteristics. For that reason, mirrors are usually better on ICs where the transistors are all more or less the same. You can get discrete transistors that have multiple devices built on a single substrate, but these are not very common.

Continue reading “Circuit VR: Current Mirrors”