This may be a partially imperfect recollection in the details: 
Laura Vertatschitsch worked on a DDR3 to CPU interface at SAO.  However, after 
substantial effort, she still saw irreducible bit errors at some low rate, 
detectable with write-readback testing for extended time periods.  I vaguely 
recall the difficulty in this design arises in crossing the clock domain 
boundary to the PPC perhaps causing metastability and requiring double 
buffering or similar.  In the end we gave up on this approach, and figured out 
how to dump our data via the FPGA and a 10 GigE port to a host computer with a 
suitable NIC.  This workaround is still successfully in use, though arguably 
the PPC 1 Gig Ethernet would have been a more convenient solution at the time.

Laura may be able to fill in the details.   Interested to see Mike worked on 
this, and assuming his interface is entirely error free, we’d love to see it on 
the repo.

Jonathan



> On Dec 15, 2016, at 10:39 AM, Jack Hickish <jackhick...@gmail.com> wrote:
> 
> Hi Mike,
> 
> That would be great, thanks!
> Jack
> 
> On Thu, 15 Dec 2016 at 15:11 Mike Movius <mi...@reutech.co.za 
> <mailto:mi...@reutech.co.za>> wrote:
> 
> Hi,
> I have managed to modify the ddr3 pcore for the roach2 to include the CPU 
> interface. I am working from a cloned ska-as mlib_devel repo. I sent the 
> changes/additions to Wesley New for vetting/committing to their repo but I 
> guess he hasn't done it yet. I can send the info to those interested. 
> Regards, mm.
> ________________________________________
> From: casper-boun...@lists.berkeley.edu 
> <mailto:casper-boun...@lists.berkeley.edu> [casper-boun...@lists.berkeley.edu 
> <mailto:casper-boun...@lists.berkeley.edu>] on behalf of Jack Hickish 
> [jackhick...@gmail.com <mailto:jackhick...@gmail.com>]
> Sent: 15 December 2016 12:32 PM
> To: Marc Welz; Franco
> Cc: Casper Lists
> Subject: Re: [casper] progdev fail
> 
> 
> More broadly speaking, has anyone ever used the DDR powerPC interface on 
> ROACH2? Is it actually know to work with code as-provided in the mlib_devel / 
> katcp repos?
> Franco -- perhaps this project -- 
> https://github.com/argonnexraydetector/RoachFirmPy 
> <https://github.com/argonnexraydetector/RoachFirmPy><https://github.com/argonnexraydetector/RoachFirmPy
>  <https://github.com/argonnexraydetector/RoachFirmPy>> -- which I found 
> linked on the DDR page of the CASPER wiki, might be interesting to you.
> 
> Cheers
> Jack
> 
> 
> 
> 
> 
> On Thu, 15 Dec 2016 at 07:31 Marc Welz <m...@ska.ac.za 
> <mailto:m...@ska.ac.za><mailto:m...@ska.ac.za <mailto:m...@ska.ac.za>>> wrote:
> The fpga<->ppc interface is limited in size - if you want to see huge
> memory areas, you will need some sort of windowing/offset scheme
> 
> regards
> 
> marc
> 
> 
> On Wed, Dec 14, 2016 at 1:43 PM, Franco <francocuro...@gmail.com 
> <mailto:francocuro...@gmail.com><mailto:francocuro...@gmail.com 
> <mailto:francocuro...@gmail.com>>> wrote:
> > Doing some more testing, I realize the progdev works when I remove the DRAM
> > block from the model. What could this mean??
> >
> > Franco
> >
> >
> >
> > On 14/12/16 10:13, Franco wrote:
> >>
> >> Dear Casperites,
> >>
> >> I'm trying to progdev a model to ROACH2 and I get the following error:
> >>
> >> ?progdev cntr_dram2_2016_Dec_13_1558.bof
> >> #log info 1019840342915 raw
> >> attempting\_to\_program\_cntr_dram2_2016_Dec_13_1558.bof
> >> #log info 1019840343002 raw
> >> attempting\_to\_program\_bitstream\_of\_19586188\_bytes\_to\_device\_/dev/roach/config
> >> #fpga loaded
> >> #log warn 1019840343887 raw
> >> requesting\_to\_map\_a\_rather\_large\_area\_of\_0x80000000
> >> #log error 1019840343887 raw
> >> unable\_to\_map\_file\_/dev/roach/mem:\_Cannot\_allocate\_memory
> >> #log error 1019840343890 raw
> >> unable\_to\_program\_bit\_stream\_from\_cntr_dram2_2016_Dec_13_1558.bof
> >> !progdev fail
> >>
> >> Anyone has any idea what's the problem? I can program other models fine,
> >> but this is the first model I compiled using the SKA fork library.
> >>
> >> Thanks,
> >>
> >> Franco
> >>
> >
> >
> 
> 
> 
> Please consider the environment before printing this e-mail
> 
> 
> View the Reutech Radar System online disclaimer at    
> http://www.rrs.co.za/links/E-maildisclaimer.asp 
> <http://www.rrs.co.za/links/E-maildisclaimer.asp><116121517112301343.gif><116121517112301343.gif>

Reply via email to