[Libre-soc-bugs] [Bug 736] SimdSignal's integration with nmigen needs to handle first args not being SimdSignals

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Oct 25 11:45:01 BST 2021


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

--- Comment #7 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://www.programiz.com/python-programming/methods/built-in/issubclass

walk the list (or other params), call issubclass.  made slightly more
complex by the fact that ValueCastable is not part of the Value chain,
in fact it throws a royal spanner in the works.  a partial hack may
be possible with: "if isinstance(1st, ValueCastable) and not isinstance(2nd,
ValueCastable) highest = 1st" and proceed from there

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


More information about the libre-soc-bugs mailing list