2023-05-24 15:51:03 +02:00
|
|
|
%Error: t/t_class_param_enum_bad.v:20:31: Assign RHS expects a CLASSREFDTYPE 'Converter__Tz2', got CLASSREFDTYPE 'Converter__Tz1'
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2023-05-24 15:51:03 +02:00
|
|
|
20 | Converter#(bit) conv2 = conv1;
|
|
|
|
|
| ^~~~~
|
2024-03-02 15:05:21 +01:00
|
|
|
%Error-ENUMVALUE: t/t_class_param_enum_bad.v:21:19: Implicit conversion to enum 'ENUMDTYPE '$unit::enum_t'' from 'logic[31:0]' (IEEE 1800-2023 6.19.3)
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2023-05-24 15:51:03 +02:00
|
|
|
: ... 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
|