[Libre-soc-dev] daily kan-ban update 23mar2021

Tobias Platen libre-soc at platen-software.de
Tue Mar 23 20:43:32 GMT 2021


On Tue, 23 Mar 2021 20:36:26 +0000
Luke Kenneth Casson Leighton <lkcl at lkcl.net> wrote:

> 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
I'm going to fix that now.
> 
> 
> -- 
> ---
> crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
> _______________________________________________
> Libre-soc-dev mailing list
> Libre-soc-dev at lists.libre-soc.org
> http://lists.libre-soc.org/mailman/listinfo/libre-soc-dev


-- 
Tobias Platen <libre-soc[at]platen-software[dot]de>



More information about the Libre-soc-dev mailing list