ieee754 package

Subpackages

Submodules

ieee754.pipeline module

class ieee754.pipeline.PipelineSpec(width, id_width, op_wid=0, opkls=None, pipekls=None, n_ops=2)

Bases: object

Pipeline Specification base class.

Attribute width:
 the IEEE754 FP bitwidth
Attribute id_wid:
 the Reservation Station muxid bitwidth
Attribute op_wid:
 an “operand bitwidth” passed down all stages
Attribute opkls:
 an optional class that is instantiated as the “operand”

See ieee754/fpcommon/getop FPPipeContext for how (where) PipelineSpec is used. FPPipeContext is passed down every stage of a pipeline and contains the Reservation Station multiplexer ID as well as an optional “operand”. This “operand” may be used to change the behaviour of the pipeline. In RISC-V terminology it would typically be set to e.g. funct7 or parts thereof.

Module contents