How To Add UART To Your FPGA Projects

Being able to communicate between a host computer and a project is often a key requirement, and for FPGA projects that is easily done by adding a submodule like a UART. A Universal Asynchronous Receiver-Transmitter is the hardware that facilitates communications with a serial port, so you can send commands from a computer and get messages in return.

Last week I wrote about an example POV project that’s a good example for learn. It was both non-trivial and used the board’s features nicely. But it has the message hard coded into the Verilog which means you need to rebuild the FPGA every time you want to change it. Adding a UART will allow us to update that message.

The good news is the demo is open source, so I forked it on GitHub so you can follow along with my new demo. To illustrate how you can add a UART to this project I made this simple plan:

Continue reading “How To Add UART To Your FPGA Projects” →

Detective Work Recovers Atari ST ASIC Designs

[Christian Zietz] wanted to know more about the Atari ST. He found information online from newer Atari machines like the Falcon030 and the Jaguar, but couldn’t find much else. While looking through some archives of old disk images from the Atari headquarters, he found a folder marked “Drawings\4118.” With some detective work and emulation of an old operating system, he was able to recover the schematics for the ST-4118 video shifter ASIC (Application-Specific Integrated Circuit).

Unfortunately, this appeared to be a chip for the unreleased Atari Panther video game console. However, it did show the way to how these older schematics were readable. [Christian] continued searching and found some floppy disk images that were a bit unusual. They didn’t have a proper file system but had been created by a backup program called FastBack for MS-DOS.

Continue reading “Detective Work Recovers Atari ST ASIC Designs” →

Pushing Tin Remotely: The Start Of Flight Control In The Cloud

In a 1999 movie (Pushing Tin), a flight controller is a passenger on a plane and tells the flight attendant that he needs to speak to the person controlling the plane. The flight attendant tells him the pilot is very busy to which the controller responds, “…you really think the pilot is controlling this plane? That would really scare me.” We wonder what that fictional character would think flying into Loveland Colorado. Their Colorado Remote Tower Project. While there’s still a human flight controller, they aren’t physically located at the airport and rely on remote cameras and radar so the controller can be located elsewhere.

The subject airport is the Northern Colorado Regional Airport and is the state’s busiest airport that has no tower. While the concept — generically known as Remote and Virtual Tower or RVT — dates back to 2002, its adoption is only now starting to pick up steam. An airport in Sweden was the first to go live for normal use in April of 2015, but the Colorado installation is the first approved in the United States. If the official site is a little too dry for you, there’s a CBS report with a video that gives you a quick overview of what’s happening. Or dive in with the demonstration video you can see below.

Continue reading “Pushing Tin Remotely: The Start Of Flight Control In The Cloud” →

Visualizing Verilog Simulation

You don’t usually think of simulating Verilog code — usually for an FPGA — as a visual process. You write a test script colloquially known as a test bench and run your simulation. You might get some printed information or you might get a graphical result by dumping a waveform, but you don’t usually see the circuit. A new site combines Yosys and a Javascript-based logic simulator to let you visualize and simulate Verilog in your browser. It is a work in progress on GitHub, so you might find a few hiccups like we did, but it is still an impressive piece of work.

Continue reading “Visualizing Verilog Simulation” →

Transistor Fundamentals Animated

When we were in school, every description of how transistors work was pretty dry and had a lot of math involved. We suppose you might have had a great instructor who was able to explain things more intuitively, but that was luck of the draw and statistically unlikely. These days, there are so many great videos on the Internet that explain things that even if you know the subject matter, it is fun to watch and see some of the great animations. For example [Sabin] has this beautifully animated explanation of how MOSFETs work that you can see below.

It uses the same basic graphics and style as his earlier video on bipolar transistors (second video, below) which is a great one to watch, too. In all fairness to your electronics teacher, the kind of graphics in these videos would have cost a fortune to do back in the 20th century — just watch some of the videos we talk about in some of our historical posts.

Continue reading “Transistor Fundamentals Animated” →

Learn FPGA With This Persistence Of Vision Hack

Everybody wants to give FPGA development a try and here’s a great way to get into it. You can build your own Persistence of Vision display using a $30 dev board. It’s a fun project, and you’ll learn quite a bit about designing for an FPGA, as well as using the Quartus design software.

The inspiration for this article comes from [vpecanins] who did an example project where you wave the board back and forth and a message appears in mid air. This uses the MAX1000, a pretty powerful yet odd FPGA board for about $30. It contains an Intel MAX10 (when did Intel start making FPGAs? Remember, Intel bought Alterra back in 2015). I find the board odd because it also holds an accelerometer that you can talk to using SPI. That’s a little strange for a generic FPGA board, but paired with eight on-board LEDs it’s perfect for this demo.

Since I didn’t find any written documentation for this example, I thought we’d help out and take you on a step-by-step tour of the project. What’s more, in a future installment, I’ll show you how to make some significant changes to the tutorial that will make it even more practical as a base for other projects.

Continue reading “Learn FPGA With This Persistence Of Vision Hack” →

Linux Fu: Modernize Your Command Line

If you use Linux and its associated tools on the desktop or on a Raspberry Pi, or on a server, you probably have used the command line. Some people love it and some people hate it. However, many of us have been using Linux for years and sometimes Unix before that, and we tend to use the same old tried-and-true tools. [Remy Sharp] had a recent post talking about how he had created aliases to replace those old tools with great modern replacements and it is definitely worth a read.

We’ll be honest, when we first saw the post we almost skipped reading it. A lot of Linux tip posts are pretty uninteresting unless you are a total beginner. But [Remy] has a lot of really great tools and how he has them installed including bat, which is like cat but with syntax coloring (see picture above), and fzf — a command line history search on steroids. He even shows how to join fzf and bat to make a very cool file browser from the command line (see below).

Continue reading “Linux Fu: Modernize Your Command Line” →