Altfp_sqrt signals, Altfp_sqrt signals -4 – Altera Floating-Point User Manual
Page 72

Figure 8-2: ALTFP_SQRT ModelSim Simulation Waveform (Output Data)
This design example implements a floating-point square root function for single-precision format
numbers with all the exception output ports instantiated. The output ports include
overflow
,
zero
, and
nan
.
The output latency is 28 clock cycles. Every square root computation generates the output result 28 clock
cycles later.
Table 8-3: Summary of Input Values and Corresponding Outputs
This table lists the inputs and corresponding outputs obtained from the simulation in the waveforms.
Time
Event
0 ns, start-up
Output value: All values seen on the output port before the 28th clock cycle are merely
due to the behavior of the system during start-up and should be disregarded.
2 000 ns
data[]
value: 2D0B 496Ah
The data input is a normal number.
84 000 ns
Output value: 363C D4EBh
The square root computation of a normal input results in a normal output.
14 000 ns
data[]
value: 0000 0000h
96 000 ns
Output value: 0000 0000h
Exception handling ports:
zero
asserts
The square root computation of zero results in a zero.
23 000 ns
data[]
value: 7F80 0000h
The input is infinity.
105 000 ns
Output value: 7F80 0000h
Exception handling ports:
overflow
asserts
ALTFP_SQRT Signals
8-4
ALTFP_SQRT Signals
UG-01058
2014.12.19
Altera Corporation
ALTFP_SQRT