Skip to main content

PyPI License: MIT Bindings Code style: Ruff

MNT Designer: A Comprehensive Design Tool for Field-coupled Nanocomputing (FCN)

MNT Designer is a comprehensive, fully open-source, GUI-based tool that advances the design of Field-coupled Nanocomputing circuits from high-level logic specifications through to fabrication-ready, cell-level layouts. By unifying previously separate stages such as physical design, “on-the-fly” gate design, and verification in a graphical user interface, the tool streamlines an otherwise fragmented workflow. Specifically, it enables researchers and designers to import and edit high-level logic descriptions, generate and refine gate-level layouts, verify design-rule compliance, and export completed designs for simulation and fabrication. The modularity and scalability of the proposed approach accommodate both exact and heuristic algorithms, offering flexibility in tackling the wide range of problems and constraints inherent to FCN technologies. The ability to manually adjust layouts alongside automated post-layout optimization algorithms further empowers experts to explore custom solutions for performance-critical or domain-specific designs. Moreover, the integrated gate-design functionality for SiDBs facilitates rapid prototyping and testing of new concepts. Overall, by integrating these capabilities into a single, user-friendly environment, the presented tool fills a critical gap in existing FCN design tools. It thereby accelerates research and development in nanoscale computing, ultimately paving the way for more efficient, reliable, and scalable FCN circuits.

Related publication presented at DATE: paper and IEEE-NANO: paper.

Usage of MNT Designer

MNT Designer supports Python 3.11–3.14 and uses the published pyfiction 0.8.0 package. Create a virtual environment using your Python installation:

$ python3 -m venv .venv
$ source .venv/bin/activate

For fish, activate with source .venv/bin/activate.fish instead. On Windows PowerShell, use .venv\Scripts\Activate.ps1. Install and start Designer:

$ python -m pip install --upgrade mnt.designer
$ mnt-designer

The interface opens at http://127.0.0.1:5001. The original mnt.designer command remains supported. Use --help to see the options, or choose another port and open the browser yourself:

$ mnt-designer --port 5053 --no-browser

SiDB gate design

This optional feature needs a source build of pyfiction at 509b20aa, the commit that introduced shared design timeouts. Standard installs use pyfiction 0.8.0 and provide all other tools, including Bestagon export. To enable gate design, clone this repository and run this in your virtual environment, then restart Designer:

$ uv pip install --override requirements-sidb-design.txt -e '.[test]'

This opt-in build requires a C++20 compiler. The pin deliberately excludes later, incompatible Python API changes.

Choose Export → Design SiDB gates… to synthesize SiDB implementations for the current gate-level layout. Gate design requires 2DDWave clocking and a layout without design-rule errors. Designer converts the layout to hexagonal form and offers SVG or SiQAD (.sqd) downloads. The gate-level layout and Verilog remain unchanged. SiDB layout (Bestagon) exports the predefined Bestagon library without a gate search.

The search defaults to QuickCell with three canvas SiDBs per gate. You can choose one to three SiDBs or use exhaustive or random search. Physical parameters are adjustable: relative permittivity εᵣ (default 5.6), Thomas–Fermi screening length λTF (5.0 nm), charge-transition energy μ₋ (−0.32 eV), and two or three charge states (default three). Designer uses the default Bestagon canvas and predefined complex gates where possible at the default physical settings. Changing any physical parameter also searches for crossings and double wires under those conditions, using three canvas SiDBs for these complex gates. QuickCell and exhaustive search stop after the first solution; random search evaluates at most 10,000 candidates per gate. Some gate types and orientations are unsupported, and a search may find no implementation. Designer runs one search at a time in a separate process. Choose a search timeout of 1–55 seconds (default 55). Fiction shares this budget across the whole circuit, including all gate searches and nested simulations; it does not restart the budget for each gate. Native deadline checks are cooperative. Designer allows five extra seconds for worker startup and export, then kills the process if it has not exited. Either timeout returns no partial circuit. Closing the settings dialog does not cancel the search. Editing can continue; the download uses the layout snapshot cloned before serialization when the search started.

Development

Clone the repository and install it in a Python 3.11+ virtual environment:

$ git clone https://github.com/cda-tum/mnt-designer.git
$ cd mnt-designer
$ python -m pip install -e '.[test]'
$ python -m pytest
$ mnt-designer

The editable installation is needed to share the mnt namespace with pyfiction; setting PYTHONPATH alone is not sufficient. Run the repository checks with pre-commit run --all-files after installing pre-commit.

Package CI tests the published pyfiction 0.8.0 dependency. A separate integration job builds the optional SiDB pin and checks native gate design and timeout handling. The native gate-design tests skip when that capability is absent; the remaining tests run with either build.

Hosting notes

The built-in server is intended for local use and binds to loopback by default. For deployment, use a production WSGI server with mnt.designer.app:app and one worker process: layouts and logic networks are held in process-local memory, not shared between workers, and are lost when the server restarts. Export work you want to keep.

Request-body reads are limited to 5 MiB, including multipart upload overhead, before native layout or Verilog parsing. Rejected imports and editor saves leave the current layout and code unchanged. Configure a matching request-size limit in your reverse proxy when hosting Designer, including for streamed requests without a content length.

Designer generates a random session secret at startup. Set MNT_DESIGNER_SECRET_KEY to a securely generated secret if you need a stable signing key; this does not make the in-memory layouts persistent. See Flask's deployment guidance before exposing the application publicly.

References

In case you are using MNT Designer in your work, we would be thankful if you referred to it by citing the following publications:

@INPROCEEDINGS{hofmann2025codesign,
  author        = {S. Hofmann and M. Walter and R. Wille},
  title         = {{Late Breaking Results: Physical Co-Design for Field-coupled Nanocomputing}},
  booktitle     = {{Design, Automation and Test in Europe (DATE)}},
  year          = {2025},
}
@INPROCEEDINGS{hofmann2025mntdesigner,
  author        = {S. Hofmann and J. Drewniok and M. Walter and R. Wille},
  title         = {{MNT Designer: A Comprehensive Design Tool for Field-coupled Nanocomputing}},
  booktitle     = {{International Conference on Nanotechnology (IEEE Nano)}},
  year          = {2025},
}

Metadata

Release files for mnt.designer 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mnt.designer 0.2.1
File Size Uploaded Provenance Actions
mnt_designer-0.2.1.tar.gz 80.7 kB With provenance Details for mnt_designer-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mnt.designer 0.2.1
File Interpreter ABI Platform Actions
mnt_designer-0.2.1-py3-none-any.whl Python 3 none any Details for mnt_designer-0.2.1-py3-none-any.whl

Total release size: 140.1 kB

Release files / mnt_designer-0.2.1.tar.gz

Download URL mnt_designer-0.2.1.tar.gz
Size 80.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e1a496b423d1877734107647037798fc8cdb9b7eaf8a59d887626e59c3c48312
BLAKE2b-256 checksum
How to use checksums
9d403975ccdecb68c81c0f4ff22e78be575a9ebd6d778ef61a2b82bd78bf4245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / mnt_designer-0.2.1-py3-none-any.whl

Download URL mnt_designer-0.2.1-py3-none-any.whl
Size 59.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fca03a6a0db2f2a6434c79f16de5c4bc58a208238e540183033d014665e3cf3
BLAKE2b-256 checksum
How to use checksums
38f5594217c0fa79ef2a8ad1592df47eb3d2f3184772e98a45f85dd728f78991
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Security for mnt.designer 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mnt_designer-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page