[casper] snapshot block with external trigger

2012-12-05 Thread David MacMahon
I'm trying to use multiple snapshot blocks with an external trigger so that I can capture multiple streams simultaneously. I built a small subsystem (see attached image) with four data inputs, one trig input, and four snapshot blocks (with none of their optional features enabled). My hope was

Re: [casper] snapshot block with external trigger

2012-12-06 Thread David MacMahon
Hi, Andrew, Thanks for looking into this. On Dec 6, 2012, at 12:40 AM, Andrew Martens wrote: > Just done some sims and can't replicate the behaviour. Interesting. I just did some sims and also can't replicate this behavior in simulation. > Your problem is therefore interesting. Is this with

Re: [casper] snapshot block with external trigger

2012-12-06 Thread Andrew Martens
Hi Dave > I am working on ROACH2. Jason also had a problem with snapshot blocks using ROACH2. His snap block would not finish capturing, i.e write 7 into the control register, busy bit goes high and byte count spins, but busy bit never goes low again! Again, the logic to finish capturing is very

Re: [casper] snapshot block with external trigger

2012-12-06 Thread Henno Kriel
Hi Dave I think Andrews point 3 is relevant. We have picked up on transient on the register write with the latest memory mapped TCPBORPH. It seems that sometimes, some of the bits goes high for a short while and then settles at the required register value. We need to figure out where the issue i

Re: [casper] snapshot block with external trigger

2012-12-07 Thread G Jones
Hi, I seem to be running into this same problem. Will tcpborphserver2 run on the same linux kernel or do I need to change to a borph specific kernel? Thanks, Glenn On Fri, Dec 7, 2012 at 2:41 AM, Henno Kriel wrote: > Hi Dave > > I think Andrews point 3 is relevant. > > We have picked up on transi

Re: [casper] snapshot block with external trigger

2012-12-07 Thread Rurik A. Primiani
Hi all, FWIW, I use these snapshots extensively on ROACH2 and have not had any issues. However I'm still compiling using 11.x and still running tcpborphserver2. Best, Rurik On 12/7/2012 2:41 AM, Henno Kriel wrote: Hi Dave I think Andrews point 3 is relevant. We have picked up on transient

Re: [casper] snapshot block with external trigger

2012-12-10 Thread Marc Welz
On Fri, Dec 7, 2012 at 12:31 PM, G Jones wrote: > Hi, > I seem to be running into this same problem. Will tcpborphserver2 run > on the same linux kernel or do I need to change to a borph specific > kernel? So tcpborphserver2 requires a borph kernel, the kind where you can run a .bof file like an

Re: [casper] snapshot block with external trigger

2012-12-10 Thread Marc Welz
Hello > We have picked up on transient on the register write with the latest memory > mapped TCPBORPH. It seems that sometimes, some of the bits goes high for a > short while and then settles at the required register value. > > We need to figure out where the issue is (gateware or software).> So

Re: [casper] snapshot block with external trigger

2012-12-10 Thread David MacMahon
Hi, Marc, I can confirm that the wordwrite workaround works. Hopefully the fix for byte enables (either to make tcpborphserver3 not use them or to make the gateware support them) will not be too hard. Thanks, Dave On Dec 10, 2012, at 7:06 AM, Marc Welz wrote: > Hello > >> We have picked up

Re: [casper] snapshot block with external trigger

2012-12-10 Thread Alec Rust
Dave if the wordwrite workaround works lets stick to that for now. The workaround Marc compiled is not really good for release. We'll work on a proper release but for now use wordwrite if thats ok? Regards Alec On Mon, Dec 10, 2012 at 8:42 PM, David MacMahon wrote: > Hi, Marc, > > I can confirm

Re: [casper] snapshot block with external trigger

2012-12-10 Thread G Jones
So far, the wordwrite workaround does not appear to be working for me, but I'm still investigating. Glenn On Mon, Dec 10, 2012 at 2:12 PM, Alec Rust wrote: > Dave if the wordwrite workaround works lets stick to that for now. The > workaround Marc compiled is not really good for release. We'll wo

Re: [casper] snapshot block with external trigger

2012-12-10 Thread David MacMahon
Hi, Alec, This is a serious bug. Even though the workaround seems to work (still pending Glenn's testing), having to worry about when to use ?wordwrite vs ?write is very unfriendly for users/programmers. It would be good to fix it sooner rather than later, IMHO. Dave On Dec 10, 2012, at 11:

Re: [casper] snapshot block with external trigger

2012-12-10 Thread Alec Rust
Jup, Marc is working on this, he has already fixed it but the corner cases are tricky and needs a bit of attention before it is ready for release. On Mon, Dec 10, 2012 at 9:32 PM, David MacMahon wrote: > Hi, Alec, > > This is a serious bug. Even though the workaround seems to work (still > pendi

Re: [casper] snapshot block with external trigger

2012-12-10 Thread David MacMahon
Sounds great! Thanks, Dave On Dec 10, 2012, at 12:05 PM, Alec Rust wrote: > Jup, Marc is working on this, he has already fixed it but the corner cases > are tricky and needs a bit of attention before it is ready for release. > > On Mon, Dec 10, 2012 at 9:32 PM, David MacMahon > wrote: > Hi,