zng has quit [Quit: ZNC 1.8.x-nightly-20181211-72c5f57b - https://znc.in]
zng has joined #m-labs
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<sb0>
"what's the right way of doing that over DRTIO" << I guess add aux packets similar to non-RT SPI and I2C
<sb0>
"Kasli + DIO breakout + ADF eval board to get a driver written for the PLL before v2.0 hw arrives" << great! also check carefully that the phase is deterministic for all the frequencies we want.
<sb0>
"there is no easy way of implementing DRTIO on Sayma RTM" << things are rarely "easy" :) what do you mean?
<sb0>
the only significant issues are 1) using SRAM 2) getting a transceiver link
<sb0>
for 2)we should be able to use a SATA cable between AMC and RTM
<sb0>
then it's mostly dealing with the xilinx transceiver clocking BS
hartytp has joined #m-labs
<hartytp>
sb0: hmm... one of the things that made the HMC830 a PITA to work with was the fact that we couldn't read back registers in the VCO subsystem. That's still better than the ADF PLLs, which don't have a MISO at all
<hartytp>
sb0: "I guess add aux packets similar to non-RT SPI and I2C "
<hartytp>
okay, that was my assumption. Is using the DRTIO aux interface to do this documented? What is the best place to look for an example?
<hartytp>
"great! also check carefully that the phase is deterministic for all the frequencies we want. " yes, will do
<hartytp>
"<< things are rarely "easy" :) what do you mean? " << I'd forgotten there was a SATA and was worried we'd have to do something nasty like DRTIO over SERDES
<hartytp>
(well not exactly "nasty" but quite a bit of work)
<hartytp>
how are we dividing the work for new sync etc?
mauz555 has joined #m-labs
<hartytp>
things like configuring the JESD core via DRTIO aux will take me some time as I've never looked at that part of the codebase, other parts like porting the DAC config to a core device driver are boring but should be straightforward
<GitHub-m-labs>
[artiq] sbourdeauducq commented on issue #619: @hartytp DRTIO switching is partly funded through your contract and through the Sayma contract (this Issue is about switching support, not transceiver-related issues).... https://github.com/m-labs/artiq/issues/619#issuecomment-450066672
<sb0>
hartytp: I'll do JESD core control over DRTIO
<sb0>
well aux channel or put it into a RTIO PHY, since everything seems to be moving to RT control
<hartytp>
okay, so you want me to do the DAC SPI port?
<hartytp>
(that's fine, just want to be clear about who's doing what)
<sb0>
if you have time, but I'm happy to do that as well
<sb0>
there is some old code for this BTW (initially it was a kernel already, on the kc705 phaser)
<hartytp>
sb0: good
<hartytp>
if you can do it, that would be great
<hartytp>
I'm writing an ADF4356 core device driver now, to test next week
<sb0>
ok, will do
<sb0>
great
<sb0>
so the chip will be ADF4356? sure? (assuming it does work)
<sb0>
both on sayma and mirny
<hartytp>
I haven't had much input on Mirny, think rjo had chosen ADF for that
<hartytp>
for Sayma, seems that way unless someone has a better idea
<hartytp>
(a) it's the only chip I saw with a BD that implied the output dividers are inside the feedback path
<hartytp>
(b) the phase noise doesn't suck
<sb0>
well it would be best to keep the same PLL, so we have less code to write and maintain and manufacturers have less parts to source and stock
<hartytp>
right
<sb0>
hartytp: Stabilizer would be used for the coil current control loop as well?
<hartytp>
the only thing to be aware of is that mirny will probably have the ADF*5*356 which has an output doubler
<hartytp>
the registers are similar but have a few differences (from a very quick skim over the data sheet) may need some annoying special casing to support both chips in the same driver, but I haven't given that too much thought
<hartytp>
we could use that chip on Sayma as well, but it's more expensive and seems like a waste
<hartytp>
sb0: yes, that's the idea
<hartytp>
the idea is to have an AFE mezzanine that plugs into stabilizer
<hartytp>
the afe has high-gain error subtractor with very low noise dacs. after that, the 16-bit ADC on stabilizer should provide enough dynamic range to do the job
<hartytp>
the afe mezzanine also has current shunts for feedback and feedforward using the stabilizer DACs
<hartytp>
so you get the complete solution on a 2x4 stacked eurocard
rohitksingh has joined #m-labs
<sb0>
okay, and all those things are funded or there are agreements for the hardware to get made?
<hartytp>
stabilizer itself is now complete (well, maybe one or two things left to finish, but will be sent to manufacture in a week or two)
<hartytp>
the current sense afe you'd have to ask cjbe as he's the one who's doing it, but I suspect it will be done by end of week 1 jan
rohitksingh has quit [Ping timeout: 246 seconds]
<hartytp>
ps: thanks for the cheese :)
_whitelogger has joined #m-labs
rohitksingh has joined #m-labs
mauz555 has quit [Remote host closed the connection]
hartytp has quit [Ping timeout: 256 seconds]
mauz555 has joined #m-labs
mauz555 has quit [Ping timeout: 272 seconds]
_whitelogger_ has joined #m-labs
_whitelogger has joined #m-labs
m4ssi has joined #m-labs
rohitksingh has quit [Ping timeout: 245 seconds]
rohitksingh has joined #m-labs
rohitksingh_ has joined #m-labs
rohitksingh has quit [Ping timeout: 272 seconds]
<sb0>
ah, there's another of those stupid US government shutdowns
<cr1901_modern>
You tried accessing NIST website, didn't you?
<cr1901_modern>
I just love how everyone else on this planet needs to be privy to the dysfunction of a single country because said country is full of deeply unpleasant people.
rohitksingh_ has quit [Remote host closed the connection]
rohitksingh has joined #m-labs
mauz555 has joined #m-labs
<sb0>
hartytp: BTW if you have more time for sayma, you can look into the "ramp generator bug". it might be because of the clocking changes, or the JESD204 bugfixes. if that is indeed the case, as tedious as it is, bisecting and pinpointing the exact change that caused the problem will be very helpful
mauz555 has quit [Remote host closed the connection]
mauz555 has joined #m-labs
mauz555 has quit [Remote host closed the connection]
mauz555 has joined #m-labs
mumptai has joined #m-labs
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #m-labs
mauz555 has quit [Remote host closed the connection]
hartytp has joined #m-labs
<hartytp>
sb0: ack, I'm not back in the lab until the 3rd
<hartytp>
testing out the new PLL is higher on my to do list than the ramp gen issue
<hartytp>
once that's done, I may be able to help, but I have a few deadlines coming up so lengthly dissection is going to be tough for me to do soon
<hartytp>
if you have specific commits you want checked then I can look at that, but we'd need to find one where ser-wb isn't so broken that nothing works (or just apply the ser-wb fix to an old commit)
<hartytp>
anyway, I'd prefer not to start digging into the git history until you've confirmed that you can reproduce this issue
zng has quit [Quit: ZNC 1.8.x-nightly-20181211-72c5f57b - https://znc.in]
zng has joined #m-labs
<key2>
what is the fwft parameter of SyncFIFO ?
gruetzkopf has quit [Remote host closed the connection]
gruetzkopf has joined #m-labs
<rohitksingh>
key2: do you mean to ask what is fwft? it refers to "first word fall through", a fifo behaviour where the first word written to the fifo is immediately available on the output, at the expense of comparatively worse timing. https://www.google.co.in/search?q=fwft+fifo
_whitelogger has joined #m-labs
<_whitenotifier-6>
[m-labs/nmigen] whitequark pushed 1 commit to master [+0/-0/±2] https://git.io/fhk6H
<_whitenotifier-6>
[m-labs/nmigen] whitequark 3ea35b8 - lib.coding: fix tests to actually run, and fix code to fix tests.