[Libre-soc-bugs] [Bug 458] PartitionedSignal needs nmigen constructs "m.If", Switch etc

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Sep 27 22:11:56 BST 2021


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

--- Comment #17 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://git.libre-soc.org/?p=nmigen.git;a=commitdiff;h=6a66c8a2283f031dbc7aec12bbf7b5b708e66469

Value.__Assign__, __Mux__ and __Switch__ added so far.  Cat was not successful,
will need investigating.  it might need a static class function not a method,
there.

PartitionedSignal now derives from UserValue (this is temporary)
but does not yet have __Mux__ etc.

part_mux.py is independent, part_cat.py likewise, part_assign.py needs writing.
part_add.py on the other hand and other arithmetic operations are linked
in to respective operator-overrides (__add__ etc.)

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


More information about the libre-soc-bugs mailing list