Skip to content

feat(openroad): Integrate OpenROAD RTL-to-GDSII physical design flow for eSim 2.6 - #666

Open
Barun-2005 wants to merge 1 commit into
FOSSEE:masterfrom
Barun-2005:feature/openroad-esim-2.6-integration
Open

Barun-2005 wants to merge 1 commit into
FOSSEE:masterfrom
Barun-2005:feature/openroad-esim-2.6-integration

Conversation

@Barun-2005

@Barun-2005 Barun-2005 commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

Related Issues

Relates to #466

Purpose

Integrate end-to-end RTL-to-GDSII digital physical design capabilities directly into eSim 2.6 via OpenROAD Flow Scripts (ORFS), Yosys, and KLayout (ghcr.io/fossee/esim-openroad-flow:v2.6), supporting Verilog/SystemVerilog designs, eSim SPICE schematics (.cir / .cir.out), and hard-macro SoCs across sky130hd, nangate45, gf180, and ihp-sg13g2.

Approach

  • eSim 2.6 GUI & Dock Integration (src/frontEnd/, src/maker/NgVeri.py, images/):
    • Added OpenROAD Flow action (LAYOUT rail + Tools menu) in src/frontEnd/Application.py.
    • Added single-instance dockable viewer & tab focus helper (openroadEditor) in src/frontEnd/DockArea.py.
    • Added Physical Design (OpenROAD) button and launcher hook in src/maker/NgVeri.py.
  • Execution Bridge & Dual-Track Floorplanner (src/maker/openroad_bridge.py):
    • Automated Docker container lifecycle, cross-platform host/container path translation, and checkpoint/micrograph harvesting.
    • Track 2 (Auto-Sizing): Automatic utilization-driven floorplanning with PDN-0185 die-area auto-recovery and .esim_build_sig caching.
    • Track 1 (Custom / Macro SoCs): Explicit die/core constraints, macro halo sanitization, hand-written macro_placement.tcl / RTL-MP, multi-clock SDC generation, and LEF/GDS/metal-layer mismatch diagnostics.
  • Physical Design & Signoff Cockpit (src/maker/OpenROADViewerDialog.py):
    • Live log streaming, stage-by-stage or full-flow execution, 4-tier settings persistence (sizing_mode isolated per project), high-resolution Layout/CTS/Power/Congestion viewers, Signoff Dashboard, Stage Diagnostics modal, and KLayout launch.
    • All modal popups routed through configuration.Dialogs (verified with src/configuration/tests/test_dialog_hygiene.py).
  • Universal Netlist-to-Verilog Converter (src/maker/netlist_converter/):
    • Modular .cir / .cir.out parser, vector bus grouping, XSPICE primitive lowering, synthesizable Verilog emitter, SDC generator, and testbench emitter.
  • Container Tooling, Release Packaging & Automation (openroad/, .github/workflows/openroad-release.yml, docs/):
    • openroad/: Dockerfile, docker-compose.yml (with local build fallback), cross-platform setup/overlay installers (install.bat, install.ps1, install.sh, install_macos.sh), and build_distribution.py (supporting direct packaging from FOSSEE/eSim).
    • .github/workflows/openroad-release.yml: Runs hygiene/unit verification and builds overlay installers (eSim_OpenROAD_Integration-2.6.0.zip for Windows, .tar.gz for Linux/macOS, SHA256SUMS) on PRs; upon merge to master, tag openroad-v*, or workflow_dispatch, builds and publishes ghcr.io/fossee/esim-openroad-flow:v2.6 and attaches the cross-platform installer archives to GitHub Releases.
    • docs/OPENROAD_INTEGRATION.md & docs/images/: Architecture and workflow documentation.
  • Automated Tests (src/maker/tests/):
    • test_openroad_netlist_elaboration.py and test_openroad_macro_harvesting.py (30 tests passing alongside test_dialog_hygiene.py).

Contributions

  • @Barun-2005: eSim 2.6 GUI and dock integration (src/frontEnd/, NgVeri.py), OpenROAD flow bridge and Dual-Track floorplanner (openroad_bridge.py), PyQt6 Physical Design & Signoff Cockpit (OpenROADViewerDialog.py), cross-platform installers/packaging (openroad/), GitHub Actions workflow, documentation, and Windows verification (87 runs across 24 designs, Track 1 Ibex_SoC/Chameleon_SoC).
  • @juned-pinjari: Netlist-to-RTL SPICE conversion module (src/maker/netlist_converter/), Ubuntu 24.04 Linux verification (83 runs), and 3 compatibility fixes (top_module_name fallback, LEF macro gating, numeric-prefix PDN recovery).

@Barun-2005
Barun-2005 force-pushed the feature/openroad-esim-2.6-integration branch 2 times, most recently from 4f59e59 to 4210e9c Compare December 6, 2026 13:10
… for eSim 2.6

Relates to FOSSEE#466

OpenROAD Bridge, PyQt6 GUI, Packaging & CI (Barun-2005):
- Add OpenROAD Flow toolbar button, LAYOUT rail entry, and Tools menu hook in src/frontEnd/Application.py
- Add single-instance dockable OpenROAD viewer tab in src/frontEnd/DockArea.py
- Add Physical Design (OpenROAD) trigger in src/maker/NgVeri.py
- Add src/maker/openroad_bridge.py (Docker ORFS flow, Dual-Track floorplan, PDN-0185 recovery, diagnostics, signoff parser)
- Add src/maker/OpenROADViewerDialog.py (PyQt6 Physical Design & Signoff Cockpit routed via configuration.Dialogs)
- Add openroad/ container/installer assets, docs/OPENROAD_INTEGRATION.md, GitHub Actions GHCR/release workflow, and Windows verification

Netlist-to-RTL Conversion, Linux Testing & Fixes (juned-pinjari):
- Contribute src/maker/netlist_converter/ SPICE (.cir/.cir.out) to Verilog/SDC/TB converter
- Contribute Ubuntu 24.04 verification tests and 3 compatibility fixes (top_module_name fallback, LEF macro gating, numeric-prefix PDN recovery)

Co-authored-by: Juned Pinjari <junedp999@gmail.com>
@Barun-2005
Barun-2005 force-pushed the feature/openroad-esim-2.6-integration branch from 4210e9c to 44e0a46 Compare December 6, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant