Welcome to the Lucid tutorials page! This page has all the information you need to get started using the Mojo with Lucid. Lucid is a language we developed to make working with FPGAs easier. We believe this is the best place for a beginner to start.
This is an excerpt from my book Learning FPGAs: Digital Design for Beginners with Mojo and Lucid HDL.
These tutorials walk you through setting up the required software.
ISE is the tool provided by Xilinx, the guys who make the FPGA on the Mojo. It is responsible for building your projects.
The Mojo IDE is a tool we provide that makes working with the Mojo easier. It takes your Lucid projects and uses PlanAhead (part of the ISE install) to build your projects with a single click.
These tutorials may or may not be necessary based on your background. These are more conceptual tutorials and don't require any hardware to follow.
- Digital Logic - covers basic logic gates (AND, OR, XOR, etc)
- Combinational Logic
- What is an FPGA?
- How does an FPGA work?
- Encodings - covers binary, hexadecimal, 2's complement, Gray, and one-hot
- Addition - covers how circuits perform addition
- Subtraction - covers how addition and subtraction are related
These tutorials should be followed in order. Each one relies heavily on the information learned in the tutorials before it.
- Your First FPGA Project
- Synchronous Logic
- IO Shield
- ROMs and FSMs
- Hello YOUR_NAME_HERE!
- External IO
These tutorials teach you some particular technique or component but don't necessarily build off each other. Feel free to pick and choose from these.
- Analog Inputs - learn to read from the Mojo's analog inputs
- Servos - learn to control servos with a PWM signal
- Basic CPU - create a simple CPU and write code for it
- Register Interface - learn about a simple interface from the Mojo to your computer
- Camera - learn to capture images from a camera
These tutorials explore the more advanced features of FPGAs. You should have a solid foundation before proceeding with these.