Migrate from chipflow_lib to chipflow package #60
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.
Summary
Migrates all imports from the deprecated
chipflow_libpackage name to the newchipflowpackage name, following the package rename in chipflow-lib (commit affc32b6, October 2025).This update ensures the examples use the current standard API while maintaining compatibility with the latest chipflow-lib.
Changes
API Migration:
chipflow_lib.platforms→chipflow.platformchipflow_lib.steps.*→chipflow.platform(step classes)chipflow_lib.config→chipflow.configchipflow_lib→chipflow(exceptions like ChipFlowError)Files Updated:
minimal/ (4 files):
design/design.py- Platform importsdesign/steps/board.py- BoardStep importdesign/steps/software.py- SoftwareStep importdesign/software/doit_build.py- Config importmcu_soc/ (7 files):
design/design.py- Platform importsdesign/steps/board.py- BoardStep importdesign/steps/software.py- SoftwareStep importdesign/steps/sim.py- SimStep, ChipFlowError, and resource importsdesign/software/doit_build.py- Config importdesign/ips/pwm.py- IO signature importsdesign/ips/pdm.py- IO signature importsTesting
✅ Code passes linter:
pdm lintshows no issues in updated directories✅ All imports use the current API structure
🤖 Generated with Claude Code