What is the advantage of Hardware divider (HDIV)? Which series in the NuMicro? Family can support HDIV?

Post Reply
a_ziliu
Posts: 208
Joined: 20 Mar 2017, 10:52

27 Mar 2017, 14:05

The hardware divider (HDIV) can use hardware circuit to perform division operation directly. Software is not required to translate division instructions into a large number of alternative operation instructions. In the applications requiring high degree of numerical computation, such as sensor value reading/writing and analysis, the HDIV can increase the computing capacity of the CPU and reduce the operation time.
In the NuMicro? Family, the series embedded with Cortex?-M4 core are equipped with Arithmetic Logic Unit (ALU) that supports hardware division, which supports SDIV and UDIV instructions for 32-bit Signed and Unsigned division operation. Depending on the numeral of the dividend and the divisor, the operation can be completed in 2 to 12 HCLK cycles.
Since the Arithmetic Logic Unit (ALU) in the Cortex?-M0 core does not support hardware division, the series with the Cortex?-M0 core cannot support hardware division. However, the peripheral in the M051 DN/DE series specifically includes a HDIV to meet user needs of high-speed computing. The HDIV in the M051 DN/DE series can perform 32-bit dividend and 16-bit divisor Signed and Unsigned division operation. Each calculation requires 6 HCLK cycles.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests