Skip to content

Repository files navigation

rfic-transformer-inverse-design

Python tools for RFIC transformer layout generation, EMX-oriented export, S-parameter analysis, and geometry optimization.

1. Inverse-Design Loop

Start with target electrical behavior and design constraints, generate a layout, evaluate the candidate, then use optimization to improve the next design.

RFIC transformer inverse design overview

2. GUI Workflow

In the GUI, the user enters target specs, starts the optimizer, watches generated layouts and EMX results, then selects the best design from the evaluated candidates.

Workflow for defining targets, running optimization, and selecting the best design

3. Results Review

The output combines the final layout, tunable geometry values, S-parameter derived curves, and target-versus-design metrics so the selected transformer can be reviewed before handoff.

Example optimized RFIC transformer results with layout and performance metrics

Install

Base package:

pip install .

Development install:

pip install -e ".[gui,opt,test]"
python -m pytest -q

Python 3.10 or newer is required.

Optional extras:

pip install ".[gui]"      # Qt GUI and stackup viewer dependencies
pip install ".[opt]"      # CMA-ES / TuRBO optimizer dependencies
pip install ".[test]"     # pytest dependencies

Command Line

rfic-transformer-inverse-design --help
rfic-transformer-inverse-design-gui --help

The Python import package is:

import rfic_transformer_inverse_design
from rfic_transformer_inverse_design.api import default_run_config, TransformerOptimizer

EMX And Cadence

EMX/Cadence execution requires local configuration. At minimum, provide the tool paths, process file, layer map, PDK cds.lib, tech library name, and any license environment required by your site.

The built-in defaults intentionally use placeholders such as:

  • /opt/cadence/IC
  • /path/to/pdk/cds.lib
  • /path/to/pdk/layers.layermap
  • exampleTechLib

Configure real values in your run config rather than committing them to the repository.

Development

python -m pip install -e ".[gui,opt,test]"
python -m pytest -q

For headless Qt tests:

export QT_QPA_PLATFORM=offscreen

License

MIT. See LICENSE.

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages