ieee754.fclass package

Submodules

ieee754.fclass.fclass module

class ieee754.fclass.fclass.FPClassMod(in_pspec, out_pspec)

Bases: nmutil.pipemodbase.PipeModBase

obtains floating point information (zero, nan, inf etc.)

elaborate(platform)
ispec()
ospec()

ieee754.fclass.pipeline module

class ieee754.fclass.pipeline.FPClassBasePipe(modkls, in_pspec, out_pspec)

Bases: nmutil.singlepipe.ControlBase

elaborate(platform)

handles case where stage has dynamic ready/valid functions

class ieee754.fclass.pipeline.FPClassMuxInOut(in_width, out_width, num_rows, op_wid=0)

Bases: ieee754.fclass.pipeline.FPClassMuxInOutBase

Reservation-Station version of FPClass pipeline.

  • fan-in on inputs (an array of FPBaseData: a,b,mid)
  • 2-stage multiplier pipeline
  • fan-out on outputs (an array of FPPackData: z,mid)

Fan-in and Fan-out are combinatorial.

class ieee754.fclass.pipeline.FPClassMuxInOutBase(modkls, in_width, out_width, num_rows, op_wid=0, pkls=<class 'ieee754.fclass.pipeline.FPClassBasePipe'>)

Bases: nmutil.concurrentunit.ReservationStations

Reservation-Station version of FPClass pipeline.

  • fan-in on inputs (an array of FPBaseData: a,b,mid)
  • 2-stage multiplier pipeline
  • fan-out on outputs (an array of FPPackData: z,mid)

Fan-in and Fan-out are combinatorial.

class ieee754.fclass.pipeline.FPFClassPipe(in_pspec, out_pspec, modkls)

Bases: nmutil.dynamicpipe.DynamicPipe

FPConversion: turns its argument (modkls) from a stage into a pipe

Module contents