This repository contains two official MOSbius chip versions:
V1/V2/
V1 and V2 are significantly different in architecture and features. Their software toolchains and config formats are incompatible.
In this repository, V1/ and V2/ are source folders only. On the Pico, copy one flow at a time to the Pico root (/) without keeping the V1 or V2 parent directory name.
V1/main.py: V1 entrypointMOSbius.py: V1 bitstream builder/programmer classconnections.json: V1 connection inputREADME.md: V1 usage details
V2/main.py: V2 runtime entrypoint (Pico + desktop-safe)config.json: V2 runtime configlib/: V2 runtime internals (driver, builder, validation, equations)tools/: V2 host utilities (generator, loader, validators)README.md: V2 runtime details
screenshots/: setup and usage images
- Use
V1/only with aV1chip andV1config/tooling. - Use
V2/only with aV2chip andV2config/tooling.
- Read
V1/README.md. - Copy
V1/MOSbius.py,V1/main.py, andV1/connections.jsonto Pico root (/) asMOSbius.py,main.py, andconnections.json. - Edit
V1/connections.jsonand runV1/main.py.
- Read
V2/README.md. - Copy
V2/main.py,V2/config.json, andV2/lib/to Pico root (/) asmain.py,config.json, andlib/. - Edit
V2/main.py(pins/timing/config path) and run it. - Optional host tools are under
V2/tools/.
Manual copy can be replaced with one command using mpremote.
- Install
mpremoteon your host:
pip install mpremote- Upload one flow to Pico root (
/):
# Upload V1 runtime files as /main.py, /MOSbius.py, /connections.json
scripts/upload_runtime.sh v1
# Upload V2 runtime files as /main.py, /config.json, /lib/...
scripts/upload_runtime.sh v2Optional flags:
# Specify serial port explicitly
scripts/upload_runtime.sh v2 --port /dev/tty.usbmodem1101
# Remove known files from the other flow before upload
scripts/upload_runtime.sh v2 --cleanFrom the repository root:
python3 V2/tools/validate_register_equations.py
python3 V2/tools/validate_sizing_equations.py- Do not mix files, scripts, or config formats between
V1andV2. - Both flows can run on desktop Python for bitstream generation without GPIO programming.