hdl/*: improve bit utilization, more accurate CORDIC calculation