[libre-riscv-dev] div/mod algorithm written in python
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Fri Jul 5 12:13:08 BST 2019
i've added some more "tie-in" comments.
* div0.py FPDivStage0Mod.elaborate, where the conversion from FPSCData
a and b need to be converted (stored) in DivPipeCoreInputData dividend
and divisor:
https://git.libre-riscv.org/?p=ieee754fpu.git;a=blob;f=src/ieee754/fpdiv/div0.py;h=fb2bccd6302ad0a7688c6378194550a5ffdeb2f5;hb=47db0fc7fe59d4a9cf356ee0caf7c3ce143f8683#l86
* self.operation needs to be deleted, it's already covered by
self.ctx.op. if something "more comprehensive" is needed, we can look
at how to implement that. bear in mind it reflects back right the way
through the *ENTIRE* pipeline, right the way up to the Reservation
Station multi-in/out class.
More information about the libre-riscv-dev
mailing list