jjsuperpower has quit [Remote host closed the connection]
jjsuperpower_ has joined #amaranth-lang
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #amaranth-lang
Chips4MakersakaS has joined #amaranth-lang
<Chips4MakersakaS>
I want to capture the state of a bus at the beginning of a simulation in a process. Should I use `cxt.delay(0).sample(bus)` in the beginning or is `cxt.changed(bus)` enough to also get a capture in the beginning of the simulation ?
<Chips4MakersakaS>
I believe this has been discussed before but don't remember outcome of discussion.
<Chips4MakersakaS>
Conext is I want to write monitor for VGA output with image decoding and don't want to make assumptions start state of the VGA output.
<Chips4MakersakaS>
* make assumptions on start state
<Chips4MakersakaS>
* Context is I want to write monitor for VGA output with image decoding and don't want to make assumptions on start state of the VGA output.
zyp[m] has joined #amaranth-lang
<zyp[m]>
I think ctx.get(bus) should get you the initial state
<Chips4MakersakaS>
I'm in a process not a testbench and I thought `.get()` was not available there. I'm just learning though.
<Chips4MakersakaS>
I'm using process as I think that is what needed to detect glitches on the VGA outputs and I believe VGA output should be glitch-free or at least give warning.
jjsuperpower__ has joined #amaranth-lang
jjsuperpower_ has quit [Remote host closed the connection]
richardeoin has quit [Ping timeout: 260 seconds]
lf has joined #amaranth-lang
urja has quit [Read error: Connection reset by peer]
urja has joined #amaranth-lang
frgo has quit [Read error: Connection reset by peer]