Hi Will, I am glad you came right. Just so you and others know.
1) The casperfpga repo to use with the latest and greatest commit. https://github.com/casper-astro/casperfpga/tree/tutorial2019 (git hash: 08f8f7b17b). This will be merged to master at some point. 2) The mlib_devel repo has since been updated with many python3 updates. The tutorial uses: https://github.com/casper-astro/mlib_devel/tree/8be20498c63b1667760fa3a3dc35fd667837dc59. The latest and greatest is: https://github.com/casper-astro/mlib_devel/tree/casper-astro-soak-test. Yes, these will be merged to master at some point. It should also be noted that we are now using a python virtual environment for the toolflow. The toolflow now supports python3 and casperfpga supports Python 2.7 - this is being addressed and in the next few months will hopefully support Python 3 since Python 2.7 is no longer being supported. The structure of the tutorials_devel repo has been changed and should be much easier to install and setup - just follow the documentation in: https://github.com/casper-astro/tutorials_devel/blob/workshop2019/README.md. We are in the process of updating the ReadtheDocs to reflect the latest changes - we thank you for your patience. This is how to setup a virtual environment, which will be added to ReadtheDocs. https://gist.github.com/frfahim/73c0fad6350332cef7a653bcd762f08d. Kind regards, Adam Isaacson South African Radio Astronomy Observatory (SARAO) Hardware Manager Cell: (+27) 825639602 Tel: (+27) 215067300 email: aisaac...@ska.ac.za On Wed, Aug 28, 2019 at 12:32 AM Emery, William < william.em...@cfa.harvard.edu> wrote: > Hi Adam, > > Switching the casperfpga branch to tutorials 2019 seems to have worked. > > Thank you for your help, > Will > > On Tuesday, August 27, 2019, Adam Isaacson <aisaac...@ska.ac.za> wrote: > >> Hi Will, >> >> This sounds like the endianess issue we encountered. The latest version >> of casperfpga in casper-astro should have this proper fix. What git hash >> version of casperfpga are you using? >> >> One way to check is to go to casper-astro/tutorials_devel (workshop2019) >> branch and use the casperfpga git hash it references or just use the >> tutorials_devel git repo. It has everything you need just to do a sanity >> check. >> >> My feeling is that we did fix this. >> >> HTH, >> >> Adam >> >> >> On Tue, 27 Aug 2019, 10:20 PM William Emery, < >> william.em...@cfa.harvard.edu> wrote: >> >>> Hi Everyone, >>> >>> I have encountered a weird issue with my red pitaya. >>> >>> I tried uploading tut_intro. If we assign 1 to counter_ctrl, the lower >>> slice, which should be the LSB, gives 0. If we assign 2^24 to >>> counter_ctrl, the lower slice gives 1 implying there is an offset of 24 >>> bits. We also noticed that boolean signals come through casperfpga as 2^24 >>> when they are true. >>> >>> I haven't modified the tut_intro fpg or slx file in any way. I am using >>> Vivado 2019a and Matlab 2018a. 10 and 14 bits red pitayas appear to have >>> similar behavior. >>> >>> Is this a problem with our red pitaya firmware, casperfpga or our local >>> toolflow? >>> >>> Thank you for your help in advanced. >>> >>> Sincerely, >>> Will >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "casper@lists.berkeley.edu" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to casper+unsubscr...@lists.berkeley.edu. >>> To view this discussion on the web visit >>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/e8d4c1d6-7665-467b-aecc-09d24d83846d%40lists.berkeley.edu >>> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/e8d4c1d6-7665-467b-aecc-09d24d83846d%40lists.berkeley.edu?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "casper@lists.berkeley.edu" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to casper+unsubscr...@lists.berkeley.edu. >> To view this discussion on the web visit >> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADTJ%3DnG87e8FsagH-L8b_AiTvozG6CuuqVyktjX8Y-WQmsDLtw%40mail.gmail.com >> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADTJ%3DnG87e8FsagH-L8b_AiTvozG6CuuqVyktjX8Y-WQmsDLtw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups " > casper@lists.berkeley.edu" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to casper+unsubscr...@lists.berkeley.edu. > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOiPLJDD%2BL90aYmtuZ7rBS7-OMWfmSo57zApUS8BAOHx0dHE_A%40mail.gmail.com > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOiPLJDD%2BL90aYmtuZ7rBS7-OMWfmSo57zApUS8BAOHx0dHE_A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADTJ%3DnHHQyr_yxXEsNGcyBj328Usecja2EOZeMsdFCzbdz81OA%40mail.gmail.com.