<d1b2>
<Nate> Would like to perform a simple clock domain rename (before trying more complex things). Trying to simulate with: m = Module() cd_os = ClockDomain("os") m.domains += cd_os dut = DUT() m.submodules.dut = DomainRenamer("os")(dut) sim = Simulator(m) clk_per = 1/clk_freq sim.add_clock(clk_per, domain="os") sim.add_sync_process(run) with sim.write_vcd(f"{type(dut).__name__}.vcd"): sim.run() but getting: File
<d1b2>
"/home/nates/.local/lib/python3.10/site-packages/amaranth/sim/_pycoro.py", line 85, in run raise NameError("Received command {!r} that refers to a nonexistent " NameError: Received command (tick sync) that refers to a nonexistent domain 'sync' fro m process '/home/nates/.local/lib/python3.10/site-packages/amaranth/sim/core.py:90'
<d1b2>
<Nate> oh, I specified domain="os" and it works
<d1b2>
<Nate> random q: any way to shift select a group of signals to add in gtkwave (or some workaround)? Or is it always a recursive append all? 😅
<kivikakk>
Nate: if you specify `gtkw_file="blah.gtkw", traces=[x, y, z]` to the `write_vcd` call, then opening the gtkw file will open the vcd with those traces shown
<d1b2>
<Nate> I guess that’ll work to print them out
phire has quit [Quit: No Ping reply in 180 seconds.]
phire has joined #amaranth-lang
urja has quit [Read error: Connection reset by peer]
bl0x_ has joined #amaranth-lang
bl0x has quit [Ping timeout: 248 seconds]
timkpaine has quit [Remote host closed the connection]