GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DI-PASSIONATE/COBRA: AI-assisted RFIC optimization framework combining ONNX surrogate models, Qucs-S/Xyce circuit simulation, and AWS Palace fine-tuning for open-source electronic design automation (EDA).

BranchesTags
Open more actions menu

Latest commit

 

History

314 Commits
314 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
.github/workflows
.github/workflows
 
 
docs
docs
 
 
examples
examples
 
 
src/cobra
src/cobra
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CITATION.cff
CITATION.cff
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
mkdocs.yml
mkdocs.yml
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

COBRA - A Circuit-Level Open-Source Based RFIC AI-Assisted Optimizer

Documentation License Python PyPI Tests GitHub stars

©2026

Gianluca Simone*, David Lurz*, Martin Grund*, Fabian Schneider°, Michael Loose*, Sascha Breun*, Manuel Koch*, Robert Weigel*, Norman Franchi*

* Institute for Smart Electronics and Systems (LITES), Friedrich-Alexander-Universität (FAU), Erlangen-Nürnberg, Germany

° Chair of Integrated Electronic Systems, Otto-von-Guericke-University Magdeburg, Germany

Paper | Documentation | BibTex

COBRA is an open-source EDA tool for AI-assisted RFIC (RF integrated circuit) design. It optimizes a circuit towards your design goals: surrogate models built by ORCA predict the passives' S-parameters in milliseconds, Xyce or VACASK simulates the circuit, and Optuna proposes the next design.

COBRA GUI screenshot showing netlist loading, component mapping, design goal configuration, and optimization controls

COBRA GUI screenshot showing real-time S-parameter and loss plots during optimization

Note

COBRA is under active development. If you run into a problem or have a question, please open an issue.

Key Features

  • Surrogates and fixed components in one circuit: ORCA's ONNX models for geometries to optimize, Touchstone files for everything else.
  • Goals from many analyses: S-parameters, inductance, Q and coupling, noise figure, harmonic balance and transient power, gain and isolation, or your own formula over them.
  • Geometry and circuit together: optimize layout dimensions and netlist values in the same run.
  • EM verification: simulate the result full-wave with Palace and retune the circuit on it.
  • GUI, command line and Python: GUI and command line share one JSON configuration.
  • Shared models: browse and download surrogates from Hugging Face in the GUI.

Installation

COBRA needs Python 3.11 to 3.13 and Xyce or VACASK. It is published on PyPI as cobra-rfic; the import package and the command are called cobra.

pip install cobra-rfic             # or: uv tool install cobra-rfic
pip install "cobra-rfic[orca]"     # with ORCA, for EM fine-tuning
cobra doctor                       # check simulators and packages

From source, with uv:

git clone https://github.com/DI-PASSIONATE/COBRA
cd COBRA
uv sync
uv run pytest

See the installation guide for the external tools and other setups.

Quickstart

Start the GUI, load a netlist (e.g. from Qucs-S), pick a model per component, add goals and parameters, and run:

cobra

Or run without the GUI:

cobra init design.cir --model X1=models/coil.onnx -o cobra_config.json
cobra parse cobra_config.json      # check it
cobra run cobra_config.json

Or from Python, as in examples/main.py. Each run writes its parameters, history and simulation results to results/<timestamp>_<netlist>/.

How It Works

Each trial:

  1. The optimizer proposes geometry and netlist values.
  2. The surrogates predict each component's S-parameters.
  3. Vector fitting turns them into subcircuits a SPICE simulator can use.
  4. Xyce or VACASK runs every analysis the goals need.
  5. Each goal's miss becomes a penalty, from which the optimizer proposes the next trial.

Documentation

Topic Page
First run Quickstart
Interfaces GUI, command line, Python
Goals, parameters, optimizers and simulators JSON configuration
Examples Examples
Problems Troubleshooting, FAQ

Cite This Work

If you use COBRA in your research, please cite our SBCCI 2026 paper:

@INPROCEEDINGS{2026_COBRA,
  author={Simone, Gianluca and Lurz, David and Grund, Martin and Schneider, Fabian and Loose, Michael and Breun, Sascha and Koch, Manuel and Weigel, Robert and Franchi, Norman},
  booktitle={2026 39th SBC/SBMicro/IEEE Symposium on Integrated Circuits and Systems Design (SBCCI)},
  title={{COBRA: An AI-Assisted Circuit-Level Optimizer for Open Source Based RFIC Design}},
  year={2026},
  month={aug},
  pages={1--5},
  organization={IEEE},
  doi={10.1109/SBCCI69725.2026.11706804},
  keywords={artificial intelligence, design automation, EDA, neural network, open-source, optimization, Palace, Qucs-S, radio frequency integrated circuit, surrogate model, Xyce}
}

Acknowledgements

This work was supported by the Bundesministerium für Forschung, Technologie und Raumfahrt (BMFTR) under the DI-PASSIONATE project. We appreciate the scientific support and HPC resources provided by the Erlangen National High Performance Computing Center (NHR@FAU) of the Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU). The hardware is funded by the German Research Foundation (DFG).

We thank our colleagues in the LITES institute for their feedback and support during development. Special thanks to the open-source community for providing the tools and libraries that made this project possible, including but not limited to:

  • gdsfactory
  • gds2palace
  • setupEM
  • Palace
  • PyTorch
  • ONNX
  • scikit-rf
  • OpenStack
Lehrstuhl für Intelligente Technische Elektronik und Systeme @ FAU DI-PASSIONATE Project (funded by BMFTR)

About

AI-assisted RFIC optimization framework combining ONNX surrogate models, Qucs-S/Xyce circuit simulation, and AWS Palace fine-tuning for open-source electronic design automation (EDA).

di-passionate.github.io/COBRA/

Topics

aiedaguimicrowave-engineeringonnxopen-sourceopen-source-edaoptimizationoptunapalacequcs-srfics-parameterssci-mlspicexyce

Resources

Readme
Apache-2.0 license

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

9 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.