[Libre-soc-dev] daily kan-ban update 23mar2021
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Tue Mar 23 20:36:26 GMT 2021
On Tuesday, March 23, 2021, Tobias Platen <libre-soc at platen-software.de>
wrote:
> -- Shift address bits 61--12 right by 0--47 bits and
> -- supply the least significant 16 bits of the result.
https://git.libre-soc.org/?p=soc.git;a=commitdiff;h=HEAD
blegh :)
these microwatt functions are awful. they are heavily optimised for Xilinx
FPGA toolchains (which are s***) to specifically target Xilinx LUT6 FPGAs.
we should not in any way try to replicate or use them.
just replace with shift and mask.
x = addr >> shift
return x[0:16] # but convert to MSB0
--
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
More information about the Libre-soc-dev
mailing list