/sphyctre

spectre simulation backend for machine learning purpouses

Primary LanguageHy

sphyctre

Spectre interace for Python written in hy.

This is mainly inteded as backend for machine learning implementations and not for humans.

Installation

After cloning

$ pip install .

Amplifier Characterization

from sphyctre import OpAnalyzer

pdk_path = f"some/path/to/pdk"
tb_path  = f"some/path/to/test/bench"

op = OpAnalyzer(tb_path, pdk_path)

performance = op.simulate({"Wcm1": 1e-6, "Ld": 0.5e-6})

print(performance)
print(op.simulation-results)

Getting Started and Examples

For more, see examples/.

TODO