<_whitenotifier-3>
[nmigen] whitequark commented on issue #254: Find solution to translate values to strings for Symbiyosys vcd files - https://git.io/JvEeZ
samlittlewood has joined #nmigen
<cr1901_modern>
Huh, part of me is surprised, but another part isn't that you're on IRC, Sam :P
<samlittlewood>
:) yeah - not a regular, but came by as I am poking around with glasgow & nmigen
<cr1901_modern>
Thanks for your help w/ the CM32p module, btw
<samlittlewood>
np - v. glad to help!
<awygle>
whitequark: do Records have a guaranteed stable representation? they subclass Value so i assume one can Cast them to Signal, right?
<awygle>
context: "how do i take a stream which uses a record for its payload type and connect it to a stream whose payload is half as wide, or twice as wide?"
<awygle>
i could do twice as wide with sub-records, but i don't know how to do half as wide in a generic way unless there's a way to crunch on the bits of the record directly (and even then i gotta figure out how/if to reassemble them afterwards, but that's solveable)
electronic_eel has quit [Ping timeout: 260 seconds]
electronic_eel_ has joined #nmigen
<Sarayan>
plus I have a purring cat on in my arms, so there's that
<awygle>
Aw, kitty
electronic_eel_ has quit [Ping timeout: 255 seconds]
electronic_eel has joined #nmigen
<ZirconiumX>
anuejn: since nobody answered your question, "no, you shouldn't have nested FSMs" because nMigen is internally a stack and so m.next can only refer to the innermost item of the stack here
<ZirconiumX>
Instead pull the inner FSM out to the top level of your module and have the two FSMs communicate over signals
<emily>
kitty?
* emily
's ears perk up
* cr1901_modern
is a simple man. He sees cat, he pets cat.
<mwk>
mewo?
<mwk>
*meow
<awygle>
Probably worth mentioning the lack of nested FSMs on the FSM issue