lowRISC / lowRISC/opentitan

[kmac, sw test] disable `kmac_entropy` tests for FPGA

Open Beginner friendly
#30,949 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

`kmac_entropy_test` / `kmac_error_conditions_test` is marked broken for `//hw/top_earlgrey:fpga_cw340_sival` because both tests require KMAC to fetch seeds from EDN, which no longer happens once the ROM has configured KMAC. Both tests would need an unconfigured KMAC to run successfully.

The test still runs under `sim_dv` and `sim_verilator`.

Contributor guide

Open the contributing guide

Research direction

Locate the definitions or configuration for kmac_entropy_test and kmac_error_conditions_test, then inspect how targets are selected. Confirm the FPGA target is //hw/top_earlgrey:fpga_cw340_sival and that sim_dv and sim_verilator still run these tests. Done means both tests are disabled for the FPGA target while remaining enabled for the simulation targets.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.