<ddribin[m]>
Setting `platform.default_rst = "button` does work, though it does not get run through a `FFSynchronizer`... probably doesn't matter
<ddribin[m]>
can't quite figure out how to setup a new clock domain 🙂 I don't think I have access to the clock signal? anyhow, I have something working. thanks!
<cr1901>
The reset signal itself should get run through an ResetSynchronizer (mildly different from FFSynchronizer)
<ddribin[m]>
Ah, yup, it does
<cr1901>
The default reset logic isn't that much to copy; when I did the "platform.default_rst = "button"" trick, it's because this is an example design and I didn't want to spend time interfacing the default logic into my source for a single change from default
<ddribin[m]>
what is the drawback to using default_rst ? Seems like the intent of Platform.dfault_rst is to setup a reset button?
<cr1901>
Some boards (Arty A7) have a button that is explicitly dedicated to being a design reset (I think this means it uses global routing; I would have to check Arty A7 docs)
<ddribin[m]>
okay. I'll fiddle around with a new clock domain a bit later, to see if I can get that working
<ddribin[m]>
I mean, that seems reasonable, right 🙂 we're declaring that this button *is* the reset button
<cr1901>
Sure, but I explained to you what I was doing; since I'm deviating from the built-in reset logic, even just a little, it's probably less surprising to ppl who don't know Amaranth to see explicit reset logic to indicate "hey, I'm doing something not default"
duskwuff[m] has joined #amaranth-lang
<duskwuff[m]>
in some cases it just means the button is literally labeled "RESET"
<cr1901>
In short, I got lazy, and didn't feel like copying; ice40 is a bit special since the default reset logic works around a hardware bug. Maybe a future RFC could expose the platform-specific resets to user code for small changes where the user doesn't need that much custom logic, Idk...
<whitequark[cis]1>
I think you can just copy paste it
<cr1901>
Perfect is the enemy of finished; I'll come back to it after I finish Sentinel's docs and take a break (8 last items to document)
<cr1901>
collector.defined_domains will contain "sync", and therefore the missing_domain function- i.e. SiliconBluePlatform.create_missing_domain- won't be called for "sync"
<whitequark[cis]1>
yes
<whitequark[cis]1>
this is regretfully undocumented
Degi has quit [Ping timeout: 264 seconds]
Degi has joined #amaranth-lang
d_olex has quit [Remote host closed the connection]
d_olex has joined #amaranth-lang
TD--Linux is now known as TD-Linux
jjsuperpower__ has joined #amaranth-lang
jjsuperpower_ has quit [Ping timeout: 246 seconds]
SpaceCoaster has quit [Read error: Connection reset by peer]
SpaceCoaster has joined #amaranth-lang
jjsuperpower_ has joined #amaranth-lang
jjsuperpower__ has quit [Ping timeout: 245 seconds]
jjsuperpower_ has quit [Ping timeout: 265 seconds]
jjsuperpower has joined #amaranth-lang
jjsuperpower_ has joined #amaranth-lang
jjsuperpower has quit [Remote host closed the connection]
SpaceCoaster has quit [Ping timeout: 244 seconds]
SpaceCoaster has joined #amaranth-lang
jjsuperpower_ has quit [Ping timeout: 265 seconds]