Hw arith

Merge Master and hardware arith