[Libre-soc-bugs] [Bug 713] PartitionedSignal enhancement to add partition-context-aware lengths
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Wed Oct 13 01:10:25 BST 2021
https://bugs.libre-soc.org/show_bug.cgi?id=713
--- Comment #91 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #90)
> (In reply to Jacob Lifshay from comment #88)
>
> > Of course you can't if you *insist* on the SimdSignal constructor taking the
> > full-simd-width. It works great, by contrast, if the SimdSignal constructor
> > takes the *element width*, as I've been advocating for for a while.
>
> brief: (1am), both are needed. see comment #63.
yup, both are needed, but full-simd-width is passed in through a scoped-global,
not through SimdSignal.__init__ arguments.
>
> (In reply to Jacob Lifshay from comment #89)
>
> > I do think that having just the XLEN global idea will save us a huge amount
> > of time,
>
> yes. but only if its class is SimdShape which derives from Shape.
wait...I am planning on XLEN being a type that can be passed into SimdShape,
but it isn't a Shape or a SimdShape -- it acts like an integer, not a Shape.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list