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
_rht has joined #m-labs
mumptai has quit [Ping timeout: 244 seconds]
mumptai has joined #m-labs
<sb0> whitequark, regarding https://github.com/m-labs/artiq/issues/402 - I guess the problem is attribute writeback is turning the int64 into int32?
<sb0> and is the compiler caching/keeping things across kernels now to speed up? or is that unintended?
<whitequark> yes, the problem with writeback is as you described.
<whitequark> there is no caching between kernels of any sort
<whitequark> why do you think there is?
<sb0> it seems the second compilation is checking the new type of the attribute (int32) matches the type found during the first compilation (int64)
<sb0> but I might be misinterpreting that
<whitequark> no, it does not
<whitequark> i_previous_timestamp is accessed as int64
<whitequark> and it's initially assigned as int64 too
<whitequark> when it's reassigned as a regular int (which defaults to int64), it is first inferred from the access
<whitequark> remember, inference does not have (a fixed/stable) direction
<sb0> there's still something weird about the error message
<sb0> whitequark, this is more like the expected behavior: http://paste.debian.net/433101/
<whitequark> mhm
<whitequark> sb0: the error message is weird because there are two TTL outputs
<whitequark> the first has the correct type, so all accesses to it typecheck
<whitequark> after all the TTL-related functions were embedded and typechecked, the other TTL channel is pulled in
<whitequark> and it doesn't match the first one, which causes the error
<whitequark> by the time the error is discovered, all original context is long lost
<whitequark> I believe I warned you about this when we first were discussing embedding (eight months ago, okay), not that there is a good solution
<sb0> ok. what about the next paste?
<whitequark> that's a bug
<whitequark> I never really considered deserialization of int64s
<whitequark> well, it's easy to fix, fortunately
<sb0> or two. why is it not refusing the compile the second time, even though the attribute is int not int64?
<sb0> is that because the python int is too large to fit in 32-bit and it automatically chooses int64?
<whitequark> that's probably it, yes
<whitequark> actually, hm, that looks odd
<whitequark> I don't think it's a bug, but I want to look closer at that
<mithro> rjo: You pointed to a misoc jtag serial port somewhere? Do we have a way to debug the lm32/or1k CPU via jtag?
sandeepkr has joined #m-labs
<GitHub32> [artiq] sbourdeauducq pushed 2 new commits to release-1: https://git.io/vwLcs
<GitHub32> artiq/release-1 0a25941 Sebastien Bourdeauducq: environment: make NumberValue return integers when appropriate. Closes #397
<GitHub32> artiq/release-1 08f903b Sebastien Bourdeauducq: environment,worker: remove enable_processors
<GitHub180> [artiq] sbourdeauducq pushed 2 new commits to master: https://git.io/vwLcG
<GitHub180> artiq/master dc44aad Sebastien Bourdeauducq: environment: make NumberValue return integers when appropriate. Closes #397
<GitHub180> artiq/master 12a8c76 Sebastien Bourdeauducq: environment,worker: remove enable_processors
<bb-m-labs> build #349 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/349
<bb-m-labs> build #610 of artiq is complete: Failure [failed python_unittest_1] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/610 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<cr1901_modern1> mithro: I believe JTAG support is Spartan6 only. Although I guess that's not a problem for you. lm32_config.v has the JTAG parameters.
<mithro> cr1901_modern1: what about on the or1k? I know their FuseSoC version has support...
<cr1901_modern1> mithro: I am sadly unsure :(
_rht has quit [Quit: Connection closed for inactivity]
<GitHub77> [artiq] sbourdeauducq pushed 1 new commit to release-1: https://git.io/vwL4A
<GitHub77> artiq/release-1 3984684 Sebastien Bourdeauducq: Revert "environment,worker: remove enable_processors"...
_rht has joined #m-labs
<rjo> mithro: jtaguart in my misoc repo. no jtag for the cpus that i know of. there are fragments for the older or1000 in openocd though.
sj_mackenzie has quit [Ping timeout: 244 seconds]
<mithro> rjo: you mean the jtaguart branch?
<mithro> rjo: Does openocd git support it "out of the box"?
<mithro> oh - I see, that is what the .cfg file is for
<rjo> yes
<rjo> it is a somewhat uncommon implementation as it is synchronous and blocks the device. was more a proof of concept at that time and a quick hack to free up the other uart.
sj_mackenzie has joined #m-labs
EvilSpirit has joined #m-labs
<mithro> rjo: Well, I get something which kind of looks like output but is corrupted in a lot of ways (looks like FIFO under/overflow)
<GitHub41> [artiq] sbourdeauducq pushed 1 new commit to master: https://git.io/vwL2K
<GitHub41> artiq/master caf7745 Sebastien Bourdeauducq: environment: refactor
<bb-m-labs> build #350 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/350
<bb-m-labs> build #125 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/125
<bb-m-labs> build #611 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/611
<bb-m-labs> build #351 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/351
<rjo> mithro: dunno. haven't played with it since then.
<bb-m-labs> build #126 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/126
<mithro> rjo: I'm currently actually trying to get the adv_dbg_if for mor1k up and running which seems to include a jtag serial port in it too, so will see how that goes before coming back to that
<bb-m-labs> build #612 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/612
_rht has quit [Quit: Connection closed for inactivity]
<GitHub142> [artiq] sbourdeauducq pushed 1 new commit to master: https://git.io/vwLKE
<GitHub142> artiq/master 0cf6df1 Sebastien Bourdeauducq: master/experiments: log more details about experiment name conflicts
<GitHub117> [artiq] sbourdeauducq pushed 1 new commit to release-1: https://git.io/vwLKu
<GitHub117> artiq/release-1 ed17972 Sebastien Bourdeauducq: master/experiments: log more details about experiment name conflicts
<bb-m-labs> build #352 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/352
<bb-m-labs> build #127 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/127
<bb-m-labs> build #613 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/613
<mithro> well, I have a very hacky version of this kind of working....
<mithro> I have GDB connected to the or1k running in MiSoC!
<rjo> mithro: good. that's useful.
sj_mackenzie has quit [Remote host closed the connection]
larsc has quit [Ping timeout: 244 seconds]
larsc has joined #m-labs
sandeepkr_ has joined #m-labs
sandeepkr has quit [Ping timeout: 260 seconds]
kuldeep has quit [Ping timeout: 260 seconds]
kuldeep has joined #m-labs
jeremy_ has joined #m-labs
jeremy_ has quit [Client Quit]
_whitelogger has joined #m-labs
Gurty has quit [Ping timeout: 244 seconds]