[Libre-soc-dev] daily kan-ban update 17may2021

Jacob Lifshay programmerjake at gmail.com
Tue May 18 10:31:13 BST 2021


On Tue, May 18, 2021, 02:20 Lauri Kasanen <cand at gmx.com> wrote:

> On Tue, 18 May 2021 10:03:55 +0100
> Luke Kenneth Casson Leighton <lkcl at lkcl.net> wrote:
>
> > missing a mkdir that i did manually at the commandline
> > $ mkdir /home/lauri/openpower-isa/src/openpower/decoder/isafunctions/
>
> pyfnwriter and pywriter succeeded. (yikes, 6m 30s for the latter)
>

yeah, the parser is *really* slow, it regenerates a lalr parser (because
that was easy, i'm assuming) every time it's constructed for every
instruction, because no one got around to figuring out how to cache it. It
really needs to be rewritten to parse a file at a time instead of an
instruction at a time.

Trying the fp tests now. 33s for 10 tests (oof), they all failed with
> AttributeError: _SimulatorState object has no attribute 'timeline'
>

iirc that's the message from us reaching into the nmigen simulator's
internal state to get the elapsed simulated time and nmigen changed how
they organize the simulator's internal state.

Here's how I fixed that in the past:
https://git.libre-soc.org/?p=soc.git;a=commitdiff;h=e69d41220587c607be13a34cc14f917762dd529a;hp=1b165eb6465b426e6d64de2646d144d7fab5c2ea

Jacob


More information about the Libre-soc-dev mailing list