Hi Adam, Thanks for your answers, for now I'm just using the compiled .fpg file from the git, so its only the casperfpga that I'm using, while looking for the hash I realize that I was on the mater branch and not in the tutorial2019 branch as I thought... Knowing that probably I have a problem with it,,,during the installation I had to move from python3 to python 2.7 and back, because while doing "...pip3 -r requirements.txt..." I got some messages that it needs python 2.7, so I guess that I have some wired mix of libraries....also I installed casperfpga with pip, and probably that will also get the master branch instead of the tutorial2019. I will look for the virtual environment for python...
Thanks for the hints, I'll comment how it goes. Cheers. El sáb., 31 ago. 2019 a las 11:57, Adam Isaacson (<aisaac...@ska.ac.za>) escribió: > Hi Guillermo, > > Just another thought. I am assuming you are using the completed tutorials > and not creating these tutorials from scratch. There is a limitation on the > BRAMs and hence, snapshots, they can only have a maximum bitwidth of 32 > bits at the moment. is it possible that your snap shots is using a larger > bitwidth? Maybe just attach your model slx file for the adc_dac_tut and we > can confirm. > > This limitation is due to the AXI interface that can only support > symmetric BRAMs with a maximum bitwidth of 32 bits. We (CASPER) plans to > introduce asymmetric BRAM, which would take care of this limitation. There > is no specific schedule for this though. > > Kind regards, > > Adam Isaacson > South African Radio Astronomy Observatory (SARAO) > Hardware Manager > Cell: (+27) 825639602 > Tel: (+27) 215067300 > email: aisaac...@ska.ac.za > > > > On Sat, Aug 31, 2019 at 10:56 AM Adam Isaacson <aisaac...@ska.ac.za> > wrote: > >> Hi Guillermo, >> >> It seems to be snapshot specific. The intro tutorial doesn't use the snap >> shot and that is why it works. This should work. I do recall seeing >> something like this before - Wesley New might have encountered this. >> >> Please can you send me the exact git hash of the mlib_devel and >> casperfpga you are using. You could also try use the casperfpga in: >> https://github.com/casper-astro/tutorials_devel/tree/workshop2019 as a >> sanity check? >> >> The caper-astro/casperfpga repo has recenty been updated and merged into >> master: https://github.com/casper-astro/casperfpga/commits/master. >> Therefore, the "tutorials2019" branch has been deleted for casperfpga. >> >> I would first try the >> https://github.com/casper-astro/tutorials_devel/tree/workshop2019 casperfpga >> version used in the tutorials_devel repo and then the >> https://github.com/casper-astro/casperfpga/commits/master. If the >> problem still occurs for both then we can explore the toolflow version. >> >> I assume you are still running casperfpga using Python 2.7 and the >> toolflow in Python 3? I am now using python virtual environments. >> >> Kind regards, >> >> Adam Isaacson >> South African Radio Astronomy Observatory (SARAO) >> Hardware Manager >> Cell: (+27) 825639602 >> Tel: (+27) 215067300 >> email: aisaac...@ska.ac.za >> >> >> >> On Fri, Aug 30, 2019 at 5:50 PM Guillermo Gancio <ganci...@gmail.com> >> wrote: >> >>> Hi all, >>> >>> I'm testing the tut_spec with a redpitaya (14bits) using just the >>> example from the tutorial "python tut_spec.py -f tut_spec.fpg -r >>> rp-xx.local " and I get an error on the line >>> >>> spec0=fpga.snapshots.accum0_snap_ss.read(arm=False)['data'] >>> ... >>> (from snap.py).... RuntimeError: accum0_snap_ss.read_uint() - expected >>> 16384 bytes, got 32 >>> ... >>> >>> I get the same error on tut_adc_dac, but the tut_intro works ok, >>> >>> The casperfpga and the tutorials_devel that I'm using are from the >>> branch tutorials2019/workshop2019 >>> >>> Thanks for any advice. >>> >>> Cheers. >>> >>> >>> >>> >>> -- >>> Instituto Argentino de Radioastronomia >>> [Argentine Institute of Radioastronomy] >>> >>> Guillermo M. Gancio >>> Responsable Área Electrónica >>> [Head of Electronic Department] >>> >>> Tel: (0054-0221) 482-4903 Int: 106 >>> Mail laboral ggan...@iar.unlp.edu.ar >>> >>> -- >>> 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/CA%2BEePfQ-O%2B%3DvCcRGi8jD6CYCXGESYEm4ngYYM6Q2H7-pKEDbYQ%40mail.gmail.com >>> . >>> >> -- > 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%3DnGEQYibsdb1Wc%3D5X4dJz6A%2BfD93-YTip5tUih33nT8fNA%40mail.gmail.com > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADTJ%3DnGEQYibsdb1Wc%3D5X4dJz6A%2BfD93-YTip5tUih33nT8fNA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Instituto Argentino de Radioastronomia [Argentine Institute of Radioastronomy] Guillermo M. Gancio Responsable Área Electrónica [Head of Electronic Department] Tel: (0054-0221) 482-4903 Int: 106 Mail laboral ggan...@iar.unlp.edu.ar -- 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/CA%2BEePfSe0ueZuGa3C4p8zZuciodB7-g%2Bq-gnBaR8SN_Cs_cEAw%40mail.gmail.com.