Hi Guillermo, If the values are 64 bits in the model, it is suspicious that the reads are 1024*4 Bytes. I notice that in the latest tutorials_devel the reads are 1024*8 bytes ( https://github.com/casper-astro/tutorials_devel/blob/2982f9f14bffa065a80d9047ec5cd7ea1ca3ad6c/snap/tut_spec/snap_tut_spec.py#L19 )
What version of the tutorial are you using -- it's possible that if the version is old something else is wrong. Cheers Jack On Wed, 7 Apr 2021 at 14:09, Guillermo Gancio <[email protected]> wrote: > Hi Jack, > > What I understand from the tutorial, and correct me if I'm wrong, is: > Size of PFB and FFT, 2^12 i.e Re+Im 4096 channels, that's 2048 > frequency channels after obtaining power values from the complex > values. > Those 2048 channels end up in two registers 'even' and 'odd' of 2^10 > i.e. 1024 values each, each of this values is of 64bits, > So I have to read 1024 * 8 = 8192 bits, from each register (even and odd). > > I compiled the project with those values and I got the same result as > before, (read ok with 128*4 bits, ,fpga.read('even',128*4,0) ) > > Cheers > > > > > > > > El mar, 6 abr 2021 a las 11:27, Jack Hickish (<[email protected]>) > escribió: > > > > Hi Guillermo, > > > > How many channels is that tutorial supposed to generate? It looks like > the RAM is smaller than expected by the software. Is it possible that each > even/odd RAM is supposed to be 512*4 (i.e., 512 words, each 32-bits wide) > for 1024 channels total? > > > > Cheers > > Jack > > > > On Mon, 5 Apr 2021 at 22:46, Guillermo Gancio <[email protected]> > wrote: > >> > >> Hi Casperities (?) > >> > >> I'm going thru the tutorial 3 on a snap board, and I have some > >> issue/error while reading the 'odd' and 'even' register, > >> when reading with > >> -> a_0=struct.unpack('>1024l',fpga.read('even',1024*4,0)) > >> > >> I end up with the error > >> -> Request: ?read odd 0 4096 > >> -> Reply: !read fail > >> > >> but if I change the number of bytes to read from 1024*4 to 128*4, I > >> can read it with no problem, ( but the data plot does not seem to be > >> ok ). Also the accumulation value increments ok. > >> > >> Any thoughts? Thanks! > >> > >> > >> > >> > >> > >> -- > >> Instituto Argentino de Radioastronomia > >> [Argentine Institute of Radioastronomy] > >> > >> Guillermo M. Gancio > >> Responsable Área Observatorio > >> [Head of Observatory] > >> > >> Tel: (0054-0221) 482-4903 Int: 106 > >> Mail laboral [email protected] > >> > >> -- > >> 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/CA%2BEePfTjY%2BZzCUWr_ksaGfNRSoVfeF251VRbLP4S5dkFSnddcA%40mail.gmail.com > . > > > > -- > > 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/CAG1GKSk2tv25XinAy%3D0mt_WKY1s61p2qBOYLVsJ-%2B5j1twueQw%40mail.gmail.com > . > > > > -- > Instituto Argentino de Radioastronomia > [Argentine Institute of Radioastronomy] > > Guillermo M. Gancio > Responsable Área Observatorio > [Head of Observatory] > > Tel: (0054-0221) 482-4903 Int: 106 > Mail laboral [email protected] > > -- > 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/CA%2BEePfQWfV6jG1pMSNeqxbh0z5J0jn%2BBOSLuiY7PWpdcdDDu5Q%40mail.gmail.com > . > -- 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/CAG1GKSkK_YPV3Pk11skAn49WEqG6pXs75q6QJfiH%3DTMqKpx6yw%40mail.gmail.com.

