#include #include uint8_t and_gate(uint8_t a, uint8_t b){ return ((a >> 0) & 0x01) & ((b >> 0) & 0x01); } uint8_t xor_gate(uint8_t a, uint8_t b){ return ((a >> 0) & 0x01) ^ ((b >> 0) & 0x01); } uint8_t or_gate(uint8_t a, uint8_t b){ return ((a >> 0) & 0x01) | ((b >> 0) & 0x01); } uint8_t ha(uint8_t a, uint8_t b){ uint8_t ha_out = 0; uint8_t ha_xor0 = 0; uint8_t ha_and0 = 0; ha_xor0 = xor_gate(((a >> 0) & 0x01), ((b >> 0) & 0x01)); ha_and0 = and_gate(((a >> 0) & 0x01), ((b >> 0) & 0x01)); ha_out |= ((ha_xor0 >> 0) & 0x01ull) << 0; ha_out |= ((ha_and0 >> 0) & 0x01ull) << 1; return ha_out; } uint8_t fa(uint8_t a, uint8_t b, uint8_t cin){ uint8_t fa_out = 0; uint8_t fa_xor0 = 0; uint8_t fa_and0 = 0; uint8_t fa_xor1 = 0; uint8_t fa_and1 = 0; uint8_t fa_or0 = 0; fa_xor0 = xor_gate(((a >> 0) & 0x01), ((b >> 0) & 0x01)); fa_and0 = and_gate(((a >> 0) & 0x01), ((b >> 0) & 0x01)); fa_xor1 = xor_gate(((fa_xor0 >> 0) & 0x01), ((cin >> 0) & 0x01)); fa_and1 = and_gate(((fa_xor0 >> 0) & 0x01), ((cin >> 0) & 0x01)); fa_or0 = or_gate(((fa_and0 >> 0) & 0x01), ((fa_and1 >> 0) & 0x01)); fa_out |= ((fa_xor1 >> 0) & 0x01ull) << 0; fa_out |= ((fa_or0 >> 0) & 0x01ull) << 1; return fa_out; } uint8_t pg_logic(uint8_t a, uint8_t b){ uint8_t pg_logic_out = 0; uint8_t pg_logic_or0 = 0; uint8_t pg_logic_and0 = 0; uint8_t pg_logic_xor0 = 0; pg_logic_or0 = or_gate(((a >> 0) & 0x01), ((b >> 0) & 0x01)); pg_logic_and0 = and_gate(((a >> 0) & 0x01), ((b >> 0) & 0x01)); pg_logic_xor0 = xor_gate(((a >> 0) & 0x01), ((b >> 0) & 0x01)); pg_logic_out |= ((pg_logic_or0 >> 0) & 0x01ull) << 0; pg_logic_out |= ((pg_logic_and0 >> 0) & 0x01ull) << 1; pg_logic_out |= ((pg_logic_xor0 >> 0) & 0x01ull) << 2; return pg_logic_out; } uint64_t u_cla8(uint64_t a, uint64_t b){ uint64_t u_cla8_out = 0; uint8_t u_cla8_pg_logic0_or0 = 0; uint8_t u_cla8_pg_logic0_and0 = 0; uint8_t u_cla8_pg_logic0_xor0 = 0; uint8_t u_cla8_pg_logic1_or0 = 0; uint8_t u_cla8_pg_logic1_and0 = 0; uint8_t u_cla8_pg_logic1_xor0 = 0; uint8_t u_cla8_xor1 = 0; uint8_t u_cla8_and0 = 0; uint8_t u_cla8_or0 = 0; uint8_t u_cla8_pg_logic2_or0 = 0; uint8_t u_cla8_pg_logic2_and0 = 0; uint8_t u_cla8_pg_logic2_xor0 = 0; uint8_t u_cla8_xor2 = 0; uint8_t u_cla8_and1 = 0; uint8_t u_cla8_and2 = 0; uint8_t u_cla8_and3 = 0; uint8_t u_cla8_and4 = 0; uint8_t u_cla8_or1 = 0; uint8_t u_cla8_or2 = 0; uint8_t u_cla8_pg_logic3_or0 = 0; uint8_t u_cla8_pg_logic3_and0 = 0; uint8_t u_cla8_pg_logic3_xor0 = 0; uint8_t u_cla8_xor3 = 0; uint8_t u_cla8_and5 = 0; uint8_t u_cla8_and6 = 0; uint8_t u_cla8_and7 = 0; uint8_t u_cla8_and8 = 0; uint8_t u_cla8_and9 = 0; uint8_t u_cla8_and10 = 0; uint8_t u_cla8_and11 = 0; uint8_t u_cla8_or3 = 0; uint8_t u_cla8_or4 = 0; uint8_t u_cla8_or5 = 0; uint8_t u_cla8_pg_logic4_or0 = 0; uint8_t u_cla8_pg_logic4_and0 = 0; uint8_t u_cla8_pg_logic4_xor0 = 0; uint8_t u_cla8_xor4 = 0; uint8_t u_cla8_and12 = 0; uint8_t u_cla8_or6 = 0; uint8_t u_cla8_pg_logic5_or0 = 0; uint8_t u_cla8_pg_logic5_and0 = 0; uint8_t u_cla8_pg_logic5_xor0 = 0; uint8_t u_cla8_xor5 = 0; uint8_t u_cla8_and13 = 0; uint8_t u_cla8_and14 = 0; uint8_t u_cla8_and15 = 0; uint8_t u_cla8_or7 = 0; uint8_t u_cla8_or8 = 0; uint8_t u_cla8_pg_logic6_or0 = 0; uint8_t u_cla8_pg_logic6_and0 = 0; uint8_t u_cla8_pg_logic6_xor0 = 0; uint8_t u_cla8_xor6 = 0; uint8_t u_cla8_and16 = 0; uint8_t u_cla8_and17 = 0; uint8_t u_cla8_and18 = 0; uint8_t u_cla8_and19 = 0; uint8_t u_cla8_and20 = 0; uint8_t u_cla8_and21 = 0; uint8_t u_cla8_or9 = 0; uint8_t u_cla8_or10 = 0; uint8_t u_cla8_or11 = 0; uint8_t u_cla8_pg_logic7_or0 = 0; uint8_t u_cla8_pg_logic7_and0 = 0; uint8_t u_cla8_pg_logic7_xor0 = 0; uint8_t u_cla8_xor7 = 0; uint8_t u_cla8_and22 = 0; uint8_t u_cla8_and23 = 0; uint8_t u_cla8_and24 = 0; uint8_t u_cla8_and25 = 0; uint8_t u_cla8_and26 = 0; uint8_t u_cla8_and27 = 0; uint8_t u_cla8_and28 = 0; uint8_t u_cla8_and29 = 0; uint8_t u_cla8_and30 = 0; uint8_t u_cla8_and31 = 0; uint8_t u_cla8_or12 = 0; uint8_t u_cla8_or13 = 0; uint8_t u_cla8_or14 = 0; uint8_t u_cla8_or15 = 0; u_cla8_pg_logic0_or0 = (pg_logic(((a >> 0) & 0x01), ((b >> 0) & 0x01)) >> 0) & 0x01; u_cla8_pg_logic0_and0 = (pg_logic(((a >> 0) & 0x01), ((b >> 0) & 0x01)) >> 1) & 0x01; u_cla8_pg_logic0_xor0 = (pg_logic(((a >> 0) & 0x01), ((b >> 0) & 0x01)) >> 2) & 0x01; u_cla8_pg_logic1_or0 = (pg_logic(((a >> 1) & 0x01), ((b >> 1) & 0x01)) >> 0) & 0x01; u_cla8_pg_logic1_and0 = (pg_logic(((a >> 1) & 0x01), ((b >> 1) & 0x01)) >> 1) & 0x01; u_cla8_pg_logic1_xor0 = (pg_logic(((a >> 1) & 0x01), ((b >> 1) & 0x01)) >> 2) & 0x01; u_cla8_xor1 = xor_gate(((u_cla8_pg_logic1_xor0 >> 0) & 0x01), ((u_cla8_pg_logic0_and0 >> 0) & 0x01)); u_cla8_and0 = and_gate(((u_cla8_pg_logic0_and0 >> 0) & 0x01), ((u_cla8_pg_logic1_or0 >> 0) & 0x01)); u_cla8_or0 = or_gate(((u_cla8_pg_logic1_and0 >> 0) & 0x01), ((u_cla8_and0 >> 0) & 0x01)); u_cla8_pg_logic2_or0 = (pg_logic(((a >> 2) & 0x01), ((b >> 2) & 0x01)) >> 0) & 0x01; u_cla8_pg_logic2_and0 = (pg_logic(((a >> 2) & 0x01), ((b >> 2) & 0x01)) >> 1) & 0x01; u_cla8_pg_logic2_xor0 = (pg_logic(((a >> 2) & 0x01), ((b >> 2) & 0x01)) >> 2) & 0x01; u_cla8_xor2 = xor_gate(((u_cla8_pg_logic2_xor0 >> 0) & 0x01), ((u_cla8_or0 >> 0) & 0x01)); u_cla8_and1 = and_gate(((u_cla8_pg_logic2_or0 >> 0) & 0x01), ((u_cla8_pg_logic0_or0 >> 0) & 0x01)); u_cla8_and2 = and_gate(((u_cla8_pg_logic0_and0 >> 0) & 0x01), ((u_cla8_pg_logic2_or0 >> 0) & 0x01)); u_cla8_and3 = and_gate(((u_cla8_and2 >> 0) & 0x01), ((u_cla8_pg_logic1_or0 >> 0) & 0x01)); u_cla8_and4 = and_gate(((u_cla8_pg_logic1_and0 >> 0) & 0x01), ((u_cla8_pg_logic2_or0 >> 0) & 0x01)); u_cla8_or1 = or_gate(((u_cla8_and3 >> 0) & 0x01), ((u_cla8_and4 >> 0) & 0x01)); u_cla8_or2 = or_gate(((u_cla8_pg_logic2_and0 >> 0) & 0x01), ((u_cla8_or1 >> 0) & 0x01)); u_cla8_pg_logic3_or0 = (pg_logic(((a >> 3) & 0x01), ((b >> 3) & 0x01)) >> 0) & 0x01; u_cla8_pg_logic3_and0 = (pg_logic(((a >> 3) & 0x01), ((b >> 3) & 0x01)) >> 1) & 0x01; u_cla8_pg_logic3_xor0 = (pg_logic(((a >> 3) & 0x01), ((b >> 3) & 0x01)) >> 2) & 0x01; u_cla8_xor3 = xor_gate(((u_cla8_pg_logic3_xor0 >> 0) & 0x01), ((u_cla8_or2 >> 0) & 0x01)); u_cla8_and5 = and_gate(((u_cla8_pg_logic3_or0 >> 0) & 0x01), ((u_cla8_pg_logic1_or0 >> 0) & 0x01)); u_cla8_and6 = and_gate(((u_cla8_pg_logic0_and0 >> 0) & 0x01), ((u_cla8_pg_logic2_or0 >> 0) & 0x01)); u_cla8_and7 = and_gate(((u_cla8_pg_logic3_or0 >> 0) & 0x01), ((u_cla8_pg_logic1_or0 >> 0) & 0x01)); u_cla8_and8 = and_gate(((u_cla8_and6 >> 0) & 0x01), ((u_cla8_and7 >> 0) & 0x01)); u_cla8_and9 = and_gate(((u_cla8_pg_logic1_and0 >> 0) & 0x01), ((u_cla8_pg_logic3_or0 >> 0) & 0x01)); u_cla8_and10 = and_gate(((u_cla8_and9 >> 0) & 0x01), ((u_cla8_pg_logic2_or0 >> 0) & 0x01)); u_cla8_and11 = and_gate(((u_cla8_pg_logic2_and0 >> 0) & 0x01), ((u_cla8_pg_logic3_or0 >> 0) & 0x01)); u_cla8_or3 = or_gate(((u_cla8_and8 >> 0) & 0x01), ((u_cla8_and11 >> 0) & 0x01)); u_cla8_or4 = or_gate(((u_cla8_and10 >> 0) & 0x01), ((u_cla8_or3 >> 0) & 0x01)); u_cla8_or5 = or_gate(((u_cla8_pg_logic3_and0 >> 0) & 0x01), ((u_cla8_or4 >> 0) & 0x01)); u_cla8_pg_logic4_or0 = (pg_logic(((a >> 4) & 0x01), ((b >> 4) & 0x01)) >> 0) & 0x01; u_cla8_pg_logic4_and0 = (pg_logic(((a >> 4) & 0x01), ((b >> 4) & 0x01)) >> 1) & 0x01; u_cla8_pg_logic4_xor0 = (pg_logic(((a >> 4) & 0x01), ((b >> 4) & 0x01)) >> 2) & 0x01; u_cla8_xor4 = xor_gate(((u_cla8_pg_logic4_xor0 >> 0) & 0x01), ((u_cla8_or5 >> 0) & 0x01)); u_cla8_and12 = and_gate(((u_cla8_or5 >> 0) & 0x01), ((u_cla8_pg_logic4_or0 >> 0) & 0x01)); u_cla8_or6 = or_gate(((u_cla8_pg_logic4_and0 >> 0) & 0x01), ((u_cla8_and12 >> 0) & 0x01)); u_cla8_pg_logic5_or0 = (pg_logic(((a >> 5) & 0x01), ((b >> 5) & 0x01)) >> 0) & 0x01; u_cla8_pg_logic5_and0 = (pg_logic(((a >> 5) & 0x01), ((b >> 5) & 0x01)) >> 1) & 0x01; u_cla8_pg_logic5_xor0 = (pg_logic(((a >> 5) & 0x01), ((b >> 5) & 0x01)) >> 2) & 0x01; u_cla8_xor5 = xor_gate(((u_cla8_pg_logic5_xor0 >> 0) & 0x01), ((u_cla8_or6 >> 0) & 0x01)); u_cla8_and13 = and_gate(((u_cla8_or5 >> 0) & 0x01), ((u_cla8_pg_logic5_or0 >> 0) & 0x01)); u_cla8_and14 = and_gate(((u_cla8_and13 >> 0) & 0x01), ((u_cla8_pg_logic4_or0 >> 0) & 0x01)); u_cla8_and15 = and_gate(((u_cla8_pg_logic4_and0 >> 0) & 0x01), ((u_cla8_pg_logic5_or0 >> 0) & 0x01)); u_cla8_or7 = or_gate(((u_cla8_and14 >> 0) & 0x01), ((u_cla8_and15 >> 0) & 0x01)); u_cla8_or8 = or_gate(((u_cla8_pg_logic5_and0 >> 0) & 0x01), ((u_cla8_or7 >> 0) & 0x01)); u_cla8_pg_logic6_or0 = (pg_logic(((a >> 6) & 0x01), ((b >> 6) & 0x01)) >> 0) & 0x01; u_cla8_pg_logic6_and0 = (pg_logic(((a >> 6) & 0x01), ((b >> 6) & 0x01)) >> 1) & 0x01; u_cla8_pg_logic6_xor0 = (pg_logic(((a >> 6) & 0x01), ((b >> 6) & 0x01)) >> 2) & 0x01; u_cla8_xor6 = xor_gate(((u_cla8_pg_logic6_xor0 >> 0) & 0x01), ((u_cla8_or8 >> 0) & 0x01)); u_cla8_and16 = and_gate(((u_cla8_or5 >> 0) & 0x01), ((u_cla8_pg_logic5_or0 >> 0) & 0x01)); u_cla8_and17 = and_gate(((u_cla8_pg_logic6_or0 >> 0) & 0x01), ((u_cla8_pg_logic4_or0 >> 0) & 0x01)); u_cla8_and18 = and_gate(((u_cla8_and16 >> 0) & 0x01), ((u_cla8_and17 >> 0) & 0x01)); u_cla8_and19 = and_gate(((u_cla8_pg_logic4_and0 >> 0) & 0x01), ((u_cla8_pg_logic6_or0 >> 0) & 0x01)); u_cla8_and20 = and_gate(((u_cla8_and19 >> 0) & 0x01), ((u_cla8_pg_logic5_or0 >> 0) & 0x01)); u_cla8_and21 = and_gate(((u_cla8_pg_logic5_and0 >> 0) & 0x01), ((u_cla8_pg_logic6_or0 >> 0) & 0x01)); u_cla8_or9 = or_gate(((u_cla8_and18 >> 0) & 0x01), ((u_cla8_and20 >> 0) & 0x01)); u_cla8_or10 = or_gate(((u_cla8_or9 >> 0) & 0x01), ((u_cla8_and21 >> 0) & 0x01)); u_cla8_or11 = or_gate(((u_cla8_pg_logic6_and0 >> 0) & 0x01), ((u_cla8_or10 >> 0) & 0x01)); u_cla8_pg_logic7_or0 = (pg_logic(((a >> 7) & 0x01), ((b >> 7) & 0x01)) >> 0) & 0x01; u_cla8_pg_logic7_and0 = (pg_logic(((a >> 7) & 0x01), ((b >> 7) & 0x01)) >> 1) & 0x01; u_cla8_pg_logic7_xor0 = (pg_logic(((a >> 7) & 0x01), ((b >> 7) & 0x01)) >> 2) & 0x01; u_cla8_xor7 = xor_gate(((u_cla8_pg_logic7_xor0 >> 0) & 0x01), ((u_cla8_or11 >> 0) & 0x01)); u_cla8_and22 = and_gate(((u_cla8_or5 >> 0) & 0x01), ((u_cla8_pg_logic6_or0 >> 0) & 0x01)); u_cla8_and23 = and_gate(((u_cla8_pg_logic7_or0 >> 0) & 0x01), ((u_cla8_pg_logic5_or0 >> 0) & 0x01)); u_cla8_and24 = and_gate(((u_cla8_and22 >> 0) & 0x01), ((u_cla8_and23 >> 0) & 0x01)); u_cla8_and25 = and_gate(((u_cla8_and24 >> 0) & 0x01), ((u_cla8_pg_logic4_or0 >> 0) & 0x01)); u_cla8_and26 = and_gate(((u_cla8_pg_logic4_and0 >> 0) & 0x01), ((u_cla8_pg_logic6_or0 >> 0) & 0x01)); u_cla8_and27 = and_gate(((u_cla8_pg_logic7_or0 >> 0) & 0x01), ((u_cla8_pg_logic5_or0 >> 0) & 0x01)); u_cla8_and28 = and_gate(((u_cla8_and26 >> 0) & 0x01), ((u_cla8_and27 >> 0) & 0x01)); u_cla8_and29 = and_gate(((u_cla8_pg_logic5_and0 >> 0) & 0x01), ((u_cla8_pg_logic7_or0 >> 0) & 0x01)); u_cla8_and30 = and_gate(((u_cla8_and29 >> 0) & 0x01), ((u_cla8_pg_logic6_or0 >> 0) & 0x01)); u_cla8_and31 = and_gate(((u_cla8_pg_logic6_and0 >> 0) & 0x01), ((u_cla8_pg_logic7_or0 >> 0) & 0x01)); u_cla8_or12 = or_gate(((u_cla8_and25 >> 0) & 0x01), ((u_cla8_and30 >> 0) & 0x01)); u_cla8_or13 = or_gate(((u_cla8_and28 >> 0) & 0x01), ((u_cla8_and31 >> 0) & 0x01)); u_cla8_or14 = or_gate(((u_cla8_or12 >> 0) & 0x01), ((u_cla8_or13 >> 0) & 0x01)); u_cla8_or15 = or_gate(((u_cla8_pg_logic7_and0 >> 0) & 0x01), ((u_cla8_or14 >> 0) & 0x01)); u_cla8_out |= ((u_cla8_pg_logic0_xor0 >> 0) & 0x01ull) << 0; u_cla8_out |= ((u_cla8_xor1 >> 0) & 0x01ull) << 1; u_cla8_out |= ((u_cla8_xor2 >> 0) & 0x01ull) << 2; u_cla8_out |= ((u_cla8_xor3 >> 0) & 0x01ull) << 3; u_cla8_out |= ((u_cla8_xor4 >> 0) & 0x01ull) << 4; u_cla8_out |= ((u_cla8_xor5 >> 0) & 0x01ull) << 5; u_cla8_out |= ((u_cla8_xor6 >> 0) & 0x01ull) << 6; u_cla8_out |= ((u_cla8_xor7 >> 0) & 0x01ull) << 7; u_cla8_out |= ((u_cla8_or15 >> 0) & 0x01ull) << 8; return u_cla8_out; } uint64_t u_csamul_cla8(uint64_t a, uint64_t b){ uint64_t u_csamul_cla8_out = 0; uint8_t u_csamul_cla8_and0_0 = 0; uint8_t u_csamul_cla8_and1_0 = 0; uint8_t u_csamul_cla8_and2_0 = 0; uint8_t u_csamul_cla8_and3_0 = 0; uint8_t u_csamul_cla8_and4_0 = 0; uint8_t u_csamul_cla8_and5_0 = 0; uint8_t u_csamul_cla8_and6_0 = 0; uint8_t u_csamul_cla8_and7_0 = 0; uint8_t u_csamul_cla8_and0_1 = 0; uint8_t u_csamul_cla8_ha0_1_xor0 = 0; uint8_t u_csamul_cla8_ha0_1_and0 = 0; uint8_t u_csamul_cla8_and1_1 = 0; uint8_t u_csamul_cla8_ha1_1_xor0 = 0; uint8_t u_csamul_cla8_ha1_1_and0 = 0; uint8_t u_csamul_cla8_and2_1 = 0; uint8_t u_csamul_cla8_ha2_1_xor0 = 0; uint8_t u_csamul_cla8_ha2_1_and0 = 0; uint8_t u_csamul_cla8_and3_1 = 0; uint8_t u_csamul_cla8_ha3_1_xor0 = 0; uint8_t u_csamul_cla8_ha3_1_and0 = 0; uint8_t u_csamul_cla8_and4_1 = 0; uint8_t u_csamul_cla8_ha4_1_xor0 = 0; uint8_t u_csamul_cla8_ha4_1_and0 = 0; uint8_t u_csamul_cla8_and5_1 = 0; uint8_t u_csamul_cla8_ha5_1_xor0 = 0; uint8_t u_csamul_cla8_ha5_1_and0 = 0; uint8_t u_csamul_cla8_and6_1 = 0; uint8_t u_csamul_cla8_ha6_1_xor0 = 0; uint8_t u_csamul_cla8_ha6_1_and0 = 0; uint8_t u_csamul_cla8_and7_1 = 0; uint8_t u_csamul_cla8_and0_2 = 0; uint8_t u_csamul_cla8_fa0_2_xor1 = 0; uint8_t u_csamul_cla8_fa0_2_or0 = 0; uint8_t u_csamul_cla8_and1_2 = 0; uint8_t u_csamul_cla8_fa1_2_xor1 = 0; uint8_t u_csamul_cla8_fa1_2_or0 = 0; uint8_t u_csamul_cla8_and2_2 = 0; uint8_t u_csamul_cla8_fa2_2_xor1 = 0; uint8_t u_csamul_cla8_fa2_2_or0 = 0; uint8_t u_csamul_cla8_and3_2 = 0; uint8_t u_csamul_cla8_fa3_2_xor1 = 0; uint8_t u_csamul_cla8_fa3_2_or0 = 0; uint8_t u_csamul_cla8_and4_2 = 0; uint8_t u_csamul_cla8_fa4_2_xor1 = 0; uint8_t u_csamul_cla8_fa4_2_or0 = 0; uint8_t u_csamul_cla8_and5_2 = 0; uint8_t u_csamul_cla8_fa5_2_xor1 = 0; uint8_t u_csamul_cla8_fa5_2_or0 = 0; uint8_t u_csamul_cla8_and6_2 = 0; uint8_t u_csamul_cla8_fa6_2_xor1 = 0; uint8_t u_csamul_cla8_fa6_2_or0 = 0; uint8_t u_csamul_cla8_and7_2 = 0; uint8_t u_csamul_cla8_and0_3 = 0; uint8_t u_csamul_cla8_fa0_3_xor1 = 0; uint8_t u_csamul_cla8_fa0_3_or0 = 0; uint8_t u_csamul_cla8_and1_3 = 0; uint8_t u_csamul_cla8_fa1_3_xor1 = 0; uint8_t u_csamul_cla8_fa1_3_or0 = 0; uint8_t u_csamul_cla8_and2_3 = 0; uint8_t u_csamul_cla8_fa2_3_xor1 = 0; uint8_t u_csamul_cla8_fa2_3_or0 = 0; uint8_t u_csamul_cla8_and3_3 = 0; uint8_t u_csamul_cla8_fa3_3_xor1 = 0; uint8_t u_csamul_cla8_fa3_3_or0 = 0; uint8_t u_csamul_cla8_and4_3 = 0; uint8_t u_csamul_cla8_fa4_3_xor1 = 0; uint8_t u_csamul_cla8_fa4_3_or0 = 0; uint8_t u_csamul_cla8_and5_3 = 0; uint8_t u_csamul_cla8_fa5_3_xor1 = 0; uint8_t u_csamul_cla8_fa5_3_or0 = 0; uint8_t u_csamul_cla8_and6_3 = 0; uint8_t u_csamul_cla8_fa6_3_xor1 = 0; uint8_t u_csamul_cla8_fa6_3_or0 = 0; uint8_t u_csamul_cla8_and7_3 = 0; uint8_t u_csamul_cla8_and0_4 = 0; uint8_t u_csamul_cla8_fa0_4_xor1 = 0; uint8_t u_csamul_cla8_fa0_4_or0 = 0; uint8_t u_csamul_cla8_and1_4 = 0; uint8_t u_csamul_cla8_fa1_4_xor1 = 0; uint8_t u_csamul_cla8_fa1_4_or0 = 0; uint8_t u_csamul_cla8_and2_4 = 0; uint8_t u_csamul_cla8_fa2_4_xor1 = 0; uint8_t u_csamul_cla8_fa2_4_or0 = 0; uint8_t u_csamul_cla8_and3_4 = 0; uint8_t u_csamul_cla8_fa3_4_xor1 = 0; uint8_t u_csamul_cla8_fa3_4_or0 = 0; uint8_t u_csamul_cla8_and4_4 = 0; uint8_t u_csamul_cla8_fa4_4_xor1 = 0; uint8_t u_csamul_cla8_fa4_4_or0 = 0; uint8_t u_csamul_cla8_and5_4 = 0; uint8_t u_csamul_cla8_fa5_4_xor1 = 0; uint8_t u_csamul_cla8_fa5_4_or0 = 0; uint8_t u_csamul_cla8_and6_4 = 0; uint8_t u_csamul_cla8_fa6_4_xor1 = 0; uint8_t u_csamul_cla8_fa6_4_or0 = 0; uint8_t u_csamul_cla8_and7_4 = 0; uint8_t u_csamul_cla8_and0_5 = 0; uint8_t u_csamul_cla8_fa0_5_xor1 = 0; uint8_t u_csamul_cla8_fa0_5_or0 = 0; uint8_t u_csamul_cla8_and1_5 = 0; uint8_t u_csamul_cla8_fa1_5_xor1 = 0; uint8_t u_csamul_cla8_fa1_5_or0 = 0; uint8_t u_csamul_cla8_and2_5 = 0; uint8_t u_csamul_cla8_fa2_5_xor1 = 0; uint8_t u_csamul_cla8_fa2_5_or0 = 0; uint8_t u_csamul_cla8_and3_5 = 0; uint8_t u_csamul_cla8_fa3_5_xor1 = 0; uint8_t u_csamul_cla8_fa3_5_or0 = 0; uint8_t u_csamul_cla8_and4_5 = 0; uint8_t u_csamul_cla8_fa4_5_xor1 = 0; uint8_t u_csamul_cla8_fa4_5_or0 = 0; uint8_t u_csamul_cla8_and5_5 = 0; uint8_t u_csamul_cla8_fa5_5_xor1 = 0; uint8_t u_csamul_cla8_fa5_5_or0 = 0; uint8_t u_csamul_cla8_and6_5 = 0; uint8_t u_csamul_cla8_fa6_5_xor1 = 0; uint8_t u_csamul_cla8_fa6_5_or0 = 0; uint8_t u_csamul_cla8_and7_5 = 0; uint8_t u_csamul_cla8_and0_6 = 0; uint8_t u_csamul_cla8_fa0_6_xor1 = 0; uint8_t u_csamul_cla8_fa0_6_or0 = 0; uint8_t u_csamul_cla8_and1_6 = 0; uint8_t u_csamul_cla8_fa1_6_xor1 = 0; uint8_t u_csamul_cla8_fa1_6_or0 = 0; uint8_t u_csamul_cla8_and2_6 = 0; uint8_t u_csamul_cla8_fa2_6_xor1 = 0; uint8_t u_csamul_cla8_fa2_6_or0 = 0; uint8_t u_csamul_cla8_and3_6 = 0; uint8_t u_csamul_cla8_fa3_6_xor1 = 0; uint8_t u_csamul_cla8_fa3_6_or0 = 0; uint8_t u_csamul_cla8_and4_6 = 0; uint8_t u_csamul_cla8_fa4_6_xor1 = 0; uint8_t u_csamul_cla8_fa4_6_or0 = 0; uint8_t u_csamul_cla8_and5_6 = 0; uint8_t u_csamul_cla8_fa5_6_xor1 = 0; uint8_t u_csamul_cla8_fa5_6_or0 = 0; uint8_t u_csamul_cla8_and6_6 = 0; uint8_t u_csamul_cla8_fa6_6_xor1 = 0; uint8_t u_csamul_cla8_fa6_6_or0 = 0; uint8_t u_csamul_cla8_and7_6 = 0; uint8_t u_csamul_cla8_and0_7 = 0; uint8_t u_csamul_cla8_fa0_7_xor1 = 0; uint8_t u_csamul_cla8_fa0_7_or0 = 0; uint8_t u_csamul_cla8_and1_7 = 0; uint8_t u_csamul_cla8_fa1_7_xor1 = 0; uint8_t u_csamul_cla8_fa1_7_or0 = 0; uint8_t u_csamul_cla8_and2_7 = 0; uint8_t u_csamul_cla8_fa2_7_xor1 = 0; uint8_t u_csamul_cla8_fa2_7_or0 = 0; uint8_t u_csamul_cla8_and3_7 = 0; uint8_t u_csamul_cla8_fa3_7_xor1 = 0; uint8_t u_csamul_cla8_fa3_7_or0 = 0; uint8_t u_csamul_cla8_and4_7 = 0; uint8_t u_csamul_cla8_fa4_7_xor1 = 0; uint8_t u_csamul_cla8_fa4_7_or0 = 0; uint8_t u_csamul_cla8_and5_7 = 0; uint8_t u_csamul_cla8_fa5_7_xor1 = 0; uint8_t u_csamul_cla8_fa5_7_or0 = 0; uint8_t u_csamul_cla8_and6_7 = 0; uint8_t u_csamul_cla8_fa6_7_xor1 = 0; uint8_t u_csamul_cla8_fa6_7_or0 = 0; uint8_t u_csamul_cla8_and7_7 = 0; uint64_t u_csamul_cla8_u_cla8_a = 0; uint64_t u_csamul_cla8_u_cla8_b = 0; uint64_t u_csamul_cla8_u_cla8_out = 0; u_csamul_cla8_and0_0 = and_gate(((a >> 0) & 0x01), ((b >> 0) & 0x01)); u_csamul_cla8_and1_0 = and_gate(((a >> 1) & 0x01), ((b >> 0) & 0x01)); u_csamul_cla8_and2_0 = and_gate(((a >> 2) & 0x01), ((b >> 0) & 0x01)); u_csamul_cla8_and3_0 = and_gate(((a >> 3) & 0x01), ((b >> 0) & 0x01)); u_csamul_cla8_and4_0 = and_gate(((a >> 4) & 0x01), ((b >> 0) & 0x01)); u_csamul_cla8_and5_0 = and_gate(((a >> 5) & 0x01), ((b >> 0) & 0x01)); u_csamul_cla8_and6_0 = and_gate(((a >> 6) & 0x01), ((b >> 0) & 0x01)); u_csamul_cla8_and7_0 = and_gate(((a >> 7) & 0x01), ((b >> 0) & 0x01)); u_csamul_cla8_and0_1 = and_gate(((a >> 0) & 0x01), ((b >> 1) & 0x01)); u_csamul_cla8_ha0_1_xor0 = (ha(((u_csamul_cla8_and0_1 >> 0) & 0x01), ((u_csamul_cla8_and1_0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_ha0_1_and0 = (ha(((u_csamul_cla8_and0_1 >> 0) & 0x01), ((u_csamul_cla8_and1_0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and1_1 = and_gate(((a >> 1) & 0x01), ((b >> 1) & 0x01)); u_csamul_cla8_ha1_1_xor0 = (ha(((u_csamul_cla8_and1_1 >> 0) & 0x01), ((u_csamul_cla8_and2_0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_ha1_1_and0 = (ha(((u_csamul_cla8_and1_1 >> 0) & 0x01), ((u_csamul_cla8_and2_0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and2_1 = and_gate(((a >> 2) & 0x01), ((b >> 1) & 0x01)); u_csamul_cla8_ha2_1_xor0 = (ha(((u_csamul_cla8_and2_1 >> 0) & 0x01), ((u_csamul_cla8_and3_0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_ha2_1_and0 = (ha(((u_csamul_cla8_and2_1 >> 0) & 0x01), ((u_csamul_cla8_and3_0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and3_1 = and_gate(((a >> 3) & 0x01), ((b >> 1) & 0x01)); u_csamul_cla8_ha3_1_xor0 = (ha(((u_csamul_cla8_and3_1 >> 0) & 0x01), ((u_csamul_cla8_and4_0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_ha3_1_and0 = (ha(((u_csamul_cla8_and3_1 >> 0) & 0x01), ((u_csamul_cla8_and4_0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and4_1 = and_gate(((a >> 4) & 0x01), ((b >> 1) & 0x01)); u_csamul_cla8_ha4_1_xor0 = (ha(((u_csamul_cla8_and4_1 >> 0) & 0x01), ((u_csamul_cla8_and5_0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_ha4_1_and0 = (ha(((u_csamul_cla8_and4_1 >> 0) & 0x01), ((u_csamul_cla8_and5_0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and5_1 = and_gate(((a >> 5) & 0x01), ((b >> 1) & 0x01)); u_csamul_cla8_ha5_1_xor0 = (ha(((u_csamul_cla8_and5_1 >> 0) & 0x01), ((u_csamul_cla8_and6_0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_ha5_1_and0 = (ha(((u_csamul_cla8_and5_1 >> 0) & 0x01), ((u_csamul_cla8_and6_0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and6_1 = and_gate(((a >> 6) & 0x01), ((b >> 1) & 0x01)); u_csamul_cla8_ha6_1_xor0 = (ha(((u_csamul_cla8_and6_1 >> 0) & 0x01), ((u_csamul_cla8_and7_0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_ha6_1_and0 = (ha(((u_csamul_cla8_and6_1 >> 0) & 0x01), ((u_csamul_cla8_and7_0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and7_1 = and_gate(((a >> 7) & 0x01), ((b >> 1) & 0x01)); u_csamul_cla8_and0_2 = and_gate(((a >> 0) & 0x01), ((b >> 2) & 0x01)); u_csamul_cla8_fa0_2_xor1 = (fa(((u_csamul_cla8_and0_2 >> 0) & 0x01), ((u_csamul_cla8_ha1_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha0_1_and0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa0_2_or0 = (fa(((u_csamul_cla8_and0_2 >> 0) & 0x01), ((u_csamul_cla8_ha1_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha0_1_and0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and1_2 = and_gate(((a >> 1) & 0x01), ((b >> 2) & 0x01)); u_csamul_cla8_fa1_2_xor1 = (fa(((u_csamul_cla8_and1_2 >> 0) & 0x01), ((u_csamul_cla8_ha2_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha1_1_and0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa1_2_or0 = (fa(((u_csamul_cla8_and1_2 >> 0) & 0x01), ((u_csamul_cla8_ha2_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha1_1_and0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and2_2 = and_gate(((a >> 2) & 0x01), ((b >> 2) & 0x01)); u_csamul_cla8_fa2_2_xor1 = (fa(((u_csamul_cla8_and2_2 >> 0) & 0x01), ((u_csamul_cla8_ha3_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha2_1_and0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa2_2_or0 = (fa(((u_csamul_cla8_and2_2 >> 0) & 0x01), ((u_csamul_cla8_ha3_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha2_1_and0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and3_2 = and_gate(((a >> 3) & 0x01), ((b >> 2) & 0x01)); u_csamul_cla8_fa3_2_xor1 = (fa(((u_csamul_cla8_and3_2 >> 0) & 0x01), ((u_csamul_cla8_ha4_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha3_1_and0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa3_2_or0 = (fa(((u_csamul_cla8_and3_2 >> 0) & 0x01), ((u_csamul_cla8_ha4_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha3_1_and0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and4_2 = and_gate(((a >> 4) & 0x01), ((b >> 2) & 0x01)); u_csamul_cla8_fa4_2_xor1 = (fa(((u_csamul_cla8_and4_2 >> 0) & 0x01), ((u_csamul_cla8_ha5_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha4_1_and0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa4_2_or0 = (fa(((u_csamul_cla8_and4_2 >> 0) & 0x01), ((u_csamul_cla8_ha5_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha4_1_and0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and5_2 = and_gate(((a >> 5) & 0x01), ((b >> 2) & 0x01)); u_csamul_cla8_fa5_2_xor1 = (fa(((u_csamul_cla8_and5_2 >> 0) & 0x01), ((u_csamul_cla8_ha6_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha5_1_and0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa5_2_or0 = (fa(((u_csamul_cla8_and5_2 >> 0) & 0x01), ((u_csamul_cla8_ha6_1_xor0 >> 0) & 0x01), ((u_csamul_cla8_ha5_1_and0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and6_2 = and_gate(((a >> 6) & 0x01), ((b >> 2) & 0x01)); u_csamul_cla8_fa6_2_xor1 = (fa(((u_csamul_cla8_and6_2 >> 0) & 0x01), ((u_csamul_cla8_and7_1 >> 0) & 0x01), ((u_csamul_cla8_ha6_1_and0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa6_2_or0 = (fa(((u_csamul_cla8_and6_2 >> 0) & 0x01), ((u_csamul_cla8_and7_1 >> 0) & 0x01), ((u_csamul_cla8_ha6_1_and0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and7_2 = and_gate(((a >> 7) & 0x01), ((b >> 2) & 0x01)); u_csamul_cla8_and0_3 = and_gate(((a >> 0) & 0x01), ((b >> 3) & 0x01)); u_csamul_cla8_fa0_3_xor1 = (fa(((u_csamul_cla8_and0_3 >> 0) & 0x01), ((u_csamul_cla8_fa1_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa0_2_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa0_3_or0 = (fa(((u_csamul_cla8_and0_3 >> 0) & 0x01), ((u_csamul_cla8_fa1_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa0_2_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and1_3 = and_gate(((a >> 1) & 0x01), ((b >> 3) & 0x01)); u_csamul_cla8_fa1_3_xor1 = (fa(((u_csamul_cla8_and1_3 >> 0) & 0x01), ((u_csamul_cla8_fa2_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa1_2_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa1_3_or0 = (fa(((u_csamul_cla8_and1_3 >> 0) & 0x01), ((u_csamul_cla8_fa2_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa1_2_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and2_3 = and_gate(((a >> 2) & 0x01), ((b >> 3) & 0x01)); u_csamul_cla8_fa2_3_xor1 = (fa(((u_csamul_cla8_and2_3 >> 0) & 0x01), ((u_csamul_cla8_fa3_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa2_2_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa2_3_or0 = (fa(((u_csamul_cla8_and2_3 >> 0) & 0x01), ((u_csamul_cla8_fa3_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa2_2_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and3_3 = and_gate(((a >> 3) & 0x01), ((b >> 3) & 0x01)); u_csamul_cla8_fa3_3_xor1 = (fa(((u_csamul_cla8_and3_3 >> 0) & 0x01), ((u_csamul_cla8_fa4_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa3_2_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa3_3_or0 = (fa(((u_csamul_cla8_and3_3 >> 0) & 0x01), ((u_csamul_cla8_fa4_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa3_2_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and4_3 = and_gate(((a >> 4) & 0x01), ((b >> 3) & 0x01)); u_csamul_cla8_fa4_3_xor1 = (fa(((u_csamul_cla8_and4_3 >> 0) & 0x01), ((u_csamul_cla8_fa5_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa4_2_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa4_3_or0 = (fa(((u_csamul_cla8_and4_3 >> 0) & 0x01), ((u_csamul_cla8_fa5_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa4_2_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and5_3 = and_gate(((a >> 5) & 0x01), ((b >> 3) & 0x01)); u_csamul_cla8_fa5_3_xor1 = (fa(((u_csamul_cla8_and5_3 >> 0) & 0x01), ((u_csamul_cla8_fa6_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa5_2_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa5_3_or0 = (fa(((u_csamul_cla8_and5_3 >> 0) & 0x01), ((u_csamul_cla8_fa6_2_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa5_2_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and6_3 = and_gate(((a >> 6) & 0x01), ((b >> 3) & 0x01)); u_csamul_cla8_fa6_3_xor1 = (fa(((u_csamul_cla8_and6_3 >> 0) & 0x01), ((u_csamul_cla8_and7_2 >> 0) & 0x01), ((u_csamul_cla8_fa6_2_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa6_3_or0 = (fa(((u_csamul_cla8_and6_3 >> 0) & 0x01), ((u_csamul_cla8_and7_2 >> 0) & 0x01), ((u_csamul_cla8_fa6_2_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and7_3 = and_gate(((a >> 7) & 0x01), ((b >> 3) & 0x01)); u_csamul_cla8_and0_4 = and_gate(((a >> 0) & 0x01), ((b >> 4) & 0x01)); u_csamul_cla8_fa0_4_xor1 = (fa(((u_csamul_cla8_and0_4 >> 0) & 0x01), ((u_csamul_cla8_fa1_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa0_3_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa0_4_or0 = (fa(((u_csamul_cla8_and0_4 >> 0) & 0x01), ((u_csamul_cla8_fa1_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa0_3_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and1_4 = and_gate(((a >> 1) & 0x01), ((b >> 4) & 0x01)); u_csamul_cla8_fa1_4_xor1 = (fa(((u_csamul_cla8_and1_4 >> 0) & 0x01), ((u_csamul_cla8_fa2_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa1_3_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa1_4_or0 = (fa(((u_csamul_cla8_and1_4 >> 0) & 0x01), ((u_csamul_cla8_fa2_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa1_3_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and2_4 = and_gate(((a >> 2) & 0x01), ((b >> 4) & 0x01)); u_csamul_cla8_fa2_4_xor1 = (fa(((u_csamul_cla8_and2_4 >> 0) & 0x01), ((u_csamul_cla8_fa3_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa2_3_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa2_4_or0 = (fa(((u_csamul_cla8_and2_4 >> 0) & 0x01), ((u_csamul_cla8_fa3_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa2_3_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and3_4 = and_gate(((a >> 3) & 0x01), ((b >> 4) & 0x01)); u_csamul_cla8_fa3_4_xor1 = (fa(((u_csamul_cla8_and3_4 >> 0) & 0x01), ((u_csamul_cla8_fa4_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa3_3_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa3_4_or0 = (fa(((u_csamul_cla8_and3_4 >> 0) & 0x01), ((u_csamul_cla8_fa4_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa3_3_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and4_4 = and_gate(((a >> 4) & 0x01), ((b >> 4) & 0x01)); u_csamul_cla8_fa4_4_xor1 = (fa(((u_csamul_cla8_and4_4 >> 0) & 0x01), ((u_csamul_cla8_fa5_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa4_3_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa4_4_or0 = (fa(((u_csamul_cla8_and4_4 >> 0) & 0x01), ((u_csamul_cla8_fa5_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa4_3_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and5_4 = and_gate(((a >> 5) & 0x01), ((b >> 4) & 0x01)); u_csamul_cla8_fa5_4_xor1 = (fa(((u_csamul_cla8_and5_4 >> 0) & 0x01), ((u_csamul_cla8_fa6_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa5_3_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa5_4_or0 = (fa(((u_csamul_cla8_and5_4 >> 0) & 0x01), ((u_csamul_cla8_fa6_3_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa5_3_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and6_4 = and_gate(((a >> 6) & 0x01), ((b >> 4) & 0x01)); u_csamul_cla8_fa6_4_xor1 = (fa(((u_csamul_cla8_and6_4 >> 0) & 0x01), ((u_csamul_cla8_and7_3 >> 0) & 0x01), ((u_csamul_cla8_fa6_3_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa6_4_or0 = (fa(((u_csamul_cla8_and6_4 >> 0) & 0x01), ((u_csamul_cla8_and7_3 >> 0) & 0x01), ((u_csamul_cla8_fa6_3_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and7_4 = and_gate(((a >> 7) & 0x01), ((b >> 4) & 0x01)); u_csamul_cla8_and0_5 = and_gate(((a >> 0) & 0x01), ((b >> 5) & 0x01)); u_csamul_cla8_fa0_5_xor1 = (fa(((u_csamul_cla8_and0_5 >> 0) & 0x01), ((u_csamul_cla8_fa1_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa0_4_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa0_5_or0 = (fa(((u_csamul_cla8_and0_5 >> 0) & 0x01), ((u_csamul_cla8_fa1_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa0_4_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and1_5 = and_gate(((a >> 1) & 0x01), ((b >> 5) & 0x01)); u_csamul_cla8_fa1_5_xor1 = (fa(((u_csamul_cla8_and1_5 >> 0) & 0x01), ((u_csamul_cla8_fa2_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa1_4_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa1_5_or0 = (fa(((u_csamul_cla8_and1_5 >> 0) & 0x01), ((u_csamul_cla8_fa2_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa1_4_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and2_5 = and_gate(((a >> 2) & 0x01), ((b >> 5) & 0x01)); u_csamul_cla8_fa2_5_xor1 = (fa(((u_csamul_cla8_and2_5 >> 0) & 0x01), ((u_csamul_cla8_fa3_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa2_4_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa2_5_or0 = (fa(((u_csamul_cla8_and2_5 >> 0) & 0x01), ((u_csamul_cla8_fa3_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa2_4_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and3_5 = and_gate(((a >> 3) & 0x01), ((b >> 5) & 0x01)); u_csamul_cla8_fa3_5_xor1 = (fa(((u_csamul_cla8_and3_5 >> 0) & 0x01), ((u_csamul_cla8_fa4_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa3_4_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa3_5_or0 = (fa(((u_csamul_cla8_and3_5 >> 0) & 0x01), ((u_csamul_cla8_fa4_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa3_4_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and4_5 = and_gate(((a >> 4) & 0x01), ((b >> 5) & 0x01)); u_csamul_cla8_fa4_5_xor1 = (fa(((u_csamul_cla8_and4_5 >> 0) & 0x01), ((u_csamul_cla8_fa5_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa4_4_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa4_5_or0 = (fa(((u_csamul_cla8_and4_5 >> 0) & 0x01), ((u_csamul_cla8_fa5_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa4_4_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and5_5 = and_gate(((a >> 5) & 0x01), ((b >> 5) & 0x01)); u_csamul_cla8_fa5_5_xor1 = (fa(((u_csamul_cla8_and5_5 >> 0) & 0x01), ((u_csamul_cla8_fa6_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa5_4_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa5_5_or0 = (fa(((u_csamul_cla8_and5_5 >> 0) & 0x01), ((u_csamul_cla8_fa6_4_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa5_4_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and6_5 = and_gate(((a >> 6) & 0x01), ((b >> 5) & 0x01)); u_csamul_cla8_fa6_5_xor1 = (fa(((u_csamul_cla8_and6_5 >> 0) & 0x01), ((u_csamul_cla8_and7_4 >> 0) & 0x01), ((u_csamul_cla8_fa6_4_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa6_5_or0 = (fa(((u_csamul_cla8_and6_5 >> 0) & 0x01), ((u_csamul_cla8_and7_4 >> 0) & 0x01), ((u_csamul_cla8_fa6_4_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and7_5 = and_gate(((a >> 7) & 0x01), ((b >> 5) & 0x01)); u_csamul_cla8_and0_6 = and_gate(((a >> 0) & 0x01), ((b >> 6) & 0x01)); u_csamul_cla8_fa0_6_xor1 = (fa(((u_csamul_cla8_and0_6 >> 0) & 0x01), ((u_csamul_cla8_fa1_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa0_5_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa0_6_or0 = (fa(((u_csamul_cla8_and0_6 >> 0) & 0x01), ((u_csamul_cla8_fa1_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa0_5_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and1_6 = and_gate(((a >> 1) & 0x01), ((b >> 6) & 0x01)); u_csamul_cla8_fa1_6_xor1 = (fa(((u_csamul_cla8_and1_6 >> 0) & 0x01), ((u_csamul_cla8_fa2_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa1_5_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa1_6_or0 = (fa(((u_csamul_cla8_and1_6 >> 0) & 0x01), ((u_csamul_cla8_fa2_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa1_5_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and2_6 = and_gate(((a >> 2) & 0x01), ((b >> 6) & 0x01)); u_csamul_cla8_fa2_6_xor1 = (fa(((u_csamul_cla8_and2_6 >> 0) & 0x01), ((u_csamul_cla8_fa3_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa2_5_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa2_6_or0 = (fa(((u_csamul_cla8_and2_6 >> 0) & 0x01), ((u_csamul_cla8_fa3_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa2_5_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and3_6 = and_gate(((a >> 3) & 0x01), ((b >> 6) & 0x01)); u_csamul_cla8_fa3_6_xor1 = (fa(((u_csamul_cla8_and3_6 >> 0) & 0x01), ((u_csamul_cla8_fa4_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa3_5_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa3_6_or0 = (fa(((u_csamul_cla8_and3_6 >> 0) & 0x01), ((u_csamul_cla8_fa4_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa3_5_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and4_6 = and_gate(((a >> 4) & 0x01), ((b >> 6) & 0x01)); u_csamul_cla8_fa4_6_xor1 = (fa(((u_csamul_cla8_and4_6 >> 0) & 0x01), ((u_csamul_cla8_fa5_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa4_5_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa4_6_or0 = (fa(((u_csamul_cla8_and4_6 >> 0) & 0x01), ((u_csamul_cla8_fa5_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa4_5_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and5_6 = and_gate(((a >> 5) & 0x01), ((b >> 6) & 0x01)); u_csamul_cla8_fa5_6_xor1 = (fa(((u_csamul_cla8_and5_6 >> 0) & 0x01), ((u_csamul_cla8_fa6_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa5_5_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa5_6_or0 = (fa(((u_csamul_cla8_and5_6 >> 0) & 0x01), ((u_csamul_cla8_fa6_5_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa5_5_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and6_6 = and_gate(((a >> 6) & 0x01), ((b >> 6) & 0x01)); u_csamul_cla8_fa6_6_xor1 = (fa(((u_csamul_cla8_and6_6 >> 0) & 0x01), ((u_csamul_cla8_and7_5 >> 0) & 0x01), ((u_csamul_cla8_fa6_5_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa6_6_or0 = (fa(((u_csamul_cla8_and6_6 >> 0) & 0x01), ((u_csamul_cla8_and7_5 >> 0) & 0x01), ((u_csamul_cla8_fa6_5_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and7_6 = and_gate(((a >> 7) & 0x01), ((b >> 6) & 0x01)); u_csamul_cla8_and0_7 = and_gate(((a >> 0) & 0x01), ((b >> 7) & 0x01)); u_csamul_cla8_fa0_7_xor1 = (fa(((u_csamul_cla8_and0_7 >> 0) & 0x01), ((u_csamul_cla8_fa1_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa0_6_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa0_7_or0 = (fa(((u_csamul_cla8_and0_7 >> 0) & 0x01), ((u_csamul_cla8_fa1_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa0_6_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and1_7 = and_gate(((a >> 1) & 0x01), ((b >> 7) & 0x01)); u_csamul_cla8_fa1_7_xor1 = (fa(((u_csamul_cla8_and1_7 >> 0) & 0x01), ((u_csamul_cla8_fa2_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa1_6_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa1_7_or0 = (fa(((u_csamul_cla8_and1_7 >> 0) & 0x01), ((u_csamul_cla8_fa2_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa1_6_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and2_7 = and_gate(((a >> 2) & 0x01), ((b >> 7) & 0x01)); u_csamul_cla8_fa2_7_xor1 = (fa(((u_csamul_cla8_and2_7 >> 0) & 0x01), ((u_csamul_cla8_fa3_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa2_6_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa2_7_or0 = (fa(((u_csamul_cla8_and2_7 >> 0) & 0x01), ((u_csamul_cla8_fa3_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa2_6_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and3_7 = and_gate(((a >> 3) & 0x01), ((b >> 7) & 0x01)); u_csamul_cla8_fa3_7_xor1 = (fa(((u_csamul_cla8_and3_7 >> 0) & 0x01), ((u_csamul_cla8_fa4_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa3_6_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa3_7_or0 = (fa(((u_csamul_cla8_and3_7 >> 0) & 0x01), ((u_csamul_cla8_fa4_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa3_6_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and4_7 = and_gate(((a >> 4) & 0x01), ((b >> 7) & 0x01)); u_csamul_cla8_fa4_7_xor1 = (fa(((u_csamul_cla8_and4_7 >> 0) & 0x01), ((u_csamul_cla8_fa5_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa4_6_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa4_7_or0 = (fa(((u_csamul_cla8_and4_7 >> 0) & 0x01), ((u_csamul_cla8_fa5_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa4_6_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and5_7 = and_gate(((a >> 5) & 0x01), ((b >> 7) & 0x01)); u_csamul_cla8_fa5_7_xor1 = (fa(((u_csamul_cla8_and5_7 >> 0) & 0x01), ((u_csamul_cla8_fa6_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa5_6_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa5_7_or0 = (fa(((u_csamul_cla8_and5_7 >> 0) & 0x01), ((u_csamul_cla8_fa6_6_xor1 >> 0) & 0x01), ((u_csamul_cla8_fa5_6_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and6_7 = and_gate(((a >> 6) & 0x01), ((b >> 7) & 0x01)); u_csamul_cla8_fa6_7_xor1 = (fa(((u_csamul_cla8_and6_7 >> 0) & 0x01), ((u_csamul_cla8_and7_6 >> 0) & 0x01), ((u_csamul_cla8_fa6_6_or0 >> 0) & 0x01)) >> 0) & 0x01; u_csamul_cla8_fa6_7_or0 = (fa(((u_csamul_cla8_and6_7 >> 0) & 0x01), ((u_csamul_cla8_and7_6 >> 0) & 0x01), ((u_csamul_cla8_fa6_6_or0 >> 0) & 0x01)) >> 1) & 0x01; u_csamul_cla8_and7_7 = and_gate(((a >> 7) & 0x01), ((b >> 7) & 0x01)); u_csamul_cla8_u_cla8_a |= ((u_csamul_cla8_fa1_7_xor1 >> 0) & 0x01ull) << 0; u_csamul_cla8_u_cla8_a |= ((u_csamul_cla8_fa2_7_xor1 >> 0) & 0x01ull) << 1; u_csamul_cla8_u_cla8_a |= ((u_csamul_cla8_fa3_7_xor1 >> 0) & 0x01ull) << 2; u_csamul_cla8_u_cla8_a |= ((u_csamul_cla8_fa4_7_xor1 >> 0) & 0x01ull) << 3; u_csamul_cla8_u_cla8_a |= ((u_csamul_cla8_fa5_7_xor1 >> 0) & 0x01ull) << 4; u_csamul_cla8_u_cla8_a |= ((u_csamul_cla8_fa6_7_xor1 >> 0) & 0x01ull) << 5; u_csamul_cla8_u_cla8_a |= ((u_csamul_cla8_and7_7 >> 0) & 0x01ull) << 6; u_csamul_cla8_u_cla8_a |= (0x00) << 7; u_csamul_cla8_u_cla8_b |= ((u_csamul_cla8_fa0_7_or0 >> 0) & 0x01ull) << 0; u_csamul_cla8_u_cla8_b |= ((u_csamul_cla8_fa1_7_or0 >> 0) & 0x01ull) << 1; u_csamul_cla8_u_cla8_b |= ((u_csamul_cla8_fa2_7_or0 >> 0) & 0x01ull) << 2; u_csamul_cla8_u_cla8_b |= ((u_csamul_cla8_fa3_7_or0 >> 0) & 0x01ull) << 3; u_csamul_cla8_u_cla8_b |= ((u_csamul_cla8_fa4_7_or0 >> 0) & 0x01ull) << 4; u_csamul_cla8_u_cla8_b |= ((u_csamul_cla8_fa5_7_or0 >> 0) & 0x01ull) << 5; u_csamul_cla8_u_cla8_b |= ((u_csamul_cla8_fa6_7_or0 >> 0) & 0x01ull) << 6; u_csamul_cla8_u_cla8_b |= (0x00) << 7; u_csamul_cla8_u_cla8_out = u_cla8(u_csamul_cla8_u_cla8_a, u_csamul_cla8_u_cla8_b); u_csamul_cla8_out |= ((u_csamul_cla8_and0_0 >> 0) & 0x01ull) << 0; u_csamul_cla8_out |= ((u_csamul_cla8_ha0_1_xor0 >> 0) & 0x01ull) << 1; u_csamul_cla8_out |= ((u_csamul_cla8_fa0_2_xor1 >> 0) & 0x01ull) << 2; u_csamul_cla8_out |= ((u_csamul_cla8_fa0_3_xor1 >> 0) & 0x01ull) << 3; u_csamul_cla8_out |= ((u_csamul_cla8_fa0_4_xor1 >> 0) & 0x01ull) << 4; u_csamul_cla8_out |= ((u_csamul_cla8_fa0_5_xor1 >> 0) & 0x01ull) << 5; u_csamul_cla8_out |= ((u_csamul_cla8_fa0_6_xor1 >> 0) & 0x01ull) << 6; u_csamul_cla8_out |= ((u_csamul_cla8_fa0_7_xor1 >> 0) & 0x01ull) << 7; u_csamul_cla8_out |= ((u_csamul_cla8_u_cla8_out >> 0) & 0x01ull) << 8; u_csamul_cla8_out |= ((u_csamul_cla8_u_cla8_out >> 1) & 0x01ull) << 9; u_csamul_cla8_out |= ((u_csamul_cla8_u_cla8_out >> 2) & 0x01ull) << 10; u_csamul_cla8_out |= ((u_csamul_cla8_u_cla8_out >> 3) & 0x01ull) << 11; u_csamul_cla8_out |= ((u_csamul_cla8_u_cla8_out >> 4) & 0x01ull) << 12; u_csamul_cla8_out |= ((u_csamul_cla8_u_cla8_out >> 5) & 0x01ull) << 13; u_csamul_cla8_out |= ((u_csamul_cla8_u_cla8_out >> 6) & 0x01ull) << 14; u_csamul_cla8_out |= ((u_csamul_cla8_u_cla8_out >> 7) & 0x01ull) << 15; return u_csamul_cla8_out; }