Skip to main content

MBIST wrapper and fault-flow generator

Project description

autombist

autombist automatically generates MBIST integration artifacts for OpenRAM-generated SRAM macros. It builds a selectable MBIST wrapper around your memory interface, emits the required MBIST RTL files, and creates outputs under out/ by default.

The generated artifacts can be synthesized with Yosys or other synthesis tools. autombist also supports fault simulation by injecting stuck-at faults (SA0 and SA1) or transition faults (transition-up and transition-down) and validating behavior through Cocotb with Icarus Verilog.

What It Generates

For each memory in your config, autombist generates a module directory under out/<memory_name>/ with:

  • MBIST wrapper Verilog
  • Required MBIST RTL support files
  • Optional saboteur wrapper for fault injection (--test mode)
  • Optional fault masks and a local simulation Makefile (--test mode)
  • Algorithm-specific RTL for the selected --algo family

Prerequisites

  1. Python 3.10+
  2. OpenRAM-generated memory and matching config file
  3. For fault simulation:
    • Icarus Verilog (iverilog) installed system-wide
    • Cocotb installed in your Python environment

Installation

Install from the repository root:

python -m pip install .

For development:

python -m pip install -e .

Or you can install directly with Pypi:

python -m pip install autombist

Quick Start

Generate MBIST outputs using the default output directory (out):

autombist generate --config config.yml --out out

Run generation + simulation in one step:

autombist run --config config.yml --out out

Fault Simulation Flow

Generate fault-enabled artifacts (saboteur + fault masks + module Makefile):

autombist generate --config config.yml --out out --test --faults 50 --seed 1234 --algo march-c --fault-type stuck-at

This command injects random SA0/SA1 faults into the memory model and writes fault files to:

out/<memory_name>/faults/

Then run simulation:

autombist simulate --out out/<memory_name>

For transition fault simulation, set --fault-type transition-up or --fault-type transition-down, then run autombist simulate --out out/<memory_name>.

OpenRAM Synthesis + Starter Scaffolding

Generate starter files (config.yml, openram.yml, and Makefile) for a new project:

autombist init --out .

Synthesize SRAM through OpenRAM from config:

autombist ram-synth --config openram.yml

Show the exact OpenRAM command before execution:

autombist ram-synth --config openram.yml --show-command

Run installation smoke checks (generation + OpenRAM config parse + optional small fault simulations for coverage):

autombist smoke
autombist smoke --no-sim

Synthesis

Use the generated wrapper and MBIST RTL files in your synthesis flow (for example, Yosys or equivalent EDA tools).

CLI Help

autombist --help
autombist --version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autombist-1.1.1.tar.gz (44.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autombist-1.1.1-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

Details for the file autombist-1.1.1.tar.gz.

File metadata

  • Download URL: autombist-1.1.1.tar.gz
  • Upload date:
  • Size: 44.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for autombist-1.1.1.tar.gz
Algorithm Hash digest
SHA256 61ef7c36456655cf597ff2e9fa74a8e409fbaec8bed760643ebbcf7d13579493
MD5 1b4859834c00ad9a8eca91a1afd10302
BLAKE2b-256 ac46491f7ef506ea2727e25795907673a940cd5afac0973d1d71e02f514ef30d

See more details on using hashes here.

Provenance

The following attestation bundles were made for autombist-1.1.1.tar.gz:

Publisher: publish.yml on ranaumarnadeem/autoMBIST

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file autombist-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: autombist-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 54.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for autombist-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd21c3e68ccd59fb91e46eedd01967d42c84e59b9c0bfb5c7df0beadfc5b2165
MD5 cb04af3c77a3f1200f6475ea77d019b5
BLAKE2b-256 7b05ff6992b9577f13bf6d7eca5cee8c6f7c340f50eff4f11a71bfcf1d416f5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for autombist-1.1.1-py3-none-any.whl:

Publisher: publish.yml on ranaumarnadeem/autoMBIST

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page