[Libre-soc-bugs] [Bug 1094] insndb instruction database visitor-walker is needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Jun 22 16:39:16 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1094

--- Comment #227 from Dmitry Selyutin <ghostmansd at gmail.com> ---
(In reply to Dmitry Selyutin from comment #147)
> Roadmap is:
> 1. Update setup.py and install the module. Perhaps we should install it with
> devscripts?
> 2. Deprecate Node, walk() and similar stuff.
> 3. Switch db.py to new approach.
> 

1. Introduced dependency in hdl-dev-repos instead:
https://git.libre-soc.org/?p=dev-env-setup.git;a=commitdiff;h=31539e2fdbce1ac5f16792440e6b1acf8a5f1a32
2. Node, walk, Dict et al. are deprecated:
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=89958b87cedb6dda485e00049f82703ce19f739a
3. db.py is switched to new approach (ibid.). I had to drop TreeVisitor for a
while, though.

Despite that formally this task is completed, at considering the steps I
mentioned, I'd like to practice a bit with other pysvp64db commands. I can
handle it in the scope of this task. I'm going to add few commands, because
pysvp64db seems to be quite a useful tool.

After this we can switch to other tasks which use visitors (I suggest codegen
again, but this time in visitor API). Any objections?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list