Skip to content

Generic Test Infrastructure with Multi-Cluster Support#41

Merged
Xeratec merged 5 commits intopulp-platform:develfrom
Xeratec:pr/testing_abstraction
Mar 10, 2026
Merged

Generic Test Infrastructure with Multi-Cluster Support#41
Xeratec merged 5 commits intopulp-platform:develfrom
Xeratec:pr/testing_abstraction

Conversation

@Xeratec
Copy link
Member

@Xeratec Xeratec commented Feb 17, 2026

Changelog

This PR introduces a generic test infrastructure with interrupt-based printf support and multi-cluster testing capabilities, along with utility functions for the Snitch cluster runtime.

Added

  • Generic test infrastructure in targets/chimera-convolve/ with interrupt-based printf support
  • FLL (Frequency Locked Loop) support in host runtime (host/runtime/inc/fll.h, host/runtime/src/fll.c)
  • CLINT utility functions for interrupt management (host/runtime/inc/clint.h, host/runtime/src/clint.c)
  • Multi-cluster test support with improved abstraction layer

Changed

  • Refactored test infrastructure to support multiple clusters simultaneously
  • Updated all Snitch cluster tests (matmul, simpleOffload, snrt) to use the new generic test infrastructure
  • Updated crt0.S startup code across multiple targets (chimera-convolve, chimera-host, chimera-open)
  • Downgrade CMake Version for Ubuntu compatibility

Fixed

  • Improved test abstraction and consistency across different cluster configurations
  • Better interrupt handling and printf functionality in test environment

Checklist

  1. The PR is rebased on the latest devel commit and pointing to devel.
  2. Your PR reviewed and approved.
  3. The documentation is updated.
  4. All checks are passing.

@Xeratec Xeratec requested a review from viv-eth February 17, 2026 12:48
@Xeratec Xeratec self-assigned this Feb 17, 2026
@Xeratec Xeratec added the enhancement New feature or request label Feb 17, 2026
@Xeratec Xeratec force-pushed the pr/testing_abstraction branch from 2a83203 to 13b9e2c Compare February 17, 2026 13:53
@Xeratec Xeratec force-pushed the pr/testing_abstraction branch from 13b9e2c to b87bb15 Compare March 10, 2026 11:08
@Xeratec Xeratec force-pushed the pr/testing_abstraction branch from b87bb15 to 3068283 Compare March 10, 2026 11:22
Copy link
Contributor

@viv-eth viv-eth left a comment

Choose a reason for hiding this comment

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

Thank you for your contributions @Xeratec ! Nothing major, just some clarification requested.

@Xeratec Xeratec requested a review from viv-eth March 10, 2026 13:40
@Xeratec Xeratec merged commit 028d501 into pulp-platform:devel Mar 10, 2026
3 checks passed
@Xeratec Xeratec deleted the pr/testing_abstraction branch March 10, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants