mirror of
https://github.com/verilator/verilator.git
synced 2025-01-05 22:27:35 +00:00
12 lines
785 B
Plaintext
12 lines
785 B
Plaintext
%Error: t/t_class_param_enum_bad.v:20:31: Assign RHS expects a CLASSREFDTYPE 'Converter__Tz2', got CLASSREFDTYPE 'Converter__Tz1'
|
|
: ... note: In instance 't'
|
|
20 | Converter#(bit) conv2 = conv1;
|
|
| ^~~~~
|
|
%Error-ENUMVALUE: t/t_class_param_enum_bad.v:21:19: Implicit conversion to enum 'enum{}$unit::enum_t' from 'logic[31:0]' (IEEE 1800-2023 6.19.3)
|
|
: ... note: In instance 't'
|
|
: ... Suggest use enum's mnemonic, or static cast
|
|
21 | conv1.toInt(0);
|
|
| ^
|
|
... For error description see https://verilator.org/warn/ENUMVALUE?v=latest
|
|
%Error: Exiting due to
|