Skip to content

Conversation

@LBFFilho
Copy link
Contributor

PR Description

Currently, the CS delay is one cycle longer than expected for the case where clock_div=0, due to the way the counter logic was implemented. This PR fixes it so the duration is always the same, matching the documented behavior.

PR Type

  • Bug fix (change that fixes an issue)
  • New feature (change that adds new functionality)
  • Breaking change (has dependencies in other repos or will cause CI to fail)
  • Documentation

PR Checklist

  • I have followed the code style guidelines
  • I have performed a self-review of changes
  • I have compiled all hdl projects and libraries affected by this PR
  • I have tested in hardware affected projects, at least on relevant boards
  • I have commented my code, at least hard-to-understand parts
  • I have signed off all commits from this PR
  • I have updated the documentation (wiki pages, ReadMe files, Copyright etc)
  • I have not introduced new Warnings/Critical Warnings on compilation
  • I have added new hdl testbenches or updated existing ones

@LBFFilho LBFFilho merged commit 5a31101 into main May 7, 2025
3 of 5 checks passed
@LBFFilho LBFFilho deleted the cs_sleep_fix branch May 7, 2025 18:55
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.

3 participants