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
<GitHub110> ARTIQ/master 800096f Sebastien Bourdeauducq: soc/runtime: fix DDS reset
<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
<ysionneau> but I don't remember where
<stekern> I think that was for last year
<ysionneau> ah, the eventbrite gives some hours : https://www.eventbrite.co.uk/e/orconf-2014-tickets-12592710135
<stekern> look, you know more than me ;)
<stekern> interesting, disabling the shifter shaves away 460 LUTs...
<FabM> BO00021
<FabM> oups
_florent_ has joined #m-labs
<_florent_> hi
<_florent_> sb0, thanks for the stickers :)
<_florent_> stekern, from what I saw some time ago on the mor1kx:
<_florent_> you can optimize the shifter as it's done on the LM32:
<_florent_> instead of shifting in the 2 directions, you reverse the bit at the input and output and shift only in one direction
<_florent_> (sorry hadn't find time to do it and add a simulation env working)
<_florent_> on the store buffer, I also find strange that you have to save the fifo_dout in fifo_dout_r
<_florent_> fifo_dout is already registred at the output of the ram
<_florent_> and it's a large register
<_florent_> it's probably possible to change the control of the ram (or use a specific ram) to avoid that
<_florent_> but it's easy to say that... less to do it and find time for it...
<ysionneau> sb0: I just booked my flight so I will go to orconf
<stekern> _florent_: i had completely forgot about that, yes adding a read enable to the ram would render that unnecessary
<stekern> but, I'm adding an option to disable the store buffer too
Gurty has quit [Ping timeout: 260 seconds]
Gurty has joined #m-labs
<GitHub163> [ARTIQ] sbourdeauducq pushed 5 new commits to master: http://git.io/wePkrQ
<GitHub163> ARTIQ/master 1b58e15 Sebastien Bourdeauducq: soc/rtio: mini-channels
<GitHub163> ARTIQ/master 7efc28e Sebastien Bourdeauducq: soc/ad9858: do not drive FUD by default
<GitHub163> ARTIQ/master 202284d Sebastien Bourdeauducq: soc/rtio: software-controlled replace
<GitHub105> [ARTIQ] sbourdeauducq pushed 1 new commit to master: http://git.io/YTWt9A
<GitHub105> ARTIQ/master 10d796e Sebastien Bourdeauducq: runtime: add rtio_replace syscall
kill_-9_1 has joined #m-labs
kill_-9_1 has quit [Changing host]
kill_-9_1 has joined #m-labs
kill_-9_1 has joined #m-labs
kill_-9_1 is now known as MY123
Guest10704 has quit [Ping timeout: 268 seconds]
_florent_ has quit [Quit: Page closed]
kilae has joined #m-labs
<stekern> oh, ISE you silly old chap... map report claims an *increase* in LUTs after this commit: https://github.com/openrisc/mor1kx/commit/2440fab3531931a5b06f12ed873d1c041a009428
kilae has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
kristian1aul has joined #m-labs
kristianpaul has quit [Ping timeout: 252 seconds]
uf6667 has quit [Ping timeout: 268 seconds]
mumptai has joined #m-labs
MY123 has quit [Quit: Connection closed for inactivity]
mumptai has quit [Quit: Verlassend]
uf6667 has joined #m-labs
kyak has quit [Ping timeout: 245 seconds]
kyak has joined #m-labs
kyak has joined #m-labs
uf6667 has quit [Ping timeout: 246 seconds]