

The program is the simplest and most primitive way to achieve serial communication, the program is simple and brutal, the working state is very stable, the error rate is 0. The FPGA Verilog serial port send/receive + running light program can realize the function of FPGA serial port send/receive, self-receive, what is received and what is sent, when debugging through the computer side serial port assistant to send data, the FPGA can receive and forward to the computer side.

* Development board: EP2C5T144C8N core board * Function description: Serial port receive/transmit program (what is received and what is sent)

The following picture shows the hardware effect (LED blinks when there is data on the serial port).ĥ) Project file and pin description as follows: /* ① select the serial port number, ② set the baud rate 9600, ③ parity bit select even parity can be, send area randomly enter any length data, click send can be. The board model number is MAX10 - 10M50DAF484C7G and there will be some differences in the interface between the different boards, please also note. Working environmentġ, software environment: Windows 7, Quartus II, ModelSim SE, serial debugging assistantĢ, Hardware environment: Development board: EP2C5T144C8N core board, USB Blaster downloader, the other board used for the Principles of Communication course project is also used. At the end of the article I will put up the download link, hoping to throw a brick in the wall and help more FPGA enthusiasts to enter the magical world of FPGAs. Here is a brief introduction to the project. Here is a good FPGA routine that integrates a serial infinite byte transceiver module, a running light module, a ModelSim SE simulation script and other functional modules, which is perfect for beginners to download as their first HelloWorld program to learn. There are a lot of FPGA learning materials available on the internet, with varying quality.
