Embedded Function Block (EFB) IP Module

Embedded Function Block

During the holiday period (Dec 24 – Jan 4), response times from our Global Support Team may be longer than usual.

The Lattice EFB Module for the MachXO3D™ FPGA device is a hard architectural block that is known as the Embedded Function Block (EFB). The EFB includes an I2C, access to Configuration Blocks (CFG1), and User Flash Memory (UFM). All of these hard IP peripherals are addressable through the Advanced the Peripheral Bus (APB) interface of the Advanced Microcontroller Bus Architecture (AMBA) 3 protocol.

The design is implemented in Verilog HDL. It can be configured and generated using Lattice Propel Builder. It can be targeted to MachXO3D FPGA devices and implemented using the Lattice Diamond software Place and Route tool integrated with the Synplify Pro synthesis tool.

Features

  • Provides an interface to user logic through the WISHBONE interface.
  • Two I2C cores:
    • Operate as both controller and target.
    • Support configurable 7-bit and 10-bit addressing.
    • Support 50 kHz, 100 kHz, and 400 kHz data transfer speed.
    • The primary I2C core can access either flash memory or user logic.
  • One SPI core:
    • Configurable as either SPI controller/target or SPI target.
    • When configured as controller/target, the IP core can control up to eight other SPI target devices.
    • Provides an interface to flash memory or user logic through the WISHBONE interface.
    • Includes a Mode Fault Error flag with CPU interrupt.
    • Features a double-buffered data register for increased throughput.
    • Supports serial clock with programmable polarity and phase.
    • Supports both LSB-first and MSB-first data transfers.
  • Various Timer/Counter modes of operation:
    • Clear Timer on Compare Match (CTCM)
    • Watchdog Timer
    • Fast PWM
    • Phase and Frequency Correct PWM
  • Dynamic PLL configuration
Lattice Propel

Block Diagram

EFB Module Block Diagram

Documentation

Quick Reference
Information Resources
TITLE NUMBER VERSION DATE FORMAT SIZE
Select All
EFB (Embedded Function Block) IP Module User Guide - Lattice Propel Builder
FPGA-IPUG-02111 1.1 7/14/2025 PDF 293.5 KB
MachXO4 EFB Module IP Core - User Guide
FPGA-IPUG-02287 1.1 12/21/2025 PDF 2 MB
TITLE NUMBER VERSION DATE FORMAT SIZE
Select All
MachXO4 EFB Module IP Core - Release Notes
FPGA-RN-02079 1.0 12/11/2025 PDF 243.8 KB

*By clicking on the "Notify Me of Changes" button, you agree to receive notifications on changes to the document(s) you selected.