Skip to content

Emulate radiation-induced faults on real FPGAs.

SK-RAFT injects targeted bit flips into AMD-Xilinx devices over JTAG, so you can see how your design behaves under radiation, right from your own desk. In hours, not months.

A laptop connected by a single USB cable to an FPGA development board, with bits travelling along the cable
Every memory in the chip

The circuit, and the data it runs on.

An FPGA has two kinds of memory. Many tools only flip bits in the configuration memory. SK-RAFT flips bits in both, while your design runs.

Configuration memory
Inject intoConfiguration RAM

Holds the design. A flip here changes the circuit itself.

Application memories
Inject intoFlip-flops

The state your design holds from one clock to the next.

Inject intoBlock RAM

The data your design stores while it runs.

Inject intoLUTRAM

Distributed memory built from the device's look-up tables.

Only where it matters

Spend your test time on the bits that can break you.

In a typical design, only a fraction of the configuration bits are essential. SK-RAFT can limit a campaign to what does matter, which saves a lot of test time:

Essential bits only: the bits that can break your design.

One area of the chip: a single Pblock.

One component of your design.

A grid of configuration bitsMost bits are unused. A cluster of essential bits holds the design. A particle strikes one essential bit and flips it from 0 to 1.1111100001111100101011001111100111BIT FLIP 0 → 1a single particle strikeESSENTIAL BITS
Illustration · essential bits are the ones your design uses
How it works

Access. Map. Configure and run.

Everything goes through JTAG. No hardware modification.

  1. 01 · Access

    SK-RAFT connects to the device over JTAG.

    It connects to the device's JTAG controller, the standard debug interface on every FPGA board. No modification and no extra hardware. That connection is the entry point to everything inside the device.

  2. 02 · Map

    It maps the device from your design files.

    SK-RAFT parses your design files and builds a complete model of the device. From then on it knows exactly where to reach, whether it is an essential configuration bit or an application memory bit in flip-flops, BRAM or LUTRAM, down to every region, frame and bit location.

  3. 03 · Configure & run

    You define the fault campaign.

    Choose what to inject, where, and how many times, or replay a campaign recorded at a radiation facility. SK-RAFT handles execution, observation and logging, automatically, repeatedly and deterministically.

Fits your test setup

A full campaign in plain Python.

Control SK-RAFT from Python API scripts. Other languages can be supported through its gRPC interface. Over the same USB cable (JTAG), SK-RAFT also sends inputs to your design and reads its outputs, so you see the effect of each bit flip at once.

  • 01Connect, reserve the board, program it
  • 02Configuration memory, essential bits only
  • 03Pblock and RTL-component targeting
  • 04Flip-flops, LUTRAM and BRAM
  • 05Readback to confirm every flip
campaign.py · SK-RAFT Python API
from skraft import (BscanPrimitive, Design, ReadbackOption, SkraftFpga,
                    TargetMemory)

# Vivado outputs: bitstream, essential bits (EBD), logic locations (LL), constraints (XDC)
design = Design(bit="top.bit", ebd="top.ebd", ll="top.ll", xdc="top.xdc")

# Clock gate of the design on BSCAN USER1, 1 bit: 1 = clock runs, 0 = clock stopped
CLOCK_EN = BscanPrimitive(1, 1)

with SkraftFpga.connect(ip="127.0.0.1", port=50051) as client:  # gRPC link to the server
    with client.attach("210183BA252EA") as dev:                 # reserve the board

        dev.uploadDesignToServer(design)       # send the design files to the server
        dev.programFPGA(design)                # program the FPGA through JTAG
        dev.configure_seed(42)                 # repeatable random locations
        print(dev.all_bit_counts())            # bits of each memory type

        # --- Configuration memory (CRAM) ---
        dev.inject_random(TargetMemory.CRAM)                  # any configuration bit
        r = dev.inject_random(TargetMemory.ESSENTIAL_CRAM)    # only bits the design uses
        dev.inject_at(r.far, r.word_index, r.bit_index,
                      TargetMemory.CRAM)                      # flip it back: corrected

        # --- Pblock targeting (pblocks of the XDC file) ---
        pblock = dev.pblocks()[0]
        print(dev.bit_count(TargetMemory.ESSENTIAL_CRAM, pblock=pblock.name))
        dev.inject_random(TargetMemory.ESSENTIAL_CRAM, pblock=pblock.name)  # inside it
        dev.inject_random(TargetMemory.ESSENTIAL_CRAM,
                          exclude_pblock={pblock.name})                    # outside it

        # One exact bit in the pblock, checked by reading its frame back
        region = dev.pblock_by_clause(pblock.clauses[0])[0]   # first frame of the pblock
        word = region.occupied_area[0].word_range.start
        bit = region.occupied_area[0].bit_range.start
        before = dev.readback_range(region.far, region.far)[0]
        dev.inject_at(region.far, word, bit, TargetMemory.CRAM)
        after = dev.readback_range(region.far, region.far)[0]
        print(f"{before.words[word].value ^ after.words[word].value:#010x}")  # the flipped bit

        dev.programFPGA(design)                # program again: clears every upset

        # --- Application memory: flip-flops, LUTRAM, BRAM (stop the clock first) ---
        dev.write_bscan(CLOCK_EN, 0)
        dev.inject_random(TargetMemory.FF)
        dev.inject_random(TargetMemory.LUTRAM)
        dev.inject_random(TargetMemory.BRAM)
        dev.inject_random(TargetMemory.FF | TargetMemory.BRAM)    # one pool, two memories

        # --- Component targeting (FF only): the flip-flops of one RTL instance ---
        component = dev.components()[0]                          # hierarchy from the LL file
        r = dev.inject_random(TargetMemory.FF, component=component.path)
        print(r.net_name)                                         # the flip-flop that was hit

        # Every flip-flop of the pblock, one upset each
        reports, count = dev.inject_exhaustive(TargetMemory.FF, pblock=pblock.name)

        # --- Readback ---
        frames = dev.readback(ReadbackOption.READBACK_CAPTURE)  # all frames + flip-flop values
        dev.write_bscan(CLOCK_EN, 1)                            # start the clock again
        frames = dev.readback(ReadbackOption.READBACK)          # all configuration frames

        dev.programFPGA(design)                # leave the board clean
What you measure

How often a bit flip becomes a failure.

A campaign measures your design's architectural vulnerability factor (AVF): the share of bit flips that reach an observable failure. AVF belongs to the design, not the silicon, so it can be combined with a device's per-bit sensitivity to estimate failure rate and availability on the device and orbit you are targeting.

A typical reliability engagement with our team delivers:

01

Test plan

What will be injected, where, and how often.

02

Fault-injection report

What was injected and how your design responded.

03

Dependability report

An estimate of failure rate and availability for your target device and orbit.

Supported devices

AMD-Xilinx today. Versal next.

  • 7-SeriesSupported
  • Zynq-7000Supported
  • UltraScale+Supported
  • Zynq UltraScale+Supported
  • VersalComing next

Working with another device? Tell us about it.

Find the bits that matter before the beam does.

Get free trial