lowRISC / lowRISC/opentitan

[dvsim] Allow multiple `en_build_mode` values for a single test

Open
#4,301 6 comments 0 reactions 5 assignees Claimed by @rasmus-madsen View on GitHub
Component:DV Earlgrey-PROD Triaged Priority:P3 Tool:dvsim Type:Enhancement
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

This stems from an offline discussion with @sriyerg.

Allowing dvsim to handle multiple build_modes being specified on a per-test basis could potentially allow for greater ease of setting up testlists for DUTs with multiple parameter configurations.

Example use-case is the KMAC IP, where we want to test both the masked and unmasked versions (controlled by a compile-time parameter). Since only one build_mode is supported per test the current approach is to create two Hjson config files (and testlists) for each of the parameter sets.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.