F05 Icarus Verilog version 12.0 (stable) () Yosys 0.33 (git sha1 2584903a060) Icarus four-state RTL simulation and Yosys generic structure before technology mapping. Replay: bash run.sh [add] ADD a=7 b=2 full=01001 expected=01001 modulo=1001 ADD a=15 b=1 full=10000 expected=10000 modulo=0000 ADD a=15 b=15 full=11110 expected=11110 modulo=1110 ADD a=0 b=0 full=00000 expected=00000 modulo=0000 ADD summary checks=260 full_errors=0 modulo_errors=0 [add-mutant] ADD a=7 b=2 full=01001 expected=01001 modulo=1001 ADD a=15 b=1 full=00000 expected=10000 modulo=0000 ADD a=15 b=15 full=01110 expected=11110 modulo=1110 ADD a=0 b=0 full=00000 expected=00000 modulo=0000 ADD summary checks=260 full_errors=122 modulo_errors=0 [offset] OFFSET sample=2 offset=-3 adjusted=-1 expected=-1 below_zero=1 OFFSET sample=3 offset=-3 adjusted=0 expected=0 below_zero=0 OFFSET sample=0 offset=-8 adjusted=-8 expected=-8 below_zero=1 OFFSET sample=15 offset=7 adjusted=22 expected=22 below_zero=0 OFFSET summary checks=260 sum_errors=0 comparison_errors=0 [offset-mutant] OFFSET sample=2 offset=-3 adjusted=15 expected=-1 below_zero=0 OFFSET sample=3 offset=-3 adjusted=16 expected=0 below_zero=0 OFFSET sample=0 offset=-8 adjusted=8 expected=-8 below_zero=0 OFFSET sample=15 offset=7 adjusted=22 expected=22 below_zero=0 OFFSET summary checks=260 sum_errors=131 comparison_errors=38 [shift] SHIFT value=-3 arithmetic=-2 logical=6 divide=-1 SHIFT count=4 variable=1111 selected_bit=x [width-warning-compile] tb_width_warning.sv:10: warning: Port 1 (value_i) of width_probe expects 5 bits, got 4. [width-warning] WIDTH direct=10000 port_from_concat=00000 [Generic Yosys cells] offset_compare / offset_compare: {'$add': 1, '$lt': 1} offset_compare $add parameters: [{'A_SIGNED': 1, 'A_WIDTH': 6, 'B_SIGNED': 1, 'B_WIDTH': 6, 'Y_WIDTH': 6}] offset_compare_mixed / offset_compare_mixed: {'$add': 1, '$lt': 1} offset_compare_mixed $add parameters: [{'A_SIGNED': 0, 'A_WIDTH': 4, 'B_SIGNED': 0, 'B_WIDTH': 4, 'Y_WIDTH': 6}] sample_add / sample_add: {'$add': 1} sample_add $add parameters: [{'A_SIGNED': 0, 'A_WIDTH': 5, 'B_SIGNED': 0, 'B_WIDTH': 5, 'Y_WIDTH': 5}] sample_add_concatenation / sample_add_concatenation: {'$add': 1} sample_add_concatenation $add parameters: [{'A_SIGNED': 0, 'A_WIDTH': 4, 'B_SIGNED': 0, 'B_WIDTH': 4, 'Y_WIDTH': 4}] shift_probe / shift_probe: {'$add': 1, '$and': 1, '$sshr': 1} shift_probe $add parameters: [{'A_SIGNED': 0, 'A_WIDTH': 4, 'B_SIGNED': 0, 'B_WIDTH': 1, 'Y_WIDTH': 4}] Archive SHA-256: 5446e3e886ee4edabb5a8de981ed2416680465a21167be3cf2f116abe656428d