sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
<sb0> if the range is narrow, which it is and can be justified to avoid locking to multiples, then locking means as much as it does when it's a simple PLL and not a CDR
<sb0> in fact the transceivers have a CDR lock output, but it's so buggy that they tell you not to use it
<cr1901_modern> sb0: Do chips external to the FPGA exist for CDR (superior to the primitives) that provide a nice interface to the FPGA?
<sb0> for ethernet there is tbi
<cr1901_modern> besides* Ethernet
<sb0> I wonder if you could roll your own CDR with a delay line (similar to my tdc core), DAC and VCXO...
<cr1901_modern> vcxo?
<sb0> voltage controlled crystal oscillator
<cr1901_modern> Ahh, it's like a VCO except better. And with a crystal.
<sb0> it's a crystal oscillator that can be slightly tuned
<cr1901_modern> And I have that tdc paper of yours somewhere. Should prob finish reading it
<cr1901_modern> Guess it doesn't matter if you use a high-bit DAC, but I don't care for the idea of discretizing the VCO input. It adds another
<cr1901_modern> layer of jitter _on top of_ the jitter that will inevitably exist anyway
<sb0> yes. so things are never perfect. the question is - does the complete system work or not?
<sb0> and you can maybe filter that "jitter" with a simple rc filter.
<cr1901_modern> does the complete system work or not? <-- worth a try if you're totally fed up w/ Xilinx' "incompetence"
<cr1901_modern> you can maybe filter that "jitter" with a simple rc filter. <-- Never tried it. I just remeber "6 db SNR per bit", assuming a perfect DAC (which of course doesn't exist)
_whitelogger has quit [Ping timeout: 250 seconds]
_whitelogger has joined #m-labs
rohitksingh has joined #m-labs
FelixVi has quit []
rohitksingh has quit [Read error: Connection reset by peer]
rohitksingh has joined #m-labs
<rjo> sb0: the range bein narrow and locking to multiples are not mutually exclusive for a cdr afaict.
rohitksingh1 has joined #m-labs
rohitksingh has quit [Ping timeout: 268 seconds]
rot_god has joined #m-labs
Gurty has quit [Ping timeout: 264 seconds]
Gurty has joined #m-labs
<larsc> ffiw, altera has all those things. cdr lock indicator, constraints propagation
<larsc> fwiw
<larsc> and it is quite useful to have the lock indicator since you can keep the parallel logic in reset until the cdr has locked
<larsc> on Xilinx I've had issues with the FIFO levels for different lanes diverging since the CDRs where running at different rates while trying to lock
<larsc> so you basically have to wait until you receive a good comma signal on all lanes, then reset the FIFOs and then ignore the garbage that you receive while the reset is asserted
<rjo> ack. but i can see no way for CDR to detect locking to the wrong rate. a 2G RX will lock to a 1G stream. you can only detect that at the coding level.
<rjo> with FIFO you mean the elastic buffers?
<larsc> yes. It's a FIFO if you don't use the character insertion/removal feature
<rjo> as i see it, an EB (depending on the implementation) either has a different reset condition from a plain FIFO and no flow control at all or has different flow control from a plain FIFO.
<rjo> the character insertion/removal being the "no flow control"
<GitHub145> [smoltcp] pothos commented on pull request #65 595746f: (The example project mentioned in the issue can also be used to reproduce this, but it does not check the contents sent as the test cases do: https://github.com/pothos/taptest) https://github.com/m-labs/smoltcp/pull/65#discussion_r153068580
rot_god has quit [Quit: Page closed]
<sb0> rjo, what I meant is, if you have 1Gbps signal, and 1GHz transceiver clock, the CDR won't give you 500MHz or 2GHz
<whitequark> anyone touching the core device
<whitequark> ?
<whitequark> the kc705 that is
<sb0> whitequark, we have lockfiles now
<whitequark> oh, cool
<whitequark> how do they work?
<sb0> see DEVELOPER_NOTES in the repos
<whitequark> thx
<whitequark> is buildbot updated?
<sb0> no
<cr1901_modern> Just for my own curiosity, what does locking /run/boards/kc705 accomplish other than _notifying_ someone the board is in use?
<whitequark> nothing
<cr1901_modern> Ahhh
rohitksingh1 has quit [Read error: Connection reset by peer]
rohitksingh has joined #m-labs
<whitequark> sb0: I broke it.
<sb0> broke what?
<whitequark> the flock() syscall.
<sb0> how?
<whitequark> no idea.
<whitequark> I was trying to add support to artiq_devtool
<sb0> well what happened?
<whitequark> oh nvm, /bin/sleep inherited the file descriptor from flock itself and kept it opem
<whitequark> *open
<whitequark> unix is so damn fragile
<rjo> sb0: ack
<GitHub77> [artiq] whitequark commented on issue #845: Waiting until the logs become available. This is possibly related to https://github.com/m-labs/smoltcp/pull/65; should be clear from the logs if it indeed is. https://github.com/m-labs/artiq/issues/845#issuecomment-347016150
<bb-m-labs> build #902 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/902
<whitequark> bb-m-labs: stop build 1785 interference
<bb-m-labs> no such builder '1785'
<whitequark> bb-m-labs: stop build artiq 1785 interference
<bb-m-labs> build 1785 interrupted
<bb-m-labs> build #1785 of artiq is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1785 blamelist: whitequark <whitequark@whitequark.org>
<whitequark> ok, buildbot positively needs lockfile support.
rohitksingh has quit [Read error: Connection reset by peer]
rohitksingh has joined #m-labs
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
<bb-m-labs> build #1786 of artiq is complete: Failure [failed conda_install conda_remove] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1786 blamelist: whitequark <whitequark@whitequark.org>
bb-m-labs has quit [Client Quit]
bb-m-labs has joined #m-labs
<GitHub39> [buildbot-config] whitequark force-pushed master from c4a6a2d to 993cc73: https://git.io/v1foL
<GitHub39> buildbot-config/master b403183 whitequark: Temporarily disable most steps for the artiq builder.
<GitHub39> buildbot-config/master 993cc73 whitequark: Add lockfile support.
<bb-m-labs> build #1787 of artiq is complete: Exception [exception conda_install_local] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1787 blamelist: whitequark <whitequark@whitequark.org>
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
<GitHub12> [buildbot-config] whitequark force-pushed master from 993cc73 to 1b53fe0: https://git.io/v1foL
<GitHub12> buildbot-config/master 902f7f2 whitequark: Temporarily disable most steps for the artiq builder.
<GitHub12> buildbot-config/master 1b53fe0 whitequark: Add lockfile support.
<GitHub195> [artiq] sbourdeauducq commented on pull request #855 818dfae: No need to wait for exit - it can be closed immediately since it's not used after ``get_name()``. https://github.com/m-labs/artiq/pull/855#discussion_r153071996
reportingsjr has quit [Quit: WeeChat 1.4]
reportingsjr has joined #m-labs
FelixVi has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
<GitHub128> [buildbot-config] whitequark force-pushed master from b35ac91 to cef9d6e: https://git.io/v1foL
<GitHub128> buildbot-config/master cef9d6e whitequark: Add lockfile support.
<GitHub79> [buildbot-config] whitequark force-pushed master from cef9d6e to ee05654: https://git.io/v1foL
<GitHub79> buildbot-config/master ee05654 whitequark: Add lockfile support.
bb-m-labs has joined #m-labs
<bb-m-labs> build #1789 of artiq is complete: Exception [exception interrupted board_unlock conda_remove] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1789 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<bb-m-labs> build #1790 of artiq is complete: Exception [exception conda_build board_unlock conda_remove] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1790 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
<bb-m-labs> build #1791 of artiq is complete: Exception [exception board_lock board_unlock] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1791 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
<GitHub-m-labs> [buildbot-config] whitequark force-pushed master from f3d4d73 to e0c39ff: https://git.io/v1foL
<GitHub-m-labs> buildbot-config/master e0c39ff whitequark: Add lockfile support.
<bb-m-labs> build #0 of testbed is complete: Exception [exception board_lock board_unlock] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/0
bb-m-labs has quit [Client Quit]
bb-m-labs has joined #m-labs
<bb-m-labs> build #1 of testbed is complete: Exception [exception board_lock board_unlock] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/1
bb-m-labs has quit [Client Quit]
bb-m-labs has joined #m-labs
<bb-m-labs> build #2 of testbed is complete: Exception [exception board_lock] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/2
bb-m-labs has quit [Client Quit]
<GitHub-m-labs> [buildbot-config] whitequark force-pushed master from 83d56dd to 589537b: https://git.io/v1foL
<GitHub-m-labs> buildbot-config/master 589537b whitequark: Add lockfile support.
bb-m-labs has joined #m-labs
bb-m-labs has quit [Client Quit]
<GitHub-m-labs> [buildbot-config] whitequark force-pushed master from 589537b to 83edf59: https://git.io/v1foL
<GitHub-m-labs> buildbot-config/master 83edf59 whitequark: Add lockfile support.
bb-m-labs has joined #m-labs
bb-m-labs has quit [Client Quit]
<GitHub-m-labs> [buildbot-config] whitequark force-pushed master from 83edf59 to 720210f: https://git.io/v1foL
<GitHub-m-labs> buildbot-config/master 720210f whitequark: Add lockfile support.
bb-m-labs has joined #m-labs
<bb-m-labs> build #4 of testbed is complete: Exception [exception board_lock] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/4
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
<whitequark> fucking hell
<whitequark> why does posix have *both* flock and lockf
bb-m-labs has joined #m-labs
<bb-m-labs> build #5 of testbed is complete: Exception [exception board_lock] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/5
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
<GitHub-m-labs> [buildbot-config] whitequark force-pushed master from e9f4bc8 to 5c6c465: https://git.io/v1foL
<GitHub-m-labs> buildbot-config/master 5c6c465 whitequark: Add lockfile support.
<bb-m-labs> build #6 of testbed is complete: Exception [exception board_unlock] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/6
bb-m-labs has quit [Client Quit]
bb-m-labs has joined #m-labs
<bb-m-labs> build #7 of testbed is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/7
bb-m-labs has quit [Client Quit]
bb-m-labs has joined #m-labs
<bb-m-labs> build #8 of testbed is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/8
<larsc> flock is not posix
<bb-m-labs> build #9 of testbed is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/9
<bb-m-labs> build #10 of testbed is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/10
hdante has joined #m-labs
<bb-m-labs> build #11 of testbed is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/11
<whitequark> this is depressing
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
<GitHub-m-labs> [buildbot-config] whitequark force-pushed master from 6cde35a to a0c7208: https://git.io/v1foL
<GitHub-m-labs> buildbot-config/master a0c7208 whitequark: Add lockfile support.
bb-m-labs has joined #m-labs
<bb-m-labs> build #12 of testbed is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/12
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
hdante has quit [Quit: Changing server]
bb-m-labs has quit [Client Quit]
<GitHub-m-labs> [buildbot-config] whitequark force-pushed master from dbf9ee8 to 03212af: https://git.io/v1foL
<GitHub-m-labs> buildbot-config/master 03212af whitequark: Add lockfile support.
bb-m-labs has joined #m-labs
<bb-m-labs> build #14 of testbed is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/14
<bb-m-labs> build #15 of testbed is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/15
<bb-m-labs> build #16 of testbed is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/16
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
<GitHub-m-labs> [buildbot-config] whitequark force-pushed master from 03212af to 6b0ff65: https://git.io/v1foL
<GitHub-m-labs> buildbot-config/master 6b0ff65 whitequark: Add lockfile support.
<bb-m-labs> build #17 of testbed is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/testbed/builds/17
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
<GitHub-m-labs> [buildbot-config] whitequark force-pushed master from 6b0ff65 to 18397e5: https://git.io/v1foL
<GitHub-m-labs> buildbot-config/master 18397e5 whitequark: Add lockfile support.
bb-m-labs has joined #m-labs
bb-m-labs has quit [Client Quit]
bb-m-labs has joined #m-labs
hdante has joined #m-labs
<bb-m-labs> build #903 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/903
early has quit [Quit: Leaving]
early has joined #m-labs
X-Scale has joined #m-labs
early has quit [Client Quit]
early has joined #m-labs
<bb-m-labs> build #1792 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1792 blamelist: whitequark <whitequark@whitequark.org>
<whitequark> sb0: I figured it out.
<bb-m-labs> build #287 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/287
<bb-m-labs> build #904 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/904 blamelist: whitequark <whitequark@whitequark.org>
<bb-m-labs> build #1793 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1793 blamelist: whitequark <whitequark@whitequark.org>
hdante has quit [Quit: leaving]
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
<GitHub-m-labs> [buildbot-config] whitequark pushed 2 new commits to master: https://git.io/vbeYP
<GitHub-m-labs> buildbot-config/master ceb03a3 whitequark: Set name for SleepStep (or it's displayed as "generic").
<GitHub-m-labs> buildbot-config/master 04f6eb8 whitequark: Refactor and document ARTIQ build steps.
bb-m-labs has joined #m-labs
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
<whitequark> bb-m-labs: force build artiq
<bb-m-labs> build #1794 forced
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #905 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/905
<bb-m-labs> build #1794 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1794
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
<GitHub-m-labs> [buildbot-config] whitequark force-pushed master from d628151 to a5e0d0b: https://git.io/v1foL
<GitHub-m-labs> buildbot-config/master 51bbf6c whitequark: Refactor and document ARTIQ build steps....
<GitHub-m-labs> buildbot-config/master a5e0d0b whitequark: Ty and remove the most horrifying conda workarounds....
bb-m-labs has joined #m-labs
<GitHub180> [artiq] whitequark pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/30f47994db2e73f2bd62449a4294d70ff2cc1d80
<GitHub180> artiq/master 30f4799 whitequark: artiq-dev: fix typo.
X-Scale has quit [Quit: HydraIRC -> http://www.hydrairc.com <-]