Copyright (c) 2026 — The University of Texas at Austin This work was produced under contract #2317831 to National Technology and Engineering Solutions of Sandia, LLC, which is under contract No. DE-NA0003525 with the U.S. Department of Energy.
This project provides analog circuit plug-ins for SANA-FE, a neuromorphic architecture simulator.
LASANA is a framework for training circuit surrogates that capture the energy, latency, and behavioural output of neuromorphic circuits as separate MLP or boosted tree models.
The plug-ins have been demonstrated on two circuits:
- An IMAC crossbar array (synapse + dendrite plug-in)
- An Indiveri adaptive integrate-and-fire neuron circuit (soma plug-in)
These surrogate models are adapted directly from the LASANA CodeOcean artifact, and allow analog circuits to be simulated extremely efficiently within large-scale architectural simulation.
Relevant model files have been included in this repo. However, if you want to manually install the models, it is possible to download the sklearn MLP circuit surrogate models from the CodeOcean artifact linked above, for both the analog crossbar and neuron circuits.
python scripts/convert_joblist_to_onnx.pyThis step is optional but recommended for faster model execution. It requires ONNX-MLIR to be set up on your system.
onnx-mlir -O3 --EmitObj <onnx_file>mkdir build && cd build
cmake ..
make -j4To build with ONNX-MLIR support instead of the default ONNX Runtime:
cmake -DUSE_ONNX_MLIR=ON ..Refer to SANA-FE's documentation for details on integrating plug-ins into a simulation.