intel / intel/rohd

Make "expected" message in SV testbench from SimCompare include width for invalid signals

Open
#396 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
489
Forks
88
Avg merge
3d 23h
Merged PRs (30d)
10

Description

### Motivation

The `SimCompare` utility generates messages like "expected y=1'bx but found..." in the generated SV testbenches. This is inaccurate for multi-bit invalid signals. This is not a functional problem, just to make the print message nicer.

### Desired solution

Print a message that includes width, if applicable, or omits the width, but not the incorrect width.

### Alternatives considered

_No response_

### Additional details

_No response_

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.