whitequark changed the topic of #glasgow to: digital interface explorer · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.irclog.whitequark.org/glasgow · discord https://1bitsquared.com/pages/chat · production https://www.crowdsupply.com/1bitsquared/glasgow (FUNDED)
egg|laptop|egg has quit [Read error: Connection reset by peer]
redstarcomrade has quit [Quit: Connection closed for inactivity]
redstarcomrade has joined #glasgow
GNUmoon has quit [Ping timeout: 276 seconds]
GNUmoon has joined #glasgow
nats` has quit [*.net *.split]
Qyriad has quit [*.net *.split]
russss has quit [*.net *.split]
nats` has joined #glasgow
russss has joined #glasgow
Qyriad has joined #glasgow
gruetzkopf has quit [*.net *.split]
sm2n has quit [*.net *.split]
edf0 has quit [*.net *.split]
elms has quit [*.net *.split]
marcan has quit [*.net *.split]
Rondom has quit [*.net *.split]
FireFly has quit [*.net *.split]
d1b2 has quit [*.net *.split]
rcombs has quit [*.net *.split]
ebb has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
_whitenotifier-d has quit [*.net *.split]
edf0 has joined #glasgow
Rondom has joined #glasgow
d1b2 has joined #glasgow
marcan has joined #glasgow
elms has joined #glasgow
FireFly has joined #glasgow
FireFly has quit [Changing host]
FireFly has joined #glasgow
elms has joined #glasgow
elms has quit [Changing host]
sm2n has joined #glasgow
ebb has joined #glasgow
gruetzkopf has joined #glasgow
rcombs has joined #glasgow
Fridtjof has joined #glasgow
FireFly has quit [Quit: WeeChat 2.0.1]
FireFly has joined #glasgow
GNUmoon has quit [Ping timeout: 276 seconds]
GNUmoon has joined #glasgow
GNUmoon has quit [Ping timeout: 276 seconds]
GNUmoon has joined #glasgow
redstarcomrade has quit [Quit: Connection closed for inactivity]
arisu has quit [Remote host closed the connection]
arisu has joined #glasgow
arisu has quit [Remote host closed the connection]
arisu has joined #glasgow
GNUmoon has quit [Ping timeout: 276 seconds]
arisu has quit [Remote host closed the connection]
arisu has joined #glasgow
arisu has quit [Remote host closed the connection]
arisu has joined #glasgow
GNUmoon has joined #glasgow
redstarcomrade has joined #glasgow
bvernoux has joined #glasgow
XgF has quit [Remote host closed the connection]
XgF has joined #glasgow
betelgeuse8 has joined #glasgow
betelgeuse has quit [Read error: Connection reset by peer]
betelgeuse8 is now known as betelgeuse
bvernoux has quit [Quit: Leaving]
betelgeuse has quit [Quit: The Lounge - https://thelounge.chat]
jstein has joined #glasgow
cyrozap has quit [Remote host closed the connection]
<d1b2> <sarea> I'm not quite sure but what is the best way to reset a custom ClockDomain (and all its assigned signals)? for example when I re-run my example applet via the CLI.
<d1b2> <dragonmux> by using that clock domain's ResetSignal().eq(1) to manually pulse the domain's resets
<d1b2> <sarea> hmmm... ok, but is there any exact condition that tells me when ResetSignal.eq(1) should be used? I just noticed that on the sync domain all signals are automatically reset after every start of my applet, while on a custom clockdomain this is not; the goal would be to get exactly the same behavior for my custom domain
<d1b2> <Attie> are you looking for the logic in your custom domain to be reset, or for the clock specifically?... (i.e: perhaps gated / in phase at start)
<d1b2> <Attie> I believe the former should be taken care of by the glasgow infrastructure...
<d1b2> <Attie> try referencing the VGA applet for example, make sure you set up the clock domain in the same way
<d1b2> <Attie> (if you don't, iirc it is possible to get a "running" applet without the reset connected to some parts, so it'll misbehave on re-run)
<d1b2> <sarea> actually i just want to reset a counter when restarting the app that is on the custom domain; here is an example:
<d1b2> <sarea> m.domains.ext = cd_ext = ClockDomain('ext') m.d.comb += cd_ext.clk.eq(self.bus.clk_signal_i) with m.If(counter != 0): m.d.ext += counter.eq(counter-1) with m.Else(): m.d.ext += self.bus.io_o.eq(1)
<d1b2> <sarea> I would have thought that this would be automatically reset on re-run
GNUmoon has quit [Ping timeout: 276 seconds]
hell has quit [Quit: CPU triple-faulted.]
electronic_eel has quit [Remote host closed the connection]
sauce has quit [Remote host closed the connection]
sauce has joined #glasgow
electronic_eel has joined #glasgow
hell has joined #glasgow
cyrozap has joined #glasgow
GNUmoon has joined #glasgow
jstein has quit [Quit: quit]
kaji has quit [Ping timeout: 264 seconds]
emilazy has quit [Ping timeout: 264 seconds]
kaji has joined #glasgow
emilazy has joined #glasgow