Icarus Verilog version 12.0 (stable) () Yosys 0.33 (git sha1 2584903a060) FOUR_STATE logic=xxxxxxxx wire=zzzzzzzz bit=00000000 byte=00000000 conflict=x FOUR_STATE PASS; simulation-only example, not a synthesis input MUX PASS 32 cases for both wire/assign and reg/always forms WIDEN F0 -> fff0; expected fff0 WIDEN mismatches=0 of 256 WIDEN mismatches=128 of 256 ORACLE PASS: 256 numeric views; 512 truncations; two 8-bit muxes; sign extension is wiring, no storage cells. MATRIX,fff0,00f0,00f0,00f0 BITS decimal=32 unsized_hex=32 sized_hex=8 unsized_signed_hex=32 fill=1 SIGN decimal=1 unsized_hex=0 signed_hex=1 NEGATED unsigned=240 signed=-16 F02 COMPLETE: all intended positives pass; the deliberately wrong extension is rejected.