01:48
_rht has joined #m-labs
02:49
mumptai has quit [Ping timeout: 244 seconds]
03:02
mumptai has joined #m-labs
03:26
<
sb0 >
and is the compiler caching/keeping things across kernels now to speed up? or is that unintended?
03:27
<
whitequark >
yes, the problem with writeback is as you described.
03:27
<
whitequark >
there is no caching between kernels of any sort
03:28
<
whitequark >
why do you think there is?
03:30
<
sb0 >
it seems the second compilation is checking the new type of the attribute (int32) matches the type found during the first compilation (int64)
03:31
<
sb0 >
but I might be misinterpreting that
03:31
<
whitequark >
no, it does not
03:31
<
whitequark >
i_previous_timestamp is accessed as int64
03:31
<
whitequark >
and it's initially assigned as int64 too
03:31
<
whitequark >
when it's reassigned as a regular int (which defaults to int64), it is first inferred from the access
03:32
<
whitequark >
remember, inference does not have (a fixed/stable) direction
03:35
<
sb0 >
there's still something weird about the error message
03:40
<
whitequark >
sb0: the error message is weird because there are two TTL outputs
03:41
<
whitequark >
the first has the correct type, so all accesses to it typecheck
03:41
<
whitequark >
after all the TTL-related functions were embedded and typechecked, the other TTL channel is pulled in
03:41
<
whitequark >
and it doesn't match the first one, which causes the error
03:41
<
whitequark >
by the time the error is discovered, all original context is long lost
03:42
<
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
03:43
<
sb0 >
ok. what about the next paste?
03:43
<
whitequark >
that's a bug
03:43
<
whitequark >
I never really considered deserialization of int64s
03:43
<
whitequark >
well, it's easy to fix, fortunately
03:43
<
sb0 >
or two. why is it not refusing the compile the second time, even though the attribute is int not int64?
03:44
<
sb0 >
is that because the python int is too large to fit in 32-bit and it automatically chooses int64?
03:44
<
whitequark >
that's probably it, yes
03:45
<
whitequark >
actually, hm, that looks odd
03:45
<
whitequark >
I don't think it's a bug, but I want to look closer at that
03:59
<
mithro >
rjo: You pointed to a misoc jtag serial port somewhere? Do we have a way to debug the lm32/or1k CPU via jtag?
04:30
sandeepkr has joined #m-labs
06:22
<
GitHub32 >
artiq/release-1 0a25941 Sebastien Bourdeauducq: environment: make NumberValue return integers when appropriate. Closes #397
06:22
<
GitHub32 >
artiq/release-1 08f903b Sebastien Bourdeauducq: environment,worker: remove enable_processors
06:22
<
GitHub180 >
artiq/master dc44aad Sebastien Bourdeauducq: environment: make NumberValue return integers when appropriate. Closes #397
06:22
<
GitHub180 >
artiq/master 12a8c76 Sebastien Bourdeauducq: environment,worker: remove enable_processors
07:00
<
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.
07:15
<
mithro >
cr1901_modern1: what about on the or1k? I know their FuseSoC version has support...
07:25
<
cr1901_modern1 >
mithro: I am sadly unsure :(
08:40
_rht has quit [Quit: Connection closed for inactivity]
08:50
<
GitHub77 >
artiq/release-1 3984684 Sebastien Bourdeauducq: Revert "environment,worker: remove enable_processors"...
09:26
_rht has joined #m-labs
09:30
<
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.
10:17
sj_mackenzie has quit [Ping timeout: 244 seconds]
10:21
<
mithro >
rjo: you mean the jtaguart branch?
10:22
<
mithro >
rjo: Does openocd git support it "out of the box"?
10:28
<
mithro >
oh - I see, that is what the .cfg file is for
10:31
<
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.
10:35
sj_mackenzie has joined #m-labs
11:08
EvilSpirit has joined #m-labs
11:16
<
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)
11:31
<
GitHub41 >
artiq/master caf7745 Sebastien Bourdeauducq: environment: refactor
12:11
<
rjo >
mithro: dunno. haven't played with it since then.
12:12
<
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
12:30
_rht has quit [Quit: Connection closed for inactivity]
13:37
<
GitHub142 >
artiq/master 0cf6df1 Sebastien Bourdeauducq: master/experiments: log more details about experiment name conflicts
13:37
<
GitHub117 >
artiq/release-1 ed17972 Sebastien Bourdeauducq: master/experiments: log more details about experiment name conflicts
14:41
<
mithro >
well, I have a very hacky version of this kind of working....
16:44
<
mithro >
I have GDB connected to the or1k running in MiSoC!
17:11
<
rjo >
mithro: good. that's useful.
17:26
sj_mackenzie has quit [Remote host closed the connection]
17:28
larsc has quit [Ping timeout: 244 seconds]
17:35
larsc has joined #m-labs
19:19
sandeepkr_ has joined #m-labs
19:22
sandeepkr has quit [Ping timeout: 260 seconds]
19:22
kuldeep has quit [Ping timeout: 260 seconds]
19:38
kuldeep has joined #m-labs
20:17
jeremy_ has joined #m-labs
20:18
jeremy_ has quit [Client Quit]
20:30
_whitelogger has joined #m-labs
23:58
Gurty has quit [Ping timeout: 244 seconds]