Skip to content

Add support for CPU selection; Update Py2HWSW version.#4

Merged
jjts merged 9 commits intoIObundle:mainfrom
arturum1:main
Nov 10, 2025
Merged

Add support for CPU selection; Update Py2HWSW version.#4
jjts merged 9 commits intoIObundle:mainfrom
arturum1:main

Conversation

@arturum1
Copy link
Contributor

@arturum1 arturum1 commented Sep 19, 2025

Add 'CPU' Makefile variable and corresponding 'cpu' python parameter in soc_linux.py; Refactor soc_linux.py.

@arturum1
Copy link
Contributor Author

arturum1 commented Nov 3, 2025

VexiiRiscv CPU is not yet fully working with linux, but remaining changes of this PR still apply.

@arturum1 arturum1 marked this pull request as ready for review November 3, 2025 15:52
@jjts jjts requested review from P-Miranda and Copilot November 3, 2025 17:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR restructures the soc_linux core configuration to expose CPU selection as a parameter and updates testing to validate multiple CPU options. The changes simplify the parent core parameter passing mechanism and update the py2hwsw dependency.

  • Refactored soc_linux.py to move attributes outside the parent dictionary and enable CPU selection
  • Added CPU parameter support to the Makefile build system
  • Updated CI workflow to run comprehensive sim-test instead of single sim-run

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
soc_linux.py Restructured core attributes dictionary, moved board list and ports to top level, exposed CPU parameter with default "iob_vexriscv"
Makefile Added CPU parameter handling and updated sim-test to validate both iob_vexriscv and iob_naxriscv CPUs
default.nix Updated py2hwsw dependency commit hash and SHA256
.github/workflows/ci.yml Changed test command from sim-run to sim-test for broader validation coverage

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

arturum1 and others added 2 commits November 3, 2025 17:19
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jjts jjts merged commit 7337325 into IObundle:main Nov 10, 2025
3 checks passed
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.

4 participants