Fault Simulation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
stefan a74881de49 basic project setup, tools and fsim 3 weeks ago
kyupy@449bf9a031 basic project setup, tools and fsim 3 weeks ago
src/fsim basic project setup, tools and fsim 3 weeks ago
tests basic project setup, tools and fsim 3 weeks ago
.gitignore basic project setup, tools and fsim 3 weeks ago
.gitmodules basic project setup, tools and fsim 3 weeks ago
.python-version basic project setup, tools and fsim 3 weeks ago
README.md basic project setup, tools and fsim 3 weeks ago
flake.lock basic project setup, tools and fsim 3 weeks ago
flake.nix basic project setup, tools and fsim 3 weeks ago
main.py basic project setup, tools and fsim 3 weeks ago
pyproject.toml basic project setup, tools and fsim 3 weeks ago
uv.lock basic project setup, tools and fsim 3 weeks ago

README.md

Fault Simulation

PPSFP (Parallel-Pattern Single-Fault Propagation) style fault simulators and other utility functions for use in various projects. These fault simulators are meant to be correct (ensured by unit-tests) and reasonably fast.

Quick Start

This project has submodules. To ensure everything is up-to-date, run

git submodule update --init --recursive

after git clone, git pull or git checkout.

This project manages reproducible programming environments with:

  • uv for managing python environments.
  • nix for managing non-python tools and benchmark designs. Follow this guide or this guide to setup nix-eda binary cache to avoid re-building EDA-related tools.

Smoke-test: uv run pytest

For running Jupyter Notebooks in the reproducible programming environment, install a kernelspec with this command:

uv run ipython kernel install --user --env VIRTUAL_ENV $(pwd)/.venv --env PATH ${PATH} --name=uv-env

Run a Jupyter Lab server locally:

uv run jupyter lab

Choose uv-env as kernel in Jupyter Lab.

uv run main.py <circuit> runs a naive, baseline fault simulation.

nix develop makes quaigh available, another simulator/atpg written in rust.