Skip to content

Implement ALU and Level 1 verification - #32

Merged
Hans1021 merged 1 commit into
NYU-Processor-Design:mainfrom
ihash123:alu-implementation
Nov 2, 2026
Merged

Hans1021 merged 1 commit into
NYU-Processor-Design:mainfrom
ihash123:alu-implementation

Conversation

@ihash123

@ihash123 ihash123 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Implements all 11 ALU operations, zero flag, and deterministic handling of undefined function codes. Adds 6,928 directed, boundary, and deterministic randomized test vectors; enables strict ALU lint.

Validation: make ci passed, including Verilator lint and Icarus simulation. Three testbenches passed; four unrelated empty testbenches were skipped. Separate Verilator simulation hit Windows toolchain errors.

Fixes #1
Fixes #8

@Hans1021 Hans1021 left a comment

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.

Nice work!

@Hans1021
Hans1021 merged commit 80120b6 into NYU-Processor-Design:main Nov 2, 2026
1 check 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.

Complete level 1 tests in level1_tb/alu_tb.sv Complete the alu.sv module.

2 participants