Hello Indrajit, Thanks for reply. I ended up using "pip intstall ." per suggestion from Jonathon Kocz, and that worked for me.
I've tried the setup.py method for casperfpga in the past and ran into problems, so maybe your suggestion will clear those problems if I ever have to try it again. But for now I'm up and running with the pip method. Thanks again! -- Jeff -----Original Message----- From: Indrajit Vittal Barve <[email protected]> Sent: Friday, August 6, 2021 11:53 AM To: [email protected] Subject: Re: [casper] FW: casperfpga screenshots Hello Kobesky, Jeffrey Recently I installed casperfpga, I fixed the bug and reported it in Github, please do follow it and casperfpga will install. https://github.com/ska-sa/casperfpga/issues/105 --- Thanks and Regards Indrajit Vittal Barve On 2021-08-06 20:44, 'Kobesky, Jeffrey CIV USN NRL (5555) Washington DC (USA)' via [email protected] wrote: > Caution: This email originated outside IIA. > > Hello CASPER, > > I’ve followed the casperfpga install directions found here using > pip: > https://casper-toolflow.readthedocs.io/projects/casperfpga/en/latest/H > ow-to-install-casperfpga.html > [1] > > Bewildering to me, my pip-installed casperfpga does not match my > cloned casperfpga (from casper-astro repo). See “try” statement in > attachments, they are different. Does anyone know how that could > happen, how did my struct.pack statement get commented out during the > pip install? Does anyone recognize the comment “# Breaking backwards > compatibility” in the “pip_installed” attachment? > > Note I came across this because I can’t seem to write a 32 bit > unsigned integer to the yellow block software register using > “write_int”. The max number I can write without getting error is > 2^31 – 1, which seems to suggest my number entry is being interpreted > as a signed integer. Looking at the “write_int” code, it seems the > (‘>i’ if integer < 0 else ‘>I’, integer) argument should sort that > out, but for some reason it’s commented out in the > /usr/…/dist-packages/casperfpga. > > Any help is greatly appreciated, I don’t understand how the installed > source code could be different than the cloned source code. > Maybe something about pip or git that I don’t understand? > > Thanks again – Jeff > > Jeffrey Kobesky > > Electronics Engineer, Naval Research Laboratory > > O: (202) 404-7109 M: (443) 243-1554 > > OS: Pop!_OS 18.04 LTS (derived from Ubuntu 18.04 LTS) > > Vivado 19.1.1 MATLAB 2018a mlib_devel branch: master > > Python 2.7 for casperfpga and 3.6 running in (casper_venv) for > toolflow > > Devices: Red Pitaya, SKARAB > > -- > You received this message because you are subscribed to the Google > Groups "[email protected]" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/1514ac6a > 81b44ef8ad693e5fc6f62bd8%40nrl.navy.mil > [2]. > > > Links: > ------ > [1] > https://casper-toolflow.readthedocs.io/projects/casperfpga/en/latest/H > ow-to-install-casperfpga.html > [2] > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/1514ac6a > 81b44ef8ad693e5fc6f62bd8%40nrl.navy.mil?utm_medium=email&utm_source=fo > oter -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/8728af61e1d7d948a3392e20f2624374%40iiap.res.in. -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/ce27605e79c24ced9e2cfa626f49f5ac%40nrl.navy.mil.

