Skip to content

.toml config file auto-update from testbench + minor bug fix - #46

Open
YuxuanHan0326 wants to merge 1 commit into
jiaeenie/fix-behave-sim-golden-precisionfrom
behave_sim_testbench_enhancement_rebased
Open

.toml config file auto-update from testbench + minor bug fix#46
YuxuanHan0326 wants to merge 1 commit into
jiaeenie/fix-behave-sim-golden-precisionfrom
behave_sim_testbench_enhancement_rebased

Conversation

@YuxuanHan0326

@YuxuanHan0326 YuxuanHan0326 commented Jan 26, 2026

Copy link
Copy Markdown
Collaborator

1) Clean up unused imports in attn_test.py
2) Extend config_utils to configure HBM_M_Prefetch_Amount with validation (positive multiple of MLEN), and add HLEN, BROADCAST_AMOUNT, MATRIX_SRAM_SIZE, VECTOR_SRAM_SIZE support
3) Integrate config_utils into ffn/attn/linear/rms/elementwise_add tests so VLEN/MLEN/BLEN/HBM_M_Prefetch_Amount update plena_settings.toml automatically (other dependent HW params still require manual updates in the TOML)
4) Remove hardcoded row/stride defaults in check_mem; require explicit row_dim from comparison_params.json to restore accuracy when VLEN/MLEN changes

  • TODO: precision settings (exp_width/man_width) still fixed

5) Add reset_plena_config to restore plena_settings.toml from plena_settings.default.toml
6) Add / updated CLI arguments to ffn/attn/linear/rms/elementwise_add tests (defaults unchanged; existing just targets still work)
7) Add elementwise_add testbench (latency works; accuracy verification pending) 8) Fix elementwise_add_asm V_ADD_VV operand formatting

2) Extend config_utils to configure HBM_M_Prefetch_Amount with validation (positive multiple of MLEN), and add HLEN, BROADCAST_AMOUNT, MATRIX_SRAM_SIZE, VECTOR_SRAM_SIZE support
3) Integrate config_utils into ffn/attn/linear/rms/elementwise_add tests so VLEN/MLEN/BLEN/HBM_M_Prefetch_Amount update plena_settings.toml automatically (other dependent HW params still require manual updates in the TOML)
4) Remove hardcoded row/stride defaults in check_mem; require explicit row_dim from comparison_params.json to restore accuracy when VLEN/MLEN changes
   - TODO: precision settings (exp_width/man_width) still fixed
5) Add reset_plena_config to restore plena_settings.toml from plena_settings.default.toml
6) Add / updated CLI arguments to ffn/attn/linear/rms/elementwise_add tests (defaults unchanged; existing just targets still work)
7) Add elementwise_add testbench (latency works; accuracy verification pending)
8) Fix elementwise_add_asm V_ADD_VV operand formatting
@YuxuanHan0326 YuxuanHan0326 self-assigned this Jan 26, 2026
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.

1 participant