Conversation
Move the public parameter schema and workspace override helpers into the data layer while keeping CLI compatibility facades.
Preserve creator input modes, flow filters, read-only configuration and signoff assessment semantics across CLI and headless APIs.
Reuse the report scoring policy for headless assessments and expose the committed step callback contract.
Keep ECC headless and leave Runtime Adapter transport dependencies to Studio.
Keep manifest audit timestamps, tolerate forward-version QoR facts and malformed checklists, and map collector failures to the signoff domain error.
Keep the CLI import paths as module aliases while making Project APIs independent of CLI internals, add read-only workspace loading, and materialize config-target parameters.
KoEkko
marked this pull request as draft
September 10, 2026 03:51
Keep configuration updates under an exclusive lock and recover from on-disk backups instead of restoring file bytes from process memory.
Move fail thresholds, weights, and metric selection into qor_scoring. CLI reports and Snapshot assessment call that module; stop documenting a GUI port and a second threshold table.
Bring in #243 so the branch sits on current ECC main.
Studio rejects the whole snapshot QoR section when any analysis metric uses category "power". Restore the canonical power_integrity mapping and remap existing on-disk qor_metrics.json when assembling snapshots.
Studio reads std_cell/macro/io-pad metrics plus database_facts and lvs_connectivity_summary from the snapshot. Emit those from existing feature JSON, and reject STA when pdk.sdc is unset instead of crashing.
Member
So after this PR is merged, what will the new transport solution be? |
Collaborator
Author
Member
Collaborator
Author
|
Python |
Sizer stores Timing Opt as timing_optimization_sizer. Snapshot analysis fell back to Timing optimization_sizer, so Studio showed empty QoR, layout, reports, and subflow for a successful step.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What Changed
chipcompiler.projectand expose load/create/mutate APIs that CLI reuses through compatibility aliases.chipcompiler.runtime,ecc rpc, FastAPI/jsonrpcserver/uvicorn). Transport stays outside ECC.Scope
Select the areas touched by this PR:
uv.lock, or release artifacts.Runtime And Packaging Impact
ecc-toolsorecc-dreamplacedependency changedNotes:
ecc rpcandchipcompiler.runtimeare gone. Studio must use Runtime Adapter plus these headless APIs.pyproject.toml,uv.lock, Nix, and PyInstaller collection.home/ecc.toml; failed updates restore the previous files under the workspace lock.Validation
List the commands you ran. Mark checks that are not applicable as N/A.
uv run pytest test/uv run ruff check chipcompiler test(scoped to changed engine/project/data/test paths)uv run ruff format --check chipcompiler test(same scoped paths)ecc --help,ecc --version,ecc version --jsonnix run .#cli -- --helpuv run pytest -q test/engine test/project test/cli/params/test_flow_filters.py test/cli/params/test_workspace_commands.py test/cli/commands/test_signoff.py test/data/test_workspace.py test/data/test_workspace_config.py test/packaging/test_cli_entrypoint.py— 199 passedSkipped checks and reason:
uv run pytest test/not run in this pass; CI Test job covers the remaining suite.ecc.specresource collection, not CLI entrypoint behavior.Checklist