[Libre-soc-dev] daily kan-ban update 06AUG2020

Tobias Platen libre-soc at platen-software.de
Sat Aug 8 15:51:43 BST 2020


On Sat, 8 Aug 2020 11:27:29 +0100
Luke Kenneth Casson Leighton <lkcl at lkcl.net> wrote:

> On Friday, August 7, 2020, Tobias Platen <libre-soc at platen-software.de>
> wrote:
> 
> > today: working on the thing in line 65 of addr_split.py
> 
> 
> one really bad hack way to do that is to not modify LDSTSplitter at all but
> to pass in a fully expanded 128 bit mask.
> 
> if you cannot resolve it by modifying LDSTSplitter internally then try that.
> 
> l.
Today (afternoon) I modified LDSTSplitter to work with bytes. I think more test cases are needed for different scenarios. If something is fundamentally wrong I can still revert my last commit.

t.
 
> 
> 
> >
> >   60 class LDSTSplitter(Elaboratable):
> >   61
> >   62     def __init__(self, dwidth, awidth, dlen):
> >   63         self.dwidth, self.awidth, self.dlen = dwidth, awidth, dlen
> >   64         # cline_wid = 8<<dlen # cache line width: bytes (8) times
> > (2^^dlen)
> >   65         cline_wid = dwidth  # TODO: make this bytes not bits
> >
> > _______________________________________________
> > Libre-soc-dev mailing list
> > Libre-soc-dev at lists.libre-soc.org
> > http://lists.libre-soc.org/mailman/listinfo/libre-soc-dev
> >
> 
> 
> -- 
> ---
> 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