Using 'x is legal RTLIL, in theory, but in practice it crashes Yosys and when it doesn't, it causes Yosys to produce invalid Verilog. Using a dummy wire is always safe and is not a major readability issue as this is a rare corner case. (It is not trivial to shorten the RHS in this case, because during expansion of an ArrayProxy, match_shape() could be called in a context far from the RHS handling logic.) |
||
|---|---|---|
| .. | ||
| back | ||
| build | ||
| compat | ||
| hdl | ||
| lib | ||
| test | ||
| vendor | ||
| __init__.py | ||
| _version.py | ||
| cli.py | ||
| formal.py | ||
| tools.py | ||
| tracer.py | ||