Skip to content

276 implement zbkb - #282

Open
Waffles3438 wants to merge 13 commits into
mainfrom
276-implement-zbkb
Open

276 implement zbkb#282
Waffles3438 wants to merge 13 commits into
mainfrom
276-implement-zbkb

Conversation

@Waffles3438

Copy link
Copy Markdown

implemented zbkb
created, ran and passes all tests
also made it so every branch can use actions, not just main
im so sorry for all the prs 😭

implemented zbkb using zbb as reference.

not tested, but had claude check over everything
kept original variable names, using a, b and out
passes all tests
@Waffles3438 Waffles3438 linked an issue Aug 26, 2026 that may be closed by this pull request
@github-actions

github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown

🔧 DE1-SoC Synthesis Report Summary Diff

  • RV32I

    1. Fitter Summary

      @@ -1,4 +1,4 @@
      -Fitter Status : Successful - Wed Aug 26 07:21:37 2026
      +Fitter Status : Successful - Thu Aug 27 15:51:06 2026
       Quartus Prime Version : 25.1std.0 Build 1129 10/21/2025 SC Lite Edition
       Revision Name : utoss-risc-v
       Top-level Entity Name : top
    2. Fitter by entity
      No changes detected

    3. Timing
      No changes detected

  • RV32IB

    1. Fitter Summary

      @@ -1,4 +1,4 @@
      -Fitter Status : Successful - Wed Aug 26 07:21:32 2026
      +Fitter Status : Successful - Thu Aug 27 15:51:27 2026
       Quartus Prime Version : 25.1std.0 Build 1129 10/21/2025 SC Lite Edition
       Revision Name : utoss-risc-v
       Top-level Entity Name : top
    2. Fitter by entity
      No changes detected

    3. Timing
      No changes detected


Comparing synthesis results from main branch vs. this PR

Comment thread .github/workflows/ci.yaml
Comment thread src/interfaces/New Text Document.txt Outdated
Comment thread README.md
Comment thread src/ext/b/zbkb.sv
B_ALU_CTRL__ROL: out = get_rol(a, b[SHIFT_WIDTH - 1:0]); // rol (rotate left)
B_ALU_CTRL__ROR: out = get_ror(a, b[SHIFT_WIDTH - 1:0]); // ror (rotate right)
B_ALU_CTRL__RORI: out = get_ror(a, b[SHIFT_WIDTH - 1:0]); // rori (rotate right immediate)
B_ALU_CTRL__ANDN: out = a & ~b; // andn

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this is kind of an interesting case since i think another Zbb also has this function. I think right now we are not differentiating between extensions when enabling them but might need to revisit this later

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

i got these from zbb, since zbkb needs then, should i remove them?

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.

Implement Zbkb

2 participants