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
bentley` has joined #m-labs
sb0 has quit [Quit: Leaving]
evil_spirit is now known as evilspirit
evilspirit has quit []
sb0 has joined #m-labs
fengling has joined #m-labs
FabM has joined #m-labs
sb0 has quit [Read error: Connection reset by peer]
sb0 has joined #m-labs
<GitHub156> [artiq] jordens pushed 7 new commits to spimaster: https://git.io/v2wOn
<GitHub156> artiq/spimaster 9a881aa Robert Jordens: gateware.spi: simpler clk bias
<GitHub156> artiq/spimaster d63a635 Robert Jordens: spi: add runtime support
<GitHub156> artiq/spimaster 8d7e92e Robert Jordens: pipistrello: set RTIO_SPI_CHANNEL
fengling has quit [Quit: WeeChat 1.4]
<sb0> rjo, I think those offsets are a bad idea...
<sb0> better generate ddb from soc description
<GitHub138> [artiq] jordens pushed 3 new commits to spimaster: https://git.io/v2wlW
<GitHub138> artiq/spimaster ad34927 Robert Jordens: spi: RTIO_SPI_CHANNEL -> RTIO_FIRST_SPI_CHANNEL
<GitHub138> artiq/spimaster 948fefa Robert Jordens: gateware.spi: style
<GitHub138> artiq/spimaster aeae565 Robert Jordens: runtime/spi: don't apply channel offset
<rjo> sb0: yes. same thought here.
<rjo> but i'll leave the constant in there. csr.h is the only place where i can get it for my ddb it without having to count things.
<sb0> mh
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
<GitHub153> [buildbot-config] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/buildbot-config/commit/62f9919841c7adb667822041835fa8c29d4e0a5a
<GitHub153> buildbot-config/master 62f9919 Sebastien Bourdeauducq: lab hardware is clock
bb-m-labs has joined #m-labs
sb0 has quit [Quit: Leaving]
<GitHub110> [artiq] jordens pushed 1 new commit to spimaster: https://git.io/v2wzL
<GitHub110> artiq/spimaster eb01b0b Robert Jordens: gateware.spi: cleanup doc
sb0 has joined #m-labs
<sb0> rjo, I'm not sure which backplane we have - QC2 or clock
<sb0> do you know?
<sb0> the NIST hardware is very confusing...
<sb0> whitequark, can you have a look at the backplane and tell me if TTL0 goes to LA00_CC_N (CLOCK) or LA00_CC_P (QC2)?
<sb0> whitequark, for doing this, since FMC pins are hard to reach and easy to damage, I suggest: the board is currently flashed with CLOCK. toggle ttl0 from the gateware (you may need to update ddb). check if ttl0 (clock) or ttl2 (qc2) is toggling
<sb0> whitequark, and how many 2-row connectors does it have in total? counting the one which is on the opposite side of FMC
<sb0> as I understand, it should be 12 for clock and 13 for qc2
<sb0> rjo, does the clock hardware also have the same connector for TTL, on the opposite side of FMC?
<sb0> my current understanding of the situation is I have the CLOCK backplane, the QC2 TTL adapter, and the QC2 schematics.
<sb0> rjo, I suppose the DDB can be an executable python file. then import to include.
<sb0> not that the python import mechanism is stellar, but it will prevent reinventing some wheels
<GitHub192> [artiq] jordens pushed 1 new commit to spimaster: https://git.io/v2wiQ
<GitHub192> artiq/spimaster df7d15d Robert Jordens: runtime: refactor spi into rt2wb
<rjo> sb0: when did you get it and who dido you get it from?
<sb0> rjo, AFAIR: June/July from Daniel
<rjo> sb0: the clock hardware is "Dec 2014" on the board iirc. the qc2 hardware should be last november/december or this year.
<sb0> okay, so that should be clock. i don't have the schematics for it though...
<sb0> which hasn't been a problem so far, because the dds bus is the same on the two
<sb0> and i've been running the ttl loopback tests on the pipistrello, but now it'd be nice to run them on the kc705, preferably automatically
<sb0> rjo, let's default everything (artiq_flash, targets.kc705, ...) to clock, since this is what we test on.
<rjo> sb0: clock hw. yes. i have that here as well.
<sb0> rjo, and a distinctive feature of qc2 is the active chips on the backplane, no?
<sb0> rjo, is there only one clock revision?
<rjo> mine has "FMC LPC ZYNQ DDS April 2014" on the pcb. that is nist_clock.
<rjo> sb0: i think so.
<rjo> should be.
<sb0> ok. same marking here.
<sb0> do you know anything about its TTL pinouts?
<rjo> should be as Dave Leibrandt listed them.
<rjo> i can search for the schematics if you need them. maybe i have them somewhere but i don't know.
<sb0> as far as the artiq source is concerned yes, but this doesn't tell me where I should look for them on the physical connector
<rjo> sb0: the spi master compiles fine on pipistrello. on kc705 with all the vivados that i have tested with it fails timing in the ethernet core now....
<rjo> let me search.
<sb0> did you test it with the buildserver vivado?
<rjo> yes. 2014.2 and 2015.4 iirc
<rjo> sb0: schematic on the way.
<rjo> whitequark: does the compiler strip fully inlined functions from the elf? from my superficial look it seems there are is a lot of code in the kernel elf that is never used because it has been inlined.
felix___ has joined #m-labs
felix___ is now known as felix_
<rjo> sb0: https://github.com/m-labs/artiq/blob/master/artiq/runtime/ttl.c#L41 that can be s/rtio_i_status_read()/status/, right?
mwalle has joined #m-labs
<sb0> rjo, thanks
<sb0> rjo, hm, yes
<GitHub159> [misoc] sbourdeauducq pushed 1 new commit to asyncserial: https://git.io/v2wHc
<GitHub159> misoc/asyncserial 5422d4b Sebastien Bourdeauducq: bios: use m-labs network settings
<GitHub63> [misoc] sbourdeauducq pushed 1 new commit to master: https://git.io/v2wHl
<GitHub63> misoc/master 79c89a3 Sebastien Bourdeauducq: bios: use m-labs network settings
<sb0> ysionneau, _florent_, mwalle: do you want to test misoc on m1/mixxeo?
<sb0> larsc, ^
<sb0> all the platforms that misoc ships with should be tested ...
<sb0> mithro, conversely, we can add the numato opsis there, as i guess you test it regularly
<mithro> sb0: We are currently stuck on the old migen/misoc until someone ports us forward
<mithro> sb0: (for the HDMI2USB firmware)
<mwalle> sb0: don't have time for anything atm, sorry
<mithro> sb0: but I would definitely like the Opsis and Atlys board shipping as supported with misoc - so if you tell me what to do, I'll get it done
<bb-m-labs> build #295 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/295
<sb0> mithro, comparing the kc705.py in old and new misoc should give you a good idea
<mithro> sb0: Would it be useful to ship you (or another developer) an Opsis board?
<GitHub174> [buildbot-config] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/buildbot-config/commit/aa445c66743575844cf612f28bf6c6e800ee477c
<GitHub174> buildbot-config/master aa445c6 Sebastien Bourdeauducq: fix autobuild board list
<sb0> whitequark, your deploy.sh creates a permissions/owners mess in /var/lib/buildbot/masters/artiq/.git/objects
<GitHub0> [artiq] jordens pushed 3 new commits to spimaster: https://git.io/v2w7b
<GitHub0> artiq/spimaster c226aeb Robert Jordens: coredevice/spi: read_sync read bit
<GitHub0> artiq/spimaster 6903a1d Robert Jordens: runtime/rt2wb: accurate exception strings
<GitHub0> artiq/spimaster 1b08e65 Robert Jordens: gateware/rt2wb: only input when active
<sb0> whitequark, (when git fetch executes)
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
<mwalle> sb0: dont you have a m1 anymore?
<sb0> I do, but I don't have time to test all the platforms in misoc
<sb0> rjo, what is the current status of the compiler re. the pdq? is it usable for experiments?
<rjo> sb0: usable for testing it yes.
<mithro> sb0: Is there a way to "automate" the testing at all? Is flashing the board and checking you get a bios prompt good enough?
<sb0> rjo, but it should be improved (made faster) for 1.0, right?
<rjo> unless somebody finds a slow down, it's fine.
<GitHub179> [buildbot-config] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/buildbot-config/commit/10e27741bfc3574deaea891b2222bbb3c3be46ef
<GitHub179> buildbot-config/master 10e2774 Sebastien Bourdeauducq: deploy.sh: prevent permissions/owner chaos in /var/lib/buildbot/masters/artiq/.git/objects...
<sb0> mithro, that would be a start, but a thorough test would verify all peripherals/cores.
<mithro> sb0: yeah - that seems like a pretty large project though?
<sb0> mithro, how do you test the hw that comes out of your fab?
<sb0> there certainly could be a large overlap with the misoc tests
<mithro> sb0: the manufacture cobbled together a jig and a bunch of xilinx cores
<mithro> Well, I should have been in bed hours ago
<rjo> the TAACCS people wanted to use ARTIQ for testing hardware like this
<rjo> sb0: now vivado compiles it fine again...
<GitHub176> [artiq] sbourdeauducq pushed 3 new commits to master: https://git.io/v2wxM
<GitHub176> artiq/master 785691a Sebastien Bourdeauducq: fix indentation
<GitHub176> artiq/master 572c49f Sebastien Bourdeauducq: use m-labs setup for defaults
<GitHub176> artiq/master 4467f91 Sebastien Bourdeauducq: coredevice: do not give up on UTF-8 errors in log. Closes #300
<bb-m-labs> build #296 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/296
rohitksingh has joined #m-labs
<sb0> rjo, any good idea where we could put a clock generator on the kc705 for testing it?
<sb0> i want to loop it back to one of the TTLs (directly on the backplane connector)
<sb0> the CLOCK design does not have a clock generator
<sb0> rjo, the wb adapter could be rewritten in a way that it does not does not register data. if it still passes gateware timing, that may simplify RTIO timing computations...
rohitksingh has quit [Ping timeout: 246 seconds]
rohitksingh has joined #m-labs
sb0 has quit [Read error: Connection reset by peer]
sb0 has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
<rjo> sb0: yes. but iirc i tested that a while ago and the fifo outputs wanted the registers.
<rjo> sb0: this sequence of writing channel, address, data, timestamd and then rtio_write_and_process_status() looks refactorable. the cachin penalty of duplicating that code probably outweighs the overhead of writing channel and address even if they have not changed.
<GitHub10> [artiq] sbourdeauducq pushed 3 new commits to master: https://git.io/v2rzC
<GitHub10> artiq/master d0d56bd Sebastien Bourdeauducq: doc: update install instructions
<GitHub10> artiq/master a1e1f2b Sebastien Bourdeauducq: doc: insist that output() must be called on TTLInOut. Closes #297
<GitHub10> artiq/master 5fad570 Sebastien Bourdeauducq: targets/kc705-nist_clock: add clock generator on LA32 for testing purposes
<rjo> sb0: for the clock i would then use a gpio on the kc705 board itself or if that does not work the last ttl.
<rjo> yeah. or LA32.
<sb0> rjo, Dave Leibrandt just acked the use of LA32 for this purpose
<sb0> whitequark, do you have MMCX connectors or should I order some?
ylamarre has joined #m-labs
mumptai has joined #m-labs
<GitHub98> [artiq] jordens pushed 10 new commits to spimaster: https://git.io/v2oft
<GitHub98> artiq/spimaster f73228f Robert Jordens: gateware/rt2wb: support combinatorial ack
<GitHub98> artiq/spimaster cb8815c Robert Jordens: Revert "gateware/rt2wb: support combinatorial ack"...
<GitHub98> artiq/spimaster a0083f4 Robert Jordens: Revert "gateware/rt2wb: only input when active"...
mumptai has quit [Quit: Verlassend]
<GitHub58> [artiq] jordens pushed 1 new commit to master: https://git.io/v2oGR
<GitHub58> artiq/master 6dd1eb2 Robert Jordens: artiq_flash: use term 'gateware'
<GitHub126> [artiq] jordens pushed 1 new commit to spimaster: https://git.io/v2oGj
<GitHub126> artiq/spimaster 7ab7f7d Robert Jordens: Merge branch 'master' into spimaster...
<GitHub60> [artiq] jordens pushed 1 new commit to master: https://git.io/v2onY
<GitHub60> artiq/master 8fa98f6 Robert Jordens: doc: use term 'gateware'...
ylamarre has quit [Ping timeout: 248 seconds]
Gurty has quit [Ping timeout: 276 seconds]
Gurty has joined #m-labs
ylamarre has joined #m-labs
ylamarre has quit [Quit: ylamarre]
mumptai has joined #m-labs
<mithro> sb0: we got into GSoC!
<mithro> Definitely interested in having a GSoC students working on improving MiSoC related stuff
mumptai has quit [Remote host closed the connection]