We use cookies to provide our visitors with an optimal site experience. View our privacy notice and cookie notice to learn more about how we use cookies and how to manage your settings. By proceeding on our website you consent to the use of cookies.
The Logic Space
This space contains logic examples and material for both programmable (FPGA and CPLD) as well as discrete logic designs.
Getting Started Tutorials
- Lattice Diamond and MachXO2 Breakout Board Tutorial
- Lattice Diamond and MachXO2 Breakout Board Tutorial (with Verilog)
- Lattice Diamond Hierarchical Design Test Bench Tutorial
- Microsemi IGLOO nano Dev Board Tutorial
- Xilinx Vivado Design Suite - Getting Started
Interface Logic
- 7-Segment Display Driver for Multiple Digits (VHDL)
- AC'97 Codec Hardware Driver Example
- Character LCD Module Controller (VHDL)
- Chip on Glass Graphic Display Driver with Lattice MachXO2 (VHDL)
- Debounce Logic Circuit (with Verilog example)
- Debounce Logic Circuit (with VHDL example)
- I2C Master (VHDL)
- I2S Transceiver (VHDL)
- MachXO2 SPI Peripheral Expansion for HMI Applications (with VHDL)
- mikroBus I/O Expander (VHDL)
- Parity Generator (VHDL)
- PS/2 Host Transceiver (VHDL)
- PS/2 Keyboard Interface (VHDL)
- PS/2 Keyboard to ASCII Converter (VHDL)
- PS/2 Mouse Interface (VHDL)
- PWM Generator (VHDL)
- Quadrature Decoder (VHDL)
- Serial Peripheral Interface (SPI) Master (VHDL)
- Serial Peripheral Interface (SPI) Slave (VHDL)
- SPI 3-Wire Master (VHDL)
- SPI to I2C Bridge (VHDL)
- TMDS Encoder (VHDL)
- UART (VHDL)
- VGA Controller (VHDL)
Control Systems, DSP, and Math Logic
- Binary to BCD Converter (VHDL)
- Booth Radix-4 Multiplier for Low Density PLD Applications (Verilog)
- Booth Radix-4 Multiplier for Low Density PLD Applications (VHDL)
- FIR Filter (VHDL)
- IIR Filter Design in VHDL Targeted for 18-Bit, 48 KHz Audio Signal Use
- Implementing Polynomials using Horner's Rule and Fixed Point Arithmetic (VHDL)
- Least Mean Square (LMS) Adaptive Line Enhancer (ALE) Design in VHDL
- N-Bit Saturated Math Carry Look-ahead Combinational Adder Design in Verilog
- N-Bit Saturated Math Carry Look-ahead Combinational Adder Design in VHDL
- Pseudo Random Number Generator with Linear Feedback Shift Registers (Verilog)
- Pseudo Random Number Generator with Linear Feedback Shift Registers (VHDL)
- Serial vs Parallel Arithmetic with Polynomials (VHDL)
- Stepping Motor Control (with VHDL)
Memory Modules
Peripheral Module Controllers
- 7-Segment Displays Pmod Controller (VHDL)
- ADC AD7476A Pmod Controller (VHDL)
- ADC AD7991 Pmod Controller (VHDL)
- Accelerometer ADXL345 Pmod Controller (VHDL)
- Accelerometer ADXL362 Pmod Controller (VHDL)
- DAC AD5628 Pmod Controller (VHDL)
- DAC DAC121S101 Pmod Controller (VHDL)
- Humidity and Temperature Sensor Pmod Controller (VHDL)
- I2S Pmod Quick Start (VHDL)
- Keypad Pmod Controller (VHDL)
- Real-Time Clock MCP79410 Pmod Controller (VHDL)
- Temperature Sensor TCN75A Pmod Controller (VHDL)
- Thermocouple Pmod Controller (VHDL)
- Ultrasonic Range Finder Pmod Interface (VHDL)
Soft Cores
- Real-Time Clock MCP79410 Pmod Controller (VHDL)Scott Larson (Mar 29, 2021)
- I2S Pmod Quick Start (VHDL)Scott Larson (Mar 26, 2021)
- Humidity and Temperature Sensor Pmod Controller (VHDL)Scott Larson (Mar 26, 2021)
- DAC DAC121S101 Pmod Controller (VHDL)Scott Larson (Mar 25, 2021)
- RAM (VHDL)Scott Larson (Mar 18, 2021)
- I2S Transceiver (VHDL)Scott Larson (Mar 18, 2021)
- SPI to I2C Bridge (VHDL)Scott Larson (Mar 16, 2021)
- PWM Generator (VHDL)Scott Larson (Mar 11, 2021)
- TMDS Encoder (VHDL)Scott Larson (Mar 11, 2021)
- Quadrature Decoder (VHDL)Scott Larson (Mar 11, 2021)
- Serial Peripheral Interface (SPI) Master (VHDL)Scott Larson (Feb 05, 2021)
- HomeScott Larson (Feb 05, 2021)
- Accelerometer ADXL362 Pmod Controller (VHDL)Scott Larson (Feb 05, 2021)
- ADXL362.pdfScott Larson (Feb 05, 2021)
- state_diagram.jpgScott Larson (Feb 05, 2021)
- block_diagram.jpgScott Larson (Feb 05, 2021)
- spi_master.vhdScott Larson (Feb 05, 2021)
- pmod_accelerometer_adxl362.vhdScott Larson (Feb 05, 2021)
- I2C Master (VHDL)Scott Larson (Dec 18, 2020)
- state_diagram.jpgScott Larson (Dec 18, 2020)