<AledCuda[m]>
If you want to bridge to a peripheral that does not support ID and the controller does, the interconnect needs to do ID reflection which is relatively straightforward
<tpw_rules>
i had ID mandatory with width > 0 and the ability to specify each of the user widths independently
<tpw_rules>
which is how i needed on the cyclone v as it only had user data on aw and ar
<tpw_rules>
(but it treated a user data of 0 width as not present in the interface)
<tpw_rules>
s/interface/signature/
<tpw_rules>
i'm not sure if those are right but it's what i did
<tpw_rules>
i also made 5 sub interfaces for each stream which am sure is right
<tpw_rules>
though the new payload attribute of streams will make a lot of dots...
<AledCuda[m]>
You mean you split the channels into their own interfaces?
<tpw_rules>
yes
<tpw_rules>
they are five independent streams. i of course have them bundled up into one main signature
<tpw_rules>
but that main signature just has five stream signatures as members
<AledCuda[m]>
Hmm
<AledCuda[m]>
yeah I'm taking a look
<tpw_rules>
do you use anything in particular to template or set up docstrings?
<AledCuda[m]>
no
<tpw_rules>
you just do them by hand? numpy style?
<AledCuda[m]>
I just copied the wishbone file and have been file
<AledCuda[m]>
yeah
<tpw_rules>
ah
<AledCuda[m]>
s/file/editing
<AledCuda[m]>
numpy style is the standard for amaranth I believe
<tpw_rules>
yeah
<AledCuda[m]>
I do have some concerns with splitting up the signature in terms of name mangling and compatibility with other tools (in my case vivado)
<tpw_rules>
i just did that algorithmically and used that to set up an instance
<tpw_rules>
might end up slightly weirder with real amaranth streams
<tpw_rules>
there is probably scope for a method on the combo interface which creates one that's glued together but i don't think it would want to be common in amaranth code, only for connecting to other things. otherwise all the stream abstractions go away
buganini has quit [Ping timeout: 252 seconds]
buganini has joined #amaranth-lang
Wolfvak has left #amaranth-lang [Leaving]
buganini has quit [Ping timeout: 252 seconds]
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 265 seconds]
buganini has joined #amaranth-lang
synchromesh has quit [Read error: Connection reset by peer]