SPI 4.2 MACO Core

IP ExpressThe LatticeSCM SPI4 MACO™ IP core implements an industry standard SPI4.2 interface used to transfer both variable length packets and fixed cell sizes between PHY and Link Layer devices in telecom and datacom applications. This flexibility makes it an attractive interface for Ethernet, SONET and ATM applications. Until now, this popular interface was only available as soft IP in FPGAs. The LatticeSCM device implements this core in an optimal combination of hard and soft gates to reduce the size of the core, reduce power and enhance user flexibility. Specifically, the Data Path is implemented in hard logic while the Status path is implemented in soft gates to enable designers to implement their own calendaring or prioritization schemes if they so choose.

Software Requirements

  • ispLEVER version 7.0 or later
  • MACO design kit
  • MACO license file

Features

  • Fully compliant with OIF-SPI4.02.0 Specification
  • Supports up to 256 logical ports
  • 700 Mbps operation in Static Mode
  • 1+ Gbps operation in Dynamic Mode
  • Transmit/Receive Data Path
    • 16 bits wide, in-band port address, SOP, EOP indication, error control
    • LVDS I/O (IEEE 1596.3 – 1966 [1], ANSI/TIA/EIA-644-1995[2]
    • Source synchronous double edge clocking at 311MHz minimum
  • Static and Dynamic Alignment Modes
    • Up to 1 Gbps Dynamic Phase Alignment
    • Up to 700 MHz Static Alignment
    • Additional Quarter Rate Mode for sub 10G traffic
  • Transmit/Receive FIFO Status
    • 2 bit parallel FIFO status indication, in-band Start of FIFO status
    • LVTTL I/O or optional LVDS I/O (IEEE 1596.3)
    • Source synchronous clocking
  • Various run-time user controls:
    • Individual receiver/transmitter resets
    • De-skew only reset, AIL only reset
    • Force idles (transmitter)
    • Enable/Disable Packing (transmitter)
    • Training Pattern (CAL_M, MAX_T) Programmable burst modes to support NPU requirements
  • Link Layer Buffer Management Options (NEW):
    • Shared or per-channel buffer manager
    • Up to 16 separate physical FIFOs per Tx/Rx direction
    • Transmit Bandwidth Manager and Receive Channel Mapper
    • Parameterizable packet overflow and packet error drop
    • Graceful packet overflow drop
    • Both store & forward as well as cut-through operation
    • Parameterizable independent buffer depth per transmit and receive direction
    • Per channel empty, almost empty, full and almost full status
    • Programmable almost empty and almost full thresholds per channel
    • Dynamic channel provisioning
    • Programmable sequencer based scheduler.
  • Supported by System Bus and Serial Memory Interface (SMI) for in-circuit controllability
  • Pre-engineered hard cores using MACO technology to conserve power, FPGA resources and designer time
  • Multiple SPI4 IP core support per device
  • Supported in Windows, Linux, or Unix based tool flows
  • Supports both Verilog and VHDL tool flows

Jump to

Block Diagram

SPI4 MACO Core implementation Block Diagram SPI4 MACO TX architecture

Performance and Size

Results for LatticeSCM
Configuration Utilization
Device Pkg Status Mode SLICEs LUTs REGs EBRs
SCM40 1,020 Transparent 837 940 1,200 14
SCM40 1,152 RAM 1,011 1,186 1,297 14

1.Performance and utilization characteristics using Lattice ispLEVER 7.1 software. When using this IP core with different software or in a different speed grade, performance may vary. Performance and utilization characteristics have been verified on the latest version of Lattice ispLEVER software to be within ± 5% of the above numbers.

Buffer Manager Resource Utilization1, 2, 3

Results for LatticeSCM
Configuration Utilization
Device Chan Buffer Size Mode Package SLICEs2 LUTs2 REGs EBRs
SCM15-6 1 32K(R/T) Drop 256 2,038 2,638 2,432 46
SCM25-6 4 16K(R/T) Drop 900 4,252 6,610 5,310 78
SCM40-6 8 16K(R/T) Drop 1,152 7,373 11,922 9,163 142
SCM115-6 16 32K-R,
16K-T
Drop 1,704 13,119 22,582 17,019 398

1. Performance and utilization characteristics were obtained using Lattice ispLEVER 7.1 software. When using this IP core with different software, performance may vary. Performance and utilization characteristics have been verified on the latest version of Lattice ispLEVER software to be within ± 5% of the above numbers.
2. For cases where a multi-channel interleaved SPI4 line (configured via the GUI) is received into the SPI4 IP core, add ~1250 slices and ~1700 luts to the utilization numbers above.
3. The utilization numbers above were obtained through place and route of the “core only” design that is automatically created during IP core generation. For these cases, place and route was run using a -6 speed grade device and constraints consistent with a 16Gbps SPI4 line (500 MHz DDR). Depending line rate required and complexity of user logic functions, a slower speed grade (-5) may be used or a faster speed grade (-7) device may be required.

Ordering Information

Licensing

All MACO IP is free of charge. However a license key is required to enable simulation and bitstream generation. Please contact your local Lattice Sales Office to obtain your MACO IP license key.

Documentation

Quick Reference
TITLE NUMBER VERSION DATE FORMAT SIZE
Select All
SPI4 MACO Core User's Guide
IPUG44 02.5 12/17/2009 PDF 2.2 MB

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