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
<GitHub-m-labs> [artiq] whitequark commented on issue #919: I've checked with the commit that used to work. RTMs "1" and "2" lock and there is just 3V at the DAC SMPs. RTM "F" does not lock. This happens with either clock generator. https://github.com/m-labs/artiq/issues/919#issuecomment-382236979
<sb0> whitequark, what does that mean?
<whitequark> sb0: what does what mean?
<sb0> the ROP chain thing
<whitequark> oh
<whitequark> ROP chains are a technique used by exploit writers to work around W^X page permissions. basically you set up the stack such that you return to an entry point of some function that takes whichever values you also put onto stack or had in registers, and does something you want
<whitequark> (where "function" could mean system() or could mean a chunk of code in system libs that just happened to do what you want)
<whitequark> i've happened to measure the impact of return address mispredictions on modern intel CPUs and it's something like 10x costlier than regular retq
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #860: @gkasprow Any update? https://github.com/m-labs/artiq/issues/860#issuecomment-382240341
<sb0> whitequark, yes, I looked that up, but I don't see how that applies to vivado
<sb0> why would it do something like that?
<whitequark> sb0: they obfuscated some code that deals with encrypted IP core
<whitequark> but didn't bother to leave a fast path
<sb0> ah
<whitequark> it's *also* encrypted on top of that, I looked into some libraries and the actual code is nonsense. they call dl_iterate_phdr and mangle their own executable segment
<sb0> with some tools the cleartext of said IP is passed to memcpy() and you can grab it with ltrace
<sb0> not that there is anything valuable in there, it's typical trashy verilog written by "hardware" people, i.e. unmaintainable spaghetti, no coding style, various hacks, etc.
<sb0> maybe this is why they don't want people to read it x
<sb0> xD
<whitequark> that is definitely a part of it
<whitequark> sb0: any idea what to do with ad9154?
<whitequark> I'm now left without a reference to compare with
<sb0> not really. it sounds strange that PRBS etc. pass but then there is no output
<sb0> maybe the hardware is damaged?
<whitequark> well I tried 3 RTMs
<whitequark> one of them would have probably been fine
<whitequark> though who can say
<sb0> I'll give it a quick try
<whitequark> sb0: wtf
<whitequark> that search query on taobao returns something that the seller calls "imitation eurorack"
<whitequark> is that like imitation crab meat?
<sb0> they are just being explicit, with many other vendors "imitation" is implied
<whitequark> AFAICT none of these actually accept eurocards
<whitequark> they don't have this rail with captive nuts
<whitequark> some of them are similar in size (though it's hard to tell without proper drawings), but I think that's as far as it goes
<sb0> there was one at wipm that did take eurocards and which looked good, but they don't have the exact p/n (and those chinese sources are quite fickle anyway)
<whitequark> this is probably still not the right keyword
<sb0> don't bother with mechanical drawings in china, they never match what you receive
<whitequark> the results are mostly from one seller, which probably used this idiosyncratic phrase
<whitequark> i would expect many diverse racks to be returned
<GitHub-m-labs> [artiq] gkasprow commented on issue #860: I did tests with Tom board where I replaced the HMC chip and now it loks.
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #860: So what should we do? Replace HMC830s on all boards? Why did they break in the first place? https://github.com/m-labs/artiq/issues/860#issuecomment-382264907
<whitequark> sb0: I tried a lot of European-themed permutations but can't seem to nail down eurocard or eurorack
<GitHub-m-labs> [artiq] enjoy-digital commented on issue #967: @jbqubit: thanks for testing. You are indeed using old software, serwb should output more informations. https://github.com/m-labs/artiq/issues/967#issuecomment-382274012
q3k has quit [Read error: Connection reset by peer]
q3k has joined #m-labs
rohitksingh has joined #m-labs
<whitequark> it doesn't look like searching by dimensions of the card works either
<GitHub-m-labs> [artiq] enjoy-digital commented on issue #919: @whitequark: if RTM "F" is the board i had before, the first AD9154 is not working. (hardware patch missing?). Only the second one works. (To test with ARTIQ i was changing this: https://github.com/m-labs/artiq/blob/master/artiq/firmware/libboard_artiq/ad9154.rs#L615 to start at 1). https://github.com/m-labs/artiq/issues/919#issuecomment-382280130
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #919: > @whitequark: if RTM "F" is the board i had before,... https://github.com/m-labs/artiq/issues/919#issuecomment-382288828
Gurty has quit [Quit: Kooll ~o~ datalove <3³\infty]
Gurty has joined #m-labs
Gurty has joined #m-labs
Gurty has quit [Changing host]
wolfspraul has quit [Quit: leaving]
wolfspraul has joined #m-labs
<whitequark> sb0: question
<whitequark> why do synthesis tools need the no_retiming attribute?
<whitequark> do they not see that ffs belong to different clock domains?
<whitequark> are they just stupid?
rohitksingh has quit [Quit: Leaving.]
<larsc> wasn't part of the requirements so clock domain identification was not implemented ;)
<whitequark> what
<larsc> I have no idea, but you know how larger software products are developed
<larsc> you get a spec and you code to the spec
<whitequark> and it didn't occur to anyone in 30+ years of history of FPGA software to add this?
* whitequark looks at Vivado
<whitequark> nevermind
<larsc> retiming is pretty new
<larsc> and a lot of people seem to assume is that what they write is what they get
<larsc> when I look at recent Vivado releases they seem to do less optimization
<larsc> I wouldn't be surprised if people complained that the optimizer breaks their hand "optimized" verilog
<larsc> /vhdl
<GitHub-m-labs> [artiq] whitequark commented on issue #974: This actually has nothing to do with comparing by value, I compare strings for nonequality with... https://github.com/m-labs/artiq/issues/974#issuecomment-382307054
<whitequark> this is so sad
<sb0> whitequark, retiming won't necessarily move registers across clock domains, but it may make the output of what was a register the output of a combinatorial function, which has a longer "invalid output" time at each cycle than a register
rohitksingh_work has joined #m-labs
<larsc> not only that, with a FF when you transiation from 1->1 you should never see a 0 at the output. With comb logic there might be a intermediate result where you have a 0 on output
<sb0> yes
<GitHub-m-labs> [artiq] hartytp commented on issue #860: > Why did they break in the first place?... https://github.com/m-labs/artiq/issues/860#issuecomment-382321909
<GitHub-m-labs> [artiq] hartytp commented on issue #860: > I did tests with Tom board... https://github.com/m-labs/artiq/issues/860#issuecomment-382322107
<GitHub-m-labs> [artiq] jordens opened issue #983: openocd/bscan-spi-bitstreams versions https://github.com/m-labs/artiq/issues/983
<cr1901_modern> rjo: Did the proxy bitstreams change _again_, or are there just issues w/ conda installing the old ones (> 6 months ago) with an openocd that operates on the "new" ones (< 6 months ago)? This has also been an issue w/ HDMI2USB.
<rjo> just a conda versioning issue
<rjo> at least from where i stand.
<rjo> some old openocd versions get sorted before the newer ones.
<cr1901_modern> Oh, HDMI2USB has the opposite problem, where a new openocd was given the old proxy bitstreams
<rjo> i don't know what you are doing. are those conda packages?
<cr1901_modern> Yes
<rjo> that doesn't happpen anymore afaict.
<rjo> next time you notice it, please file an issue and if you can, feel free to make an effort to resolve it.
<cr1901_modern> To clarify, these aren't artiq conda packages, but HDMI2USB packages. I just wanted info since I had a similar issue in the past (> 3 weeks ago), and to see if maybe you had a solution. >>
<cr1901_modern> In the next few weeks, if I find issues on the HDMI2USB end that I can dup on the artiq end, I'll file an issue/try to resolve it.
<rjo> but also if the existing openocd/bscan-spi-bitstreams are causing issues in situations where you'd expect them to behave, it's a bug.
<cr1901_modern> rjo: If by "existing" you mean the "new proxies", I don't think that's the issue: https://logs.timvideos.us/%23timvideos/%23timvideos.2018-03-29.log.html#t2018-03-29T21:49:30
<cr1901_modern> Manually replacing the proxy from conda with a fresh one from quartiq/bscan_spi_bitstreams solved my problem.
<cr1901_modern> (B/c afaict, upstream openocd can't talk to the old proxies at all anymore)
<cr1901_modern> Conda is buggy, news at 11?
<cr1901_modern> (Oh and... at least there was activity 3 weeks ago. But seems nothing has happened since: http://openocd.zylin.com/#/c/4428/)
<sb0> geez no qt5
<sb0> wtf
<sb0> no pyqtgraph either
<sb0> (that one isn't a trash fire like qt, but it's one of the nicer plotting libs so it's weird they don't include it)
wolfspraul has quit [Quit: leaving]
wolfspraul has joined #m-labs
<marmelada> sb0: how can I add microscope probe to fsm state?
wolfspraul has quit [Client Quit]
wolfspraul has joined #m-labs
<sb0> marmelada, it's not nice to do right now, but you can call fsm.finalize() to get fsm.state, fsm.encoding and fsm.decoding
<sb0> encoding and decoding contain the same information
<sb0> use whichever is convenient
<marmelada> so in code with fsm I add fsm.do_finalize and then add probes to fsm.state
<marmelada> or can I do this without modyfing code in misoc?
wolfspraul has quit [Quit: leaving]
wolfspraul has joined #m-labs
<sb0> marmelada, you can call fsm.finalize() from anywhere.
<sb0> you don't have to modify the code in misoc if you can access the fsm object from outside
<sb0> but in many cases the fsm object is only in the local namespace
<marmelada> but unless fsm is explicitly named (self.submodules.fsm) it's not available?
<marmelada> ok thanks
<marmelada> hope this will work ^^
<sb0> marmelada, yes. same problem when you're poking a python program.
wolfspraul has quit [Quit: leaving]
wolfspraul has joined #m-labs
<sb0> rjo, does the zotino still fit comfortably in a 4hp slot with that heatsink?
<GitHub-m-labs> [artiq] gkasprow commented on issue #860: Just try my code to check if it works. I can also try to run Artiq code on
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #860: Yes, please do. https://github.com/m-labs/artiq/issues/860#issuecomment-382354363
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #860: OK. https://github.com/m-labs/artiq/issues/860#issuecomment-382355287
<rjo> sb0: barely. but yes, it does.
<rjo> cr1901_modern: sure. there are old bitstreams wich only work with the old openocd and there are new ones which only work with newer openocd versions. our conda packages correctly resolve that dependency.
<sb0> is it a good idea to put two Kasli with DRTIO in a single subrack and connect them with a crossover SATA cable?
<sb0> or will that cause crossover SATA cable sourcing problems + 2 days of yak-shaving with GTPE2_COMMON and other xilinx idiocies?
<rjo> sb0: that should definitely be tested. last time i looked for them i had no big issue finding crossover cables but now i can't seem to find any
<rjo> https://qt.eu/ btw.
<sb0> http://www.techcable.com/sata-cables/ has them, let me send them a rfq
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, so it turns out that one sfp->ethernet converter we used was not working. I got link and transmission using various combinations of media converter, ethernet and sfp modules. (eg.: sayma -> sata -> sata-sfp -> sfp-ethernet -> media converter - sfp -> sfp -> kasli). https://github.com/m-labs/artiq/issues/854#issuecomment-382361393
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, so it turns out that one sfp->ethernet converter we used was not working. I got link and transmission using various combinations of media converter, ethernet and sfp modules. (eg.: sayma -> sata -> sata-sfp -> sfp-ethernet -> ethernet -> media converter - sfp -> sfp -> kasli). https://github.com/m-labs/artiq/issues/854#issuecomment-382361393
<GitHub-m-labs> [artiq] hartytp commented on issue #854: @marmeladapk Great.... https://github.com/m-labs/artiq/issues/854#issuecomment-382361778
<GitHub-m-labs> [artiq] gkasprow commented on issue #854: Did you have to change any phy settings to get Sayma to work reliably with
<GitHub-m-labs> [artiq] hartytp commented on issue #854: @gkasprow Okay, so there is still some outstanding issue here.... https://github.com/m-labs/artiq/issues/854#issuecomment-382363223
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: @wizath flashed OpenMMC with PAUSE control. Not sure if it's on or off now, will check.... https://github.com/m-labs/artiq/issues/854#issuecomment-382363513
<GitHub-m-labs> [artiq] gkasprow commented on issue #854: Yes, and Kasli is receiving Ethernet frames correctly with link up led off :D. So we observe similar behaviour on both Sayma and Kasli. Link up - no Ethernet, link down - Ethernet works :D https://github.com/m-labs/artiq/issues/854#issuecomment-382363959
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: @gkasprow That's no longer true. One sfp converter doesn't work. I swapped it and in all cases I get transmission. https://github.com/m-labs/artiq/issues/854#issuecomment-382364748
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: > Link up - no Ethernet, link down - Ethernet works... https://github.com/m-labs/artiq/issues/854#issuecomment-382364748
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: > Link up - no Ethernet, link down - Ethernet works... https://github.com/m-labs/artiq/issues/854#issuecomment-382364748
rohitksingh_work has quit [Read error: Connection reset by peer]
<GitHub-m-labs> [artiq] gkasprow commented on issue #854: It seems it defaults with SGMII interface... https://github.com/m-labs/artiq/issues/854#issuecomment-382372481
rohitksingh has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
rohitksingh has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
<GitHub-m-labs> [artiq] gkasprow commented on issue #854: OK, I discovered that PHY on the board that works with Kasli is not configured by MMC but only by pin straps. Another one that shows link up but no traffic is configured by MMC. The PHY gets configured from time to time once per a few power cycles so it looks like floating pinstrap that is normally conntected to the FPGA. https://github.com/m-labs/artiq/issues/854#i
<GitHub-m-labs> [artiq] gkasprow commented on issue #854: @sbourdeauducq thanks for yak shaving tools, they are really helpful here. https://github.com/m-labs/artiq/issues/854#issuecomment-382407356
rohitksingh has joined #m-labs
rohitksingh has quit [Client Quit]
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: I made Kasli transmitter and Sayma sniffer to test transmission in other direction. ... https://github.com/m-labs/artiq/issues/854#issuecomment-382421903
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: I made Kasli transmitter and Sayma sniffer to test transmission in other direction. ... https://github.com/m-labs/artiq/issues/854#issuecomment-382421903
<GitHub-m-labs> [artiq] gkasprow commented on issue #854: So we have quite intriguing situation.... https://github.com/m-labs/artiq/issues/854#issuecomment-382427346
<sb0> honestly, there are some sayma o that were avoidable (ultrascale, rtm, mmc/µTCA), but others like the hmc830 or those ethernet link problems are really baffling...
<marmelada> imagine our confusion when it sometimes worked in some configurations (before we knew that one converter doesn't work)
rohitksingh has joined #m-labs
FabM has quit [Quit: ChatZilla 0.9.93 [Firefox 52.7.3/20180326230345]]
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, this is getting ridiculous. I need a table to keep track of working configurations.... https://github.com/m-labs/artiq/issues/854#issuecomment-382439555
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, this is getting ridiculous. I need a table to keep track of working configurations.... https://github.com/m-labs/artiq/issues/854#issuecomment-382439555
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, this is getting ridiculous. I need a table to keep track of working configurations.... https://github.com/m-labs/artiq/issues/854#issuecomment-382439555
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, this is getting ridiculous. I need a table to keep track of working configurations.... https://github.com/m-labs/artiq/issues/854#issuecomment-382439555
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, this is getting ridiculous. I need a table to keep track of working configurations.... https://github.com/m-labs/artiq/issues/854#issuecomment-382439555
<GitHub-m-labs> [artiq] jbqubit commented on issue #919: @whitequark Do you get output from the other DAC? Sawtooth? SAWG? ... https://github.com/m-labs/artiq/issues/919#issuecomment-382442288
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, this is getting ridiculous. I need a table to keep track of working configurations.... https://github.com/m-labs/artiq/issues/854#issuecomment-382439555
<GitHub-m-labs> [artiq] jbqubit commented on issue #854: Have you tried Sayma_AMC -> SATA -> SATA-SFP -> SFP ------> switch? If this works what are the components so I can reproduce? https://github.com/m-labs/artiq/issues/854#issuecomment-382443290
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, this is getting ridiculous. I need a table to keep track of working configurations. These are Kasli -Sayma connections.... https://github.com/m-labs/artiq/issues/854#issuecomment-382439555
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, this is getting ridiculous. I need a table to keep track of working configurations. These are Kasli -Sayma connections.... https://github.com/m-labs/artiq/issues/854#issuecomment-382439555
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: @jbqubit It seems now we only have communication in one direction, we didn't try to plug it into switch. https://github.com/m-labs/artiq/issues/854#issuecomment-382444959
<sb0> 4 usd for a 20-inch crossover sata
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, this is getting ridiculous. I need a table to keep track of working configurations. These are Kasli -Sayma connections.... https://github.com/m-labs/artiq/issues/854#issuecomment-382439555
<GitHub-m-labs> [artiq] marmeladapk commented on issue #854: Ok, this is getting ridiculous. I need a table to keep track of working configurations. These are Kasli -Sayma connections.... https://github.com/m-labs/artiq/issues/854#issuecomment-382439555
marmelada has quit [Quit: Page closed]
<GitHub-m-labs> [artiq] gkasprow commented on issue #854: lack of PHY configuration means that the Rx clock is generated and two clock sources are fighting.... https://github.com/m-labs/artiq/issues/854#issuecomment-382451074
<GitHub-m-labs> [artiq] gkasprow commented on issue #854: funny thing is that the only registers the MMC modifies are:... https://github.com/m-labs/artiq/issues/854#issuecomment-382454576
<GitHub-m-labs> [artiq] gkasprow commented on issue #854: There is no other way of setting this register... https://github.com/m-labs/artiq/issues/854#issuecomment-382456559
<rqou> are you running Ethernet over SATA cables?
<rqou> why not SFP like "normal people"? too big?
<GitHub-m-labs> [artiq] jbqubit commented on issue #967: @sbourdeauducq You're right, I didn't roll back ARTIQ when trying to revert back to my archived build from 20180413. The tests with 838.gfe689ab4.dirty were with matching version of ARTIQ. ... https://github.com/m-labs/artiq/issues/967#issuecomment-382470077
sb0 has quit [Ping timeout: 256 seconds]
rohitksingh has quit [Remote host closed the connection]
X-Scale has joined #m-labs
mumptai has joined #m-labs
mumptai has quit [Quit: Verlassend]
<rjo> rqou: cheaper, smaller, designed for board-to-board, vertical
<rqou> ah, that's kinda reasonable
<rqou> (except for all the problems you seem to be having :P )
<rjo> those have nothing to do with sata
<rjo> other than "there was no cheap sata-to-sfp adapter"
ncl has quit [Remote host closed the connection]
ncl has joined #m-labs
<GitHub169> [smoltcp] dlrobertson commented on issue #191: Updated to use a `Ndisc(NdiscRepr<'a>)` variant. https://github.com/m-labs/smoltcp/pull/191#issuecomment-382552091
felix_ has quit [Ping timeout: 246 seconds]
felix_ has joined #m-labs
ncl has quit [Remote host closed the connection]
ncl has joined #m-labs