Ports

Table 1. Common PortsThese signals are applicable to all CORDIC core modes. Refer to the subsequent tables for mode-specific ports.
Port Direction Description
clk Input Core operating clock.
reset_n Input Active low core reset.
i_call Input Valid signal for input. Assert this signal high together with reset to start operation. Deassert this signal when o_done is high.
Assert this signal again when there is a new input to calculate. Optionally, you can leave this signal high to continue operation but send the new input when o_done is high.
Refer to the specific CORDIC mode input ports.
o_done Output Valid signal for output. The core asserts this signal when operation is complete the output available at the output ports.
Refer to the specific CORDIC mode output ports.
Table 2. Sin and Cos Mode Ports
Port Direction Description
i_data[31:0] Input Signed input data in degree.
Valid range from 0 to 360.
o_cos[31:0] Output Signed results of cosine function.
Divide the value by 65536 for a floating-point result.
Precision: ±0.0001
o_sin[31:0] Output Signed results of sine function.
Precision: ±0.0001
Divide the value by 65536 for a floating-point result.
o_deg[31:0] Output Not applicable.
o_x[31:0] Output Similar to o_cos output.
o_y[31:0] Output Similar to o_sin output.
Table 3. Arcsin and Arccos Mode Ports
Port Direction Description
i_data[31:0] Input Signed input data.
Valid range from -1 to 1.
Multiply the value by 65536 before input.
o_arccos[31:0] Output Signed results of arccosine function.
Divide the value by 65536 for a floating-point result in degree.
Precision: ±0.0001 degree
o_arcsin[31:0] Output Signed results of arcsinine function.
Divide the value by 65536 for a floating-point result in degree.
Precision: ±0.0001 degree
o_deg[31:0] Output Not applicable.
o_x[31:0] Output Similar to o_arccos output.
o_y[31:0] Output Similar to o_arcsin output.
Table 4. Arctan Mode Ports
Port Direction Description
i_x[31:0] Input Signed x-axis input data.
Valid range from -255 to 255.
Multiply the value by 65536 before input.
i_y[31:0] Input Signed y-axis input data.
Valid range from -255 to 255.
Multiply the value by 65536 before input.
o_arctan[31:0] Output Signed results of arctangent function.
Divide the value by 65536 for a floating-point result in degree.
Precision: ±0.0001 degree
o_deg[31:0] Output Similar to o_arctan output.
o_x[31:0] Output Not applicable.
o_y[31:0] Output Not applicable.
Table 5. Sinh and Cosh Mode Ports
Port Direction Description
i_data[31:0] Input Signed input data.
Valid range from -3.142 to 3.142.
Multiply the value by 65536 before input.
o_cosh[31:0] Output Signed results of hyperbolic cosine function.
Divide the value by 65536 for a floating-point result.
Precision: ±0.0001
o_sinh[31:0] Output Signed results of hyperbolic sine function.
Divide the value by 65536 for a floating-point result.
Precision: ±0.0001
o_deg[31:0] Output Not applicable.
o_x[31:0] Output Similar to o_cosh output.
o_y[31:0] Output Similar to o_sinh output.
Table 6. Tanh Mode Ports
Port Direction Description
i_data[31:0] Input Signed input data.
Valid range from -1.13 to 1.13.
Multiply the value by 65536 before input.
o_tanh[31:0] Output Signed results of hyperbolic tangent function.
Divide the value by 65536 for a floating-point result.
Precision: ±0.0001
o_cosh[31:0] Output Signed results of hyperbolic cosine function.
Divide the value by 65536 for a floating-point result.
Precision: ±0.0001
o_sinh[31:0] Output Signed results of hyperbolic sine function.
Divide the value by 65536 for a floating-point result.
Precision: ±0.0001
o_alpha[31:0] Output Similar to o_tanh output.
o_x[31:0] Output Similar to o_cosh output.
o_y[31:0] Output Similar to o_sinh output.
Table 7. Exponential Mode Ports
Port Direction Description
i_data[31:0] Input Signed input data.
Valid range from -10 to 10.
Multiply the value by 65536 before input.
o_exp[31:0] Output Signed results of exponential function.
Divide the value by 65536 for a floating-point result.
Precision: ±0.0001
o_alpha[31:0] Output Similar to o_exp output.
o_x[31:0] Output Not applicable.
o_y[31:0] Output Not applicable.
Table 8. Natural Log (ln) Mode Ports
Port Direction Description
i_data[31:0] Input Signed input data.
Valid range from 0 to 30000.
Multiply the value by 65536 before input.
o_ln[31:0] Output Signed results of ln function.
Divide the value by 65536 for a floating-point result.
Precision: ±0.0001
o_alpha[31:0] Output Similar to o_ln output.
o_x[31:0] Output Not applicable.
o_y[31:0] Output Not applicable.
Table 9. Square Root Mode Ports
Port Direction Description
i_data[31:0] Input Signed input data.
Valid range from 0 to 30000.
Multiply the value by 65536 before input.
o_sqrt[31:0] Output Signed results of ln function.
Divide the value by 65536 for a floating-point result.
Precision: ±0.0004
o_alpha[31:0] Output Similar to o_sqrt output.
o_x[31:0] Output Not applicable.
o_y[31:0] Output Not applicable.