Skip to content

SDK Stability, Simulation Performance, and Host Utility Improvements#37

Merged
Xeratec merged 14 commits intopulp-platform:develfrom
Xeratec:pr/sdk_improvements
Feb 17, 2026
Merged

SDK Stability, Simulation Performance, and Host Utility Improvements#37
Xeratec merged 14 commits intopulp-platform:develfrom
Xeratec:pr/sdk_improvements

Conversation

@Xeratec
Copy link
Member

@Xeratec Xeratec commented Jan 16, 2026

Changelog

This PR introduces several SDK, host, and simulation improvements focused on correctness, performance, and maintainability.

Added

  • Support for ASIC targets in the runner script.
  • getc and flush support for host-side stdio.

Changed

  • Minor utility refactoring and general SDK cleanup.
  • Cleaned up the picolibc CMake build flow.
  • Increased default UART baud rate to 9600.
  • Improved default frequency estimation accuracy (1.56%).
  • Reduced .bss size and skipped UART initialization in RTL to accelerate simulations.

Fixed

  • Correct handling of CLINT sleep behavior and interrupt handler stack.
  • Properly set busy flag in interrupt handler.
  • Fixed overflow in 32-bit clint_get_core_freq.
  • Improved RTL simulation speed and overall stability.

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 self-assigned this Jan 16, 2026
@Xeratec Xeratec added bug Something isn't working enhancement New feature or request labels Jan 16, 2026
@Xeratec Xeratec force-pushed the pr/sdk_improvements branch from 8b7daad to 00f923f Compare January 16, 2026 14:18
@Xeratec Xeratec force-pushed the pr/sdk_improvements branch from 00f923f to fd010ab Compare February 2, 2026 14:45
@Xeratec Xeratec marked this pull request as ready for review February 2, 2026 14:46
@Xeratec Xeratec requested a review from viv-eth February 2, 2026 14:46
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.

Few minor nitpicks, but overall LGTM! Thank you for your contribution @Xeratec .

Copy link
Member Author

@Xeratec Xeratec left a comment

Choose a reason for hiding this comment

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

I implemented the requested changes in 8f2e466

IMPORTANT: There are currently some assumptions on the number of clusters in the SoC. I know this is not ideal, but I prefer to fix this in my work for the multi ABI/ISA support where I need to do some file restructuring anyway and properly test on a fully heterogeneous SoC.

@Xeratec Xeratec merged commit 4121500 into pulp-platform:devel Feb 17, 2026
3 checks passed
@Xeratec Xeratec deleted the pr/sdk_improvements branch February 17, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants