# VERILOG2061: Implicit conversions between two unrelated types should be avoided ## Summary ```{raw} html
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| HIGH | - | - | Intentionality | Logical | 10min | synthesis, vscode, linter, simulation |
An implicit conversion in an expression converts between two unrelated types. SystemVerilog allows this for all packed integral types but it often indicates a mistake in the code.
module fly;
struct packed { logic a; int b; } foo;
union packed { int a; int b; } bar;
initial foo = bar;
endmodule
```
## Parameters
No parameters.
```{raw} html
```