Open FPGA Series - Block RAM

This update took a bit longer. The story goes like this: After testing HDMI, I spent some time trying to connect other devices with physical chips present on the FPGA board, including SDRAM, Flash, and SD card. The problem is that these aren’t easy to connect, especially without an LA (Logic Analyzer), which makes it like a blind person feeling their way around. You can only use Verilator to simulate waveform; even if the waveform appears correct, if it doesn’t work when put into practice, you won’t know what’s wrong.

...

Open FPGA Series - HDMI

Last time, we implemented UART input and output. This time, let’s take on another interface included on the board: HDMI. With this implementation, we will have video output available. However, HDMI is a level more difficult than UART, so this time I directly modified the example code of icesugar-pro. For the TMDS part, I referred to an encoder available online.

...

Open FPGA Series - UART

In the previous chapter, we mastered the open-source toolchain for FPGA. Next, we can test some of the interfaces of icesugar-pro. First, implementing an FPGA requires input and output, otherwise, it would just be a non-interactive program. The simplest input/output interface would be UART. A UART example is also provided on icesugar-pro’s GitHub, where it continuously outputs “0” to “9” to your computer (note that there is a bug in this code XD). In this article, we will write a UART module with tx and rx.

...

Open FPGA Series - Blink LED

The story goes like this, this year’s COSCUP submitted a session on System Software. The session track host independently offered a submission reward, originally posted on Facebook:

To encourage students to submit and to experience the value of knowledge, after discussing with Mr. Jserv, we will provide two paid manuscript solicitation spots to the students here.
The first two students whose submissions are accepted will receive a reward of 2,500 NTD and an FPGA development board with a RISC-V core capable of running Linux!

I declined the monetary reward. Ethically it wouldn’t be right for a salaried person to take this money, so it’s better left to student speakers more talented than me.
However, I accepted the FPGA, after evaluating since it’s hard to find. Previously our lab’s DE2 was priced over ten thousand NTD (and it’s discontinued now), and some projects without hardware lack a certain feel. I had always wanted an FPGA to play with, so I accepted the FPGA.

...