sb0 changed the topic of #m-labs to: https://m-labs.hk :: Logs http://irclog.whitequark.org/m-labs :: Due to spam bots, only registered users can talk. See: https://freenode.net/kb/answer/registration
cedric has quit [Quit: ZNC 1.7.1 - https://znc.in]
cedric has joined #m-labs
cedric has quit [Changing host]
cedric has joined #m-labs
rohitksingh_work has joined #m-labs
larsc has quit [Quit: Lost terminal]
wolfspraul has quit [Ping timeout: 252 seconds]
<GitHub-m-labs> [artiq] hartytp commented on issue #1124: @sbourdeauducq what's the status of this? Is there anything else we should do before finalising plans for hardware v2.0? Do you think it's likely this could be a gw/fw bug, or do you think it's almost certainly a hw issue? https://github.com/m-labs/artiq/issues/1124#issuecomment-442353677
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1124: No idea. https://github.com/m-labs/artiq/issues/1124#issuecomment-442359103
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1142: Supporting injection everywhere is quite complicated with all the details and different ways to set frequency (different DDS chips, SPI/parallel, su-servo, upcoming AD9910 RAM mode, AD9914 fractional FTW, etc) https://github.com/m-labs/artiq/issues/1142#issuecomment-442361759
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<GitHub-m-labs> [artiq] hartytp commented on issue #1124: @sbourdeauducq so, are you happy for us to press on with v2.0 as things are now? Or, is there anything else you want us to do first? https://github.com/m-labs/artiq/issues/1124#issuecomment-442384164
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1124: Yeah, let's make more boards and see what happens. The current lack of usable boards is making trench warfare against bugs like this particularly difficult anyway. https://github.com/m-labs/artiq/issues/1124#issuecomment-442385086
<GitHub-m-labs> [artiq] hartytp commented on issue #1124: Sounds like a good plan. https://github.com/m-labs/artiq/issues/1124#issuecomment-442386066
<GitHub-m-labs> [artiq] marmeladapk opened pull request #1197: Added clear command to artiq_flash to erase flash memory (master...clear_flash) https://github.com/m-labs/artiq/pull/1197
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1197: Nitpicking but I would call it "erase" since OpenOCD already calls it "erase". https://github.com/m-labs/artiq/pull/1197#issuecomment-442398183
<GitHub-m-labs> [artiq] marmeladapk commented on issue #1197: Done https://github.com/m-labs/artiq/pull/1197#issuecomment-442399274
<GitHub-m-labs> [artiq] jordens commented on issue #1197: The problem you mention would be a bug and might have other consequences (not booting is a grave one but could just as well be much more subtle problems if the flash is corrupted). I haven't seen this. Could you file an issue and next time you observe it, dump the entire flash contents in the broken state (using openocd) and do your clear-flash combo and dump it again.
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1197: FWIW, I have also never seen it. Kasli has always flashed and booted reliably IME. https://github.com/m-labs/artiq/pull/1197#issuecomment-442400079
<GitHub-m-labs> [artiq] marmeladapk commented on issue #1197: > Could you file an issue and next time you observe it, dump the entire flash contents in the broken state (using openocd) and do your clear-flash combo and dump it again. Then we can debug the actual issue.... https://github.com/m-labs/artiq/pull/1197#issuecomment-442400732
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1197: Sometimes with some builds on Sayma, there is no output at all on the UART (@hartytp has also seen it), but I suspect this is only due to the bitstream (and likely a Vivado bug, or perhaps the legendary Ultrascale I/O timing instability across PVT and bitstream builds) and not the flash itself. https://github.com/m-labs/artiq/pull/1197#issuecomment-442401738
<GitHub-m-labs> [artiq] sbourdeauducq reopened issue #1064: Sayma: UART silence https://github.com/m-labs/artiq/issues/1064
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1064: Check I/O timing numbers (reported by Vivado) at the flash pins. https://github.com/m-labs/artiq/issues/1064#issuecomment-442402949
<bb-m-labs> build #2093 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/2093
<GitHub-m-labs> [artiq] marmeladapk commented on issue #1064: AFAIK in case of @bradbqc it's the same bitstream that worked before and didn't work after flash.... https://github.com/m-labs/artiq/issues/1064#issuecomment-442410279
<bb-m-labs> build #2094 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/2094
<bb-m-labs> build #2728 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2728 blamelist: Pawe? K <marmeladapk@users.noreply.github.com>
<sb0> whitequark: what about the syscall arg change?
rohitksingh_work has quit [Read error: Connection reset by peer]
rohitksingh has joined #m-labs
<GitHub-m-labs> [artiq] hartytp commented on issue #1197: What I have seen on Kasli is that sometimes it stops giving me any output on the UART. Power cycling while leaving the USB connected and also `artiq_flash -t kasli start` do not help. Removing power and USB fixes the issue. https://github.com/m-labs/artiq/pull/1197#issuecomment-442451343
<acathla> I think I found the bug, it's from the python code that sends bytes to the serial port... yeah I'm a noob in python too.
<GitHub-m-labs> [artiq] hartytp opened issue #1198: malformed device_db entries break artiq_ctlmgr https://github.com/m-labs/artiq/issues/1198
Gurty has quit [Excess Flood]
Gurty has joined #m-labs
[X-Scale] has joined #m-labs
X-Scale has quit [Ping timeout: 246 seconds]
[X-Scale] is now known as X-Scale
<GitHub-m-labs> [artiq] jordens commented on issue #1199: This also happens (IIRC) if you want to use one Urukul with `sync_device` specified and another without or if you have a `AD9910` channel with `sw_device` and another without. https://github.com/m-labs/artiq/issues/1199#issuecomment-442521578
<GitHub-m-labs> [artiq] jordens commented on issue #1199: Something similar happens (IIRC) if you want to use one Urukul with `sync_device` specified and another without or if you have a `AD9910` channel with `sw_device` and another without. https://github.com/m-labs/artiq/issues/1199#issuecomment-442521578
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1199: RPCs should be special cased and this should not happen here, the compiler should not know about the type of the controller client class. @whitequark https://github.com/m-labs/artiq/issues/1199#issuecomment-442536178
dlrobertson has joined #m-labs
rohitksingh has quit [Ping timeout: 246 seconds]
lkcl has quit [Read error: Connection reset by peer]
lars__ has joined #m-labs
lkcl has joined #m-labs
<whitequark> sb0: that change looks good to me
<whitequark> it is definitely a typo i made
<GitHub-m-labs> [artiq] whitequark commented on issue #1199: > RPCs should be special cased and this should not happen here, the compiler should not know about the type of the controller client class.... https://github.com/m-labs/artiq/issues/1199#issuecomment-442586655
<whitequark> sb0: is there a reason migen doesn't support asynchronous resets in clock domains?
<GitHub-m-labs> [artiq] jordens commented on issue #1199: I think that's correct. https://github.com/m-labs/artiq/issues/1199#issuecomment-442592801
<cr1901_modern> Last I asked the same question, it's b/c they destroy timing/are too difficult to use correctly. Of course you don't care if metastability occurs when you assert reset (as long as you hold it for more than one clock cycle). >>
<cr1901_modern> But you still need synchronizing circuitry for when you release it
<whitequark> yeah, I would use it with AsyncResetSynchronizer
<cr1901_modern> I guess my q is why do you need one?
* cr1901_modern needed it for vintage chip emulation, go figure
lars__ is now known as larsc
<whitequark> cr1901_modern: multiple clock domains
<whitequark> resetting async fifo
<whitequark> even if the producer side is not running
<cr1901_modern> whitequark: If the producer side's clock is not running, how can you use an AsyncResetSynchronizer to reset the producer CD?
<cr1901_modern> anyways, my guess is sb0 will say "use an instance of Verilog code", like he did last time I asked for a D-latch :P
<whitequark> cr1901_modern: ARS uses an async reset
<whitequark> internally
<whitequark> that's why it's a Special
<whitequark> erm
<whitequark> async set
<cr1901_modern> AsyncResetSynchronizer requires a clock though to propogate that reset
<cr1901_modern> So if you're producer clk isn't running, your reset will not be propogated
<cr1901_modern> I must be missing something
<whitequark> it doesn't
<whitequark> look at how it's implemented
<cr1901_modern> https://github.com/m-labs/migen/blob/master/migen/build/lattice/common.py#L69-L77 There's a clock domain as input to both DFFS
<whitequark> SB_DFFS
<whitequark> D Flip-Flop with Asynchronous Set
<whitequark> so, reset assertion is propagated, reset deassertion is not (without clock)
<whitequark> as it should be
<cr1901_modern> Ahhh, oops
<cr1901_modern> Might be worth adding AsyncClockDomain() constructor to Migen?
<cr1901_modern> or async_reset=False to ClockDomain() constructor?
<cr1901_modern> Should be "easy" enough to change the code generated
<cr1901_modern> (simulator more difficult)