Chargement…
Chargement…
The circuit is combinational. The fraction uses four steps: 0, 1/4, 2/4, 3/4.
Behaviour
0, 10, 20, 40.i_index selects the segment, saturated on the last point.o_value = y0 + (y1-y0)*i_frac/4.| Signal | Direction | Width | Description |
|---|---|---|---|
i_index | Input | 2 bits | Input index |
i_frac | Input | 2 bits | Input frac |
o_value | Output | 8 bits | Output value |