Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Marc
On Sun, May 31, 2020 at 6:54 PM Wesley New wrote: > You should have tcpborphserver installed on the PS. You can telnet into > tcpborphserver and issue register read and writes that way. ie you could > telnet into tcpborphserver on localhost form the RP using a python script and > run your

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Jack Hickish
Hi Sean, Just to explicitly add to wes's advice - in addition to the telnet interface on localhost, you can "just" install full blown casperfpga to your red pitaya, and connect via localhost using the scripts you already have. Unless your performance requirements are such that python is out of

Re: [casper] SPEAD reference implementation?

2020-06-01 Thread Jason Manley
Hi Jan > There are mentions of SPEAD in for example the Simulink models. No actual > low-level nor high-level implementations though. Have checked OpenCores as > well. There is an SKA memo [1] that does mention implementations, but these > refer to Python/C++. Looking at the C++ code, it

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Jack Hickish
Hi Sean, Sounds like you have everything under control, but FWIW that progska code isn't needed except for the SKARAB. If it really is just that binary then if you can coerce python to get past the install error, it won't impact your ability to run on the pitaya. Cheers Jack On Mon, 1 Jun 2020

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Wesley New
Hi Sean. progska is a c utility that we use to speed up the programming of the skarab boards and is not needed for the RP. On Mon, 01 Jun 2020, 7:23 PM Sean Mckee, wrote: > Hi Jack, > > I did try installing casperfpga on the red pitaya, but it appears that one > of the libraries (progska, if

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Sean Mckee
Hi Jack, I did try installing casperfpga on the red pitaya, but it appears that one of the libraries (progska, if I recall correctly) requires 64-bit. It was giving me ELFCLASS64 error. Not sure if there's a work around, but I'm pretty comfortable writing C code to run on the red pitaya to

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Vereese Van Tonder
On Mon, Jun 1, 2020 at 12:05 PM Marc wrote: > On Sun, May 31, 2020 at 6:54 PM Wesley New wrote: > > > > You should have tcpborphserver installed on the PS. You can telnet into > tcpborphserver and issue register read and writes that way. ie you could > telnet into tcpborphserver on localhost