ChanServ changed the topic of #nmigen to: nMigen hardware description language · code at https://github.com/nmigen · logs at https://freenode.irclog.whitequark.org/nmigen · IRC meetings each Monday at 1800 UTC · next meeting TBD
lf has quit [Ping timeout: 260 seconds]
lf has joined #nmigen
emeb has quit [Quit: Leaving.]
FL4SHK has quit [Ping timeout: 240 seconds]
FL4SHK has joined #nmigen
FFY00 has quit [Read error: Connection reset by peer]
FFY00 has joined #nmigen
electronic_eel has quit [Ping timeout: 260 seconds]
electronic_eel has joined #nmigen
Raito_Bezarius has quit [Ping timeout: 260 seconds]
Raito_Bezarius has joined #nmigen
PyroPeter_ has joined #nmigen
Degi_ has joined #nmigen
PyroPeter has quit [Ping timeout: 260 seconds]
PyroPeter_ is now known as PyroPeter
Degi has quit [Ping timeout: 260 seconds]
Degi_ is now known as Degi
sakirious has quit [Read error: Connection reset by peer]
sakirious has joined #nmigen
Bertl_oO is now known as Bertl_zZ
emeb_mac has quit [Quit: Leaving.]
chipmuenk has joined #nmigen
Chips4Makers has quit [Quit: Leaving.]
Chips4Makers has joined #nmigen
FL4SHK has quit [Ping timeout: 246 seconds]
FL4SHK has joined #nmigen
Bertl_zZ is now known as Bertl
chipmuenk has quit [Quit: chipmuenk]
chipmuenk1 has joined #nmigen
Lord_Nightmare has quit [Ping timeout: 272 seconds]
chipmuenk1 is now known as chipmuenk
Lord_Nightmare has joined #nmigen
jeanthom has joined #nmigen
sakirious has quit [Quit: The Lounge - https://thelounge.chat]
sakirious has joined #nmigen
jude59 has joined #nmigen
<jude59> whitequark any tips for getting an arbitrary button to act as the reset signal on the ECP5? I am requesting a button, then attempting to assign a ResetSignal() to its value. However, I get a DomainError telling me that my signal "refers to reset of reset-less domain sync". I do not have any assigns to sync in the module where I am making this
<jude59> assignment, but do have numerous in its submodules.
<agg> by default the ECP5Platform has a reset_less=True sync domain
<agg> (in vendor/lattice_ecp5.py line 310)
<agg> so you probably want to make your own sync domain explicitly instead
<agg> cd_sync = ClockDomain("sync", reset_less=False); m.domains += cd_sync; m.d.comb += cd_sync.clk.eq(platform.request("clk")), cd_sync.rst.eq(platform.request("rst"))
<agg> that sort of thing
<agg> (jude59: ^)
<agg> (reset_less=False is the default btw, just wrote it to be explicit)
<jude59> Ahh, that does make sense. Thanks!
<agg> oh, and that should be "platform.request("clk").i" etc, not just the bare pin object
<agg> there's some more complexity available to handle reset/configuration, the comments around that clock domain creation in lattice_ecp5.py give some details
<agg> but just doing ^ should work too afaik
<jude59> Agreed. Just did not initially realize the behavior was platform-specific and that I should look in the platform definition itself for the relevant info.
<agg> jude59: oh, looking at the lattice_ecp5 a bit more, if you specify a platform.default_rst, it will use that for the automatic sync domain and wire it to the GSR global reset signal
<agg> (set default_rst equal to a pin name, like default_clk is)
<agg> love when the comments are like "(None of this is documented)"
emeb has joined #nmigen
jude59 has quit [Quit: Ping timeout (120 seconds)]
Raul has quit [Quit: Connection closed]
peeps[zen] has joined #nmigen
peepsalot has quit [Ping timeout: 256 seconds]
<d1b2> <J> (now that's an interesting bug WRT pings and channel membership on discord... I assume that's a matrix bridge bot?)
<d1b2> <J> clearly there's a jude59 in the channel, but discord pinged me instead of them... weird.
<d1b2> <J> I'd imagine not many people have single letter nicks and so they're unlikely to experience the glitch in development or testing.
<d1b2> <J> (I know this is OT, but it's too interesting not to comment on where it happens... I'll report it to discord)
peeps[zen] is now known as peepsalot
<agg> Yea, both of us are on Freenode IRC
<sorear> jude59 is an IRC user; they do not appear to be connected via the matrix.org matrix-IRC bridge, although I can't rule out that they are self-hosting a matrix-IRC bridge
<agg> sorear: d1b2 is a discord bridge, too
<sorear> I know that
modwizcode has quit [Ping timeout: 272 seconds]
emeb_mac has joined #nmigen
<d1b2> <J> hrmn
sakirious has quit [Ping timeout: 246 seconds]
sakirious has joined #nmigen
chipmuenk has quit [Quit: chipmuenk]
jeanthom has quit [Ping timeout: 265 seconds]