Hi Vikas Does the code read back all zeros consistently after FPGA configuration? Your problem may be related to the thread below;
http://www.mail-archive.com/[email protected]/msg01938.html Regards Andrew On 24 September 2011 01:48, Vikas Asthana <[email protected]> wrote: > Hi Glenn, > > The command completes without showing any error and also shows a plot but > the values are all zeros. Except for the case when it shows up. > Do you have related problem before? > In simulation, all seems fine, but to check it again, I am going to compile > the design with known inputs instead of using x64_adc for the inputs. > Thanks. > > -Vikas. > > > On Fri, Sep 23, 2011 at 5:40 PM, G Jones <[email protected]> wrote: > >> Hi, >> What exactly is happening when the command does not work? Is the read not >> completing or does the data not look correct? What does happen? >> Glenn >> >> >> On Fri, Sep 23, 2011 at 3:41 PM, Vikas Asthana <[email protected]>wrote: >> >>> Hi, >>> >>> We have a spectrometer giving out 256 FFT channels. But I am having a bit >>> problem in reading out the brams using ipython. >>> I am trying to just read the bram once and see the bram values on a plot. >>> The command I am using for reading the 32 bit values stored at each address >>> in BRAM (size = 2048) is : >>> >>> f = np.fromstring(u.read(bram,1024*4),dtype='int32').byteswap() >>> plt.figure(aa);plt.plot(f/(2.0**5)); >>> >>> But this will show the data in the BRAM every once in a while (1 in 10), >>> the same script works fine for the same design giving out 128 FFT channels. >>> Has anyone encountered this problem before? I have attached the python >>> script to look at. >>> Can anyone tell what could be the problem - is it in the script or in the >>> design? >>> Thanks for the help. >>> >>> >>> -- >>> Vikas Asthana >>> Research Assistant, >>> Radio Astronomy Systems Research Group, >>> Brigham Young University, >>> 480, Clyde building, >>> Provo, UT, USA - 84602. >>> Email: *[email protected]* >>> >>> >>> >> > > > >

