lekernel changed the topic of #m-labs to: Mixxeo, Migen, MiSoC & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
xiangfu has quit [Read error: Connection reset by peer]
xiangfu has joined #m-labs
sh[4]rm4 is now known as sh4rm4
fengling has joined #m-labs
xiangfu has quit [Ping timeout: 245 seconds]
xiangfu has joined #m-labs
xiangfu has quit [Ping timeout: 268 seconds]
xiangfu has joined #m-labs
xiangfu has quit [Quit: Reconnecting]
xiangfu has joined #m-labs
xiangfu has quit [Ping timeout: 245 seconds]
xiangfu has joined #m-labs
<rjo>
sb0: i would like to see a good week of work focused on docstrings, documentation and unittests. then i would suggest looking at the area of exceptions, queue management, and adding another controller for e.g. the pdq2.
<rjo>
sb0: during that part the required language and compiler refinements should become apparent.
<rjo>
sb0: which aspect of the SYNCLK skew? skew between the SYNCLKs of the different chips due to their dividers is handled by the master reset synchronizing the clocks. skew between synclk and fud does not matter since it is constant between pll relocks and the plls originate from a common source.
<sb0>
well, yes, but theoretically you need to meet the 4ns setup requirement of FUD wrt SYNCLK
<sb0>
otherwise you can get a jitter of 1 SYNCLK cycle, or maybe even metastability
<rjo>
yes. that is not ensured. the alignment between fud and synclk is fixed so it's either always or never. but i don't think anyone ever measured whether we actually meet setup.
<rjo>
if we don't meet it and there is jitter, iirc we live with it. same for metastability.
<rjo>
i vaguely remember seeing a measurement that showed that synclk actually rises _half_ a synclk cycle offset after falling reset. and that consistently. we might be consistently fud-ing 4ns before synclk rises.
<sb0>
let's fix this small problem then... all it'd take is clock the core device from SYNCLK and then adjust the delay while measuring FUD and SYNCLK at the DDS chip with a scope
<rjo>
that would make resetting the dds a bit complicated.
<rjo>
and that is required to align the synclks.
<sb0>
we can try to have the core device dynamically switch clocks
<sb0>
the main issue would be the SDRAM which needs a stable clock for refreshes and for keeping its DLL locked
<sb0>
if we're not careful, while the FPGA is switching clocks and re-locking its PLLs, the SDRAM might get its data corrupted and/or its DLL messed up
<rjo>
i would just hook up synclk to a rtio input and measure where it falls, then factor in cable delays (calibrated).
<sb0>
hmm, but then we need constant software-based recalibration
<rjo>
why?
<sb0>
because the core device's system clock and the synclk will drift
<rjo>
they come from the same source and are plls. you mean temperature/vcc drifts?
<sb0>
ah
<sb0>
ok, then we just need a constant delay between the system clock and FUD. it's the same situation as when clocking the core device with SYNCLK...
<rjo>
yes.
uf6667 has joined #m-labs
FabM has joined #m-labs
FabM has quit [Quit: ChatZilla 0.9.90.1 [Iceweasel 24.8.0/20140903032212]]
bhamilton has joined #m-labs
bhamilton has quit [Client Quit]
bhamilton has joined #m-labs
bhamilton has quit [Remote host closed the connection]
bhamilton has joined #m-labs
bhamilton has quit [Remote host closed the connection]
bhamilton has joined #m-labs
bhamilton has quit [Remote host closed the connection]
bhamilton has joined #m-labs
bhamilton_ has joined #m-labs
bhamilton has quit [Remote host closed the connection]
bhamilton_ is now known as bhamilton
bhamilton1 has joined #m-labs
bhamilton1 has quit [Remote host closed the connection]
bhamilton1 has joined #m-labs
bhamilton has quit [Quit: Goodbye]
fengling has quit [Ping timeout: 245 seconds]
bhamilton1 has quit [Remote host closed the connection]
bhamilton1 has joined #m-labs
fengling has joined #m-labs
bhamilton1 has left #m-labs [#m-labs]
bhamilton has joined #m-labs
bhamilton has quit [Ping timeout: 264 seconds]
FabM has joined #m-labs
bhamilton has joined #m-labs
bhamilton is now known as Guest10704
fengling has quit [Ping timeout: 245 seconds]
fengling has joined #m-labs
fengling has quit [Quit: WeeChat 1.0]
<sb0>
rjo, isn't the reset signal also gated by the selection signal in the DDS boxes?
<sb0>
it also goes through U1 in your schematics...
<ysionneau>
sb0 hi :) Just received your stickers ;) Thanks!
<sb0>
the current DDS routine in the runtime does "DDS_WRITE(DDS_GPIO, 1 << 7)", which is incorrect then. I see you're doing "DDS_GPIO |= 1 << 7" in dds-ttl-tester... not sure where the error is coming from. I might have overlooked that when copying the code...
<sb0>
ysionneau, cool
<sb0>
btw are you going to orconf?
<ysionneau>
I was motivated to go there yes
<ysionneau>
as visitor (not speaker)
<ysionneau>
but haven't booked anything yet
<ysionneau>
last orconf in Cambrige was pretty cool :)
<GitHub110>
[ARTIQ] sbourdeauducq pushed 1 new commit to master: http://git.io/PzcJSA
<ysionneau>
if you want me to go poke stekern irl to say the core is bloated ;)
<ysionneau>
I might get into troubles though, he's taller than me
<stekern>
:)
<stekern>
I think we're about the same size in the other direction though
<ysionneau>
ahah sure
<stekern>
besides, I don't get upset about legitimite criticism.
<ysionneau>
yes I think we could all see that
<ysionneau>
I was just joking :)
* ysionneau
booked a hotel room in München
<stekern>
I know :)
<stekern>
I'm actually doing some investigation of where the 'bloat' comes from, so sb0 whining strategy give results ;)
<ysionneau>
stekern: I cannot find back the page about ORCONF where it says "conference start at XXh on saturday and ends on XXh on sunday to let everyone travel during the week-end without taking day off"
<stekern>
I don't think the schedule is set in stone yet
<ysionneau>
but at least I think I've read somewhere the start time and end time