<key2>
_florent_: the reason I am saying that is that I made a misoc/litex target in qemu, and when attaching gdb, I see that everytime, it gets back to the ISR because the IP is still saying that it's pending
<key2>
so it looks like everytime an instruction is executed, we save all regs, go to isr, get out of isr, restore all regs, do a new instruction, and go back to interrupt....
<key2>
because we never clear the IP
<_florent_>
key2: not sure but maybe there is a mode for the interrupt (level or edge) and we are now using level mode(which means clearing the CSR clear the irq) and we were using edge in milkymist?
<_florent_>
key2: and maybe the qemu is still using a edge mode
<key2>
ah, that would make sense in this case
<key2>
but what would set the ISR to be in level/edge mode ?
<key2>
Enable level-sensitive interrupts. The interrupt line status is // reflected in the IP register, which is then read-only.
key2 has quit [Ping timeout: 260 seconds]
jbqubit has joined #m-labs
jbqubit has quit [Remote host closed the connection]
acathla has quit [Quit: Coyote finally caught me]
acathla has joined #m-labs
key2 has joined #m-labs
key2 has quit [Ping timeout: 260 seconds]
acathla has quit [Changing host]
acathla has joined #m-labs
fengling has quit [Ping timeout: 268 seconds]
<rjo>
_florent_: i think we are missing input terminations on sysref and sync.
<_florent_>
rjo: yes maybe, the initialization issue is probably around sysref/sync (terminations?, wait sysref edge to send start after sync is released?)
<rjo>
_florent_: it could be a bouncy sync. i'll give it a shot.
<whitequark>
going to ask Brian to finish his cleanup work then
<rjo>
whitequark: sounds good.
<rjo>
whitequark: by the way. i had some weird "ConnectionClosed" events on the lab/kc705 combination today. maybe #456, maybe not. i couldn't reproduce them.
<whitequark>
no pcap either I suppose?
<rjo>
whitequark: no. will try to get one next time.
siruf has joined #m-labs
mumptai has quit [Remote host closed the connection]