Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix_lab4 #246

Merged
merged 13 commits into from
Jan 26, 2025
Merged

fix_lab4 #246

merged 13 commits into from
Jan 26, 2025

Conversation

JeffreyWong20
Copy link
Collaborator

@JeffreyWong20 JeffreyWong20 commented Jan 17, 2025

  • Fix mase project generation in docker
  • Fix dead links
  • There are mismatches between the generated top.sv parameters with the hardware components' parameters in MASE
  • There are mismatches between the expected results and results returned by the dut

This pr updates emit_tb to use floor quantization for the fixed type calculation, following the approach already used in fixed_linear_tb in MASE. However, it does not test standard integer quantization (nearest rounding). I tried to modify fixed_linear_tb to use standard integer quantization, but the tests failed, suggesting that the fixed_linear module might rely on a hardware module implementing floor rounding. This requires further look in the future. It is enough for lab4 for now.

@JeffreyWong20 JeffreyWong20 changed the title Fix lab4 fix_lab4 Jan 17, 2025
@ChengZhang-98
Copy link
Collaborator

Feel free to merge it if this PR is completed

@Aaron-Zhao123 Aaron-Zhao123 merged commit cd46969 into main Jan 26, 2025
4 checks passed
omaralkhatib03 pushed a commit to omaralkhatib03/mase that referenced this pull request Jan 26, 2025
* fix: update dead links

* chore!: enable docker access to root/.mase (home/../.mase)

* fix: update dead link and fix hardware pass default arg

* fix: mark activation inplace argument as boolean

* fix: adapt cano changes to emit_parameters_in_mem_internal

* fix: fix graph input detection logic and add fixed_linear dependence_files

* fix: use ceiling division to determine depth

* chore: set seed

* debug: add logging

* feat: add cano fifo_for_autogen.sv

* fix: add missing floor attribute

* fix: drive emit_tb with floor integer quantization

* chore: rm redundent sv file
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