[Libre-soc-bugs] [Bug 906] change HDL code to not use type annotations even for dataclasses

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Aug 16 10:46:43 BST 2022


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

--- Comment #7 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #5)
> I added nmutil.plain_data.fields and nmutil.plain_data.replace utility
> functions, based on the dataclasses.fields and dataclasses.replace functions.
> 
> I finished converting all dataclasses usages in the HDL.

brilliant.  it maaay actually be appropriate to consider moving them
to nmigen, as one of the candidates for moving to nmigen is RecordObject,
augmenting it to use this.

(In reply to Jacob Lifshay from comment #6)
> idk if this is the right parent task, lkcl, please fill out the payment
> details as appropriate.

771? no - there's another place it can go, under the Horizon2020 grants.

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


More information about the libre-soc-bugs mailing list