Mercury FAQ
Questions we get about Mercury boards, from what an FPGA is to loading your first design.
Questions we get about Mercury boards, from what an FPGA is to loading your first design.
An FPGA (field-programmable gate array) is a programmable logic device: an array of interconnected logic cells that you can configure to implement almost any digital function. It’s a blank slate for your own hardware designs, whether that’s a custom CPU, a digital signal processor or a robot vision system.
A microcontroller has fixed hardware: a CPU with a defined instruction set. You program it by telling it what to do. With an FPGA, you tell it what to become.
That gives you a lot of power and flexibility. An FPGA can implement special-purpose processors that are orders of magnitude faster than a microcontroller at one task, like signal processing or encryption. It’s also flexible about I/O. A microcontroller might have four hardware timer channels on specific pins; an FPGA could put one on every I/O pin.
You describe hardware, usually in a hardware description language such as VHDL or Verilog. They look like procedural languages (Ada and C, respectively), but you’re describing a structure, not a process. A for loop in C runs code several times; a for loop in VHDL creates several copies of a circuit. It takes some getting used to, and it’s very powerful once it clicks.
Your design is synthesized into a bitstream that configures the FPGA. For Mercury 2, use AMD Vivado, which is free for the Artix-7 parts on the board and includes simulation and timing analysis tools. The original Mercury uses Xilinx ISE. See Resources for install guides.
The FPGA’s configuration memory is RAM-based, so it starts blank at every power-on. Once your design is in the board’s flash, the FPGA loads it from there in about 200 ms every time it powers up. How you program it depends on the board:
Hold the board by all four corners and keep it level, pushing or pulling straight up or down. Tilting it can bend or break pins.
Yes. We guarantee our products against manufacturing defects for 90 days from purchase. We test every board before it ships, but if you think yours has a defect, contact us and an engineer will help diagnose it.
Try Resources for manuals and tutorials, or contact us.