Re: casper-scm Recent mlib_devel pushes to casper-astro

2013-02-12 Thread G Jones
I think this is a good idea anyway, since the undoing bunch of
commits message was to restore iBOB + BEE2. So I think it's natural
to have a branch in the library.

On Tue, Feb 12, 2013 at 2:35 PM, Jason Manley jasonman...@gmail.com wrote:
 Sorry Dave! The updates all happened when we updated all the tutorials for 
 our recent workshop. There should have been more consultation.

 If 14.x is breaking backwards compatibly, maybe we should freeze mlib_devel 
 as mlib_11.x as we did with the old v7.1 blocks when we moved to 11.x. It 
 would then be up to 11.x users to backport/cherry-pick from the development 
 branch.

 I'm afraid we don't have the capacity to maintain multiple versions and 
 SKA-SA's firmly on the 14.x + 2012b flow.

 Jason



 On 12 Feb 2013, at 21:12, David MacMahon wrote:

 What's going on with recent mlib_devel pushes to casper-astro?  Why so much 
 activity from our South African friends there instead of in the ska-sa 
 repository?  Why the lack of any discussion (e.g. on this list) about this?

 I fetched from casper-astro on January 24th and got commit 9940104, but now 
 I see  that 18 cherry picked commits and an Undoing bunch of commits 
 commit have been pushed to casper-astro since then.  It's really hard to 
 tell what's going on there.

 I dislike commit 2df7b03 (cherry picked from f22a98c) that puts 14.2 into 
 system.xmp for the sole purpose of avoiding a rev-up when building.  That 
 may save 14.2 users a few seconds off their hours long build, but it forces 
 every ROACH2 user to upgrade to 14.2.  Do we really want to mandate that 
 users get 14.2 if they want to do ROACH2 development?  Not everyone gets 
 donations and/or free upgrades of the toolflow software.

 Thanks,
 Dave







Re: casper-scm Recent mlib_devel pushes to casper-astro

2013-02-12 Thread Andrew Martens
Hi Dave, all

The flurry of updates were a mistake (hence the undo). In preparing for
the workshop I started seeing what updating casper-astro to ska-sa would
look like and did a bunch of cherry-pick commits on my local repo. After
the workshop I did a push. Realising that I had broken support for BEE2
etc I undid things. 

My intention was to only push bug-fixes to casper-astro, and then do a
major update once a year.

 I have backported/merged everything from ska-sa and casper-astro (minus this 
 latest flurry of activity) including exporting ska-sa's latest 
 xps_library.mdl and casper_library_scopes.mdl files to Simulink 7.2 format.  
 It also includes the new yellow block for the ADC16x250-8 board.
 
 Please take a look at the adc16-branch of this git repo:
 
 http://astro.berkeley.edu/~davidm/mlib_devel.git
 
 I think this represents the best of all worlds in that it includes all the 
 latest pushed ska-sa fixes yet is also backwards compatible with previous 
 tool versions.  Plus it include some fixes that are unique (i.e. verilog fix 
 for qdr controller and improved handing of newer dspsigops/Downsample 
 versions).
 
 If people agree with me, I'd be happy to push this to casper-astro 
 (overriding, but not eliminating, the latest stuff that's there).

I think that would be great and is in keeping with making the most
people happy.

I still don't know what to do going forward. Support for older
architectures stops at a certain point. Also, it would be nice to try to
keep up with the latest versions of software while at the same time not
excluding those with older versions (it really is a pain (and expensive)
setting the toolflow up and making sure it works).

Regards
Andrew







[casper] roach 1 dram reference design

2013-02-12 Thread Mike Movius
Hi,
I am a recent roach user and want to use the dram in my design. I have read the 
wiki but find the library block description a bit cryptic. I want to write to 
the dram from the firmware and read from the cpu. Does anyone know where I 
could find a reference design to use as a point of departure? Thanks, MM.


Please consider the environment before printing this e-mail.


DISCLAIMER:
This message is intended for the use of the addressee and may contain
information that is privileged and/or confidential. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of the information contained in this message is strictly unauthorized
and prohibited. If you have received this message in error, please notify the
sender by reply e-mail and delete the message from your system. Opinions,
conclusions, or other statements in this message that do not relate to the
business of REUTECH Radar Systems, a Division of Reutech Ltd., its subsidiaries
or affiliates, are neither given nor endorsed by REUTECH Radar Systems, a
Division of Reutech Ltd.inline: 113021214373009102.gif

Re: [casper] Roach2 configuration and setup

2013-02-12 Thread Paul Prozesky
Afternoon Guy

Regarding question 3... if you're running tcpborphserver3 you can use the
upload_bof method in the FpgaClient class in corr to upload a bof file to
your ROACH. I just checked and it took about 12s to copy a boffile using
this. Once it's uploaded, though, it will skip uploading it unless you
force it to do so. Use progdev to program the device as usual.

Regards
Paul


On 12 February 2013 00:32, Guy kenfack guy.kenf...@gmail.com wrote:

 Hello,
 we received 2 roach2 boards from digicom (20th dec 2012).we managed to
 configure our minicom with centos6.2 final, and tty usb2.
 I've several questions about the advised version for the uboot and the
 tcborphserver3
 u-boot versionof my boards:
 u-boot 2011.06-rc2-0-gd422dc0-dirty(Nov 8 2012 - :16:04:14)
 #SN : Roach2.2 batch = D#6#10
 #kernel : Linux roach 02 06 0A 3.4.0 - rc3+
 Tcpborphserver3
 1/
 a- how can I find the version of my romfs and also how can I find the
 version of my Tcpborphserver3
 b- which version for the uboot and the tcborphserver3 should I use, should
 I keep the current version above ?
 where is it located?

 2/ I heard that the configuration with the SD card is not yet working  ?
 is it still the case ?

 3/I want to load my boffiles, can I use ssh  ? or should Iuse the telnet
 to tranfer my files ?
 How should I do If I want to keep my boffiles alive? I used to store them
 on the SD card, even when shutting down my roach board. Do I need to
 re-load or to copy my boffiles after switching on my roach2 boards?
 I read somewhere that it could be possible to upload from the python
 ?(I've never done it)
 How long does it take to the boffile to be copied ? before launching the
 fpgaprogdev() ?

 Thank you for your help,





Re: [casper] Roach2 configuration and setup

2013-02-12 Thread Marc Welz
Hello

 1/
 a- how can I find the version of my romfs and also how can I find the
 version of my Tcpborphserver3

if you telnet to port 7147, there should be a version string
for tcpborphserver3. The romfs contains a timestamp in its filesystem
label, but since it such a small system, you can pretty much use the
tcpborphserver3 version string as a proxy for it

 b- which version for the uboot and the tcborphserver3 should I use, should I
 keep the current version above ?
 where is it located?

The source is in git at github.com/ska-sa

 2/ I heard that the configuration with the SD card is not yet working  ? is
 it still the case ?

Yes. A roach2 has sufficient onboard flash to keep a number of
(optionally compressed)  bof files there
without having to use external storage, so we not allocated anybody to
work on the MMC logic. Also note that MMC cards can be interesting, see
http://www.bunniestudios.com/blog/?p=2297

So we recommend you soloboot, ie boot off the onboard flash.

 3/I want to load my boffiles, can I use ssh  ? or should Iuse the telnet to
 tranfer my files ?
 How should I do If I want to keep my boffiles alive? I used to store them on
 the SD card, even when shutting down my roach board. Do I need to re-load or
 to copy my boffiles after switching on my roach2 boards?

The content of /usr on the onboard flash is preserved, so the bof files in
/usr/bof are retained.

 I read somewhere that it could be possible to upload from the python ?(I've
 never done it)
 How long does it take to the boffile to be copied ? before launching the
 fpgaprogdev() ?

I think Paul answered that (but note that you will need a pretty recent version
of tcpborphserver3 to use the uploadbof request).

If you are concerned about speed, you can transfer a bof file
beforehand (say using wget or ftpget or an nfs mountpoint) - then
the progdev is pretty quick, and you can then even arrange that the
file is programmed at startup (by adding a progdev command to
etc/tcpborphserver3.init)

regards

marc



[casper] ADC1X5000-8 correlator question

2013-02-12 Thread Ross Williamson
Hi All,

I'm new to CASPER/ROACH boards and so apologies if this is obvious.  We are
hoping to build a simple 2-channel correlator  with a fairly high
bandwidth.  We are in the process of ordering a ROACH-1 board and I was
thinking of also purchasing the ADC1X5000-8 ADC - A few questions:

1) Should I even be looking at an ADC1X5000-8 for use as a correlator?
2) I believe I need the DMUX 1:2 version to work with ROACH-1 board - is
that correct?
3) I should be able to run 2 channels at 2.5GHz 4bits with a single board -
correct?
4) If I wanted to could I purchase another ADC1X5000-8 and try and run with
5GHz bandwidth on each channel using the ROACH-1?

Best regards,

Ross

-- 
Ross Williamson
Research Scientist - Sub-mm Group
California Institute of Technology
626-395-2647 (office)
312-504-3051 (Cell)


Re: [casper] ADC1X5000-8 correlator question

2013-02-12 Thread G Jones
Hi Ross,
One point to clarify, the 5000 refers to the samping rate, not the
total bandwidth. So a single ADC1X5000 demux 1:2 will give you 5000
Msps at 4 bits per sample, allowing you to sample signals up to 2.5
GHz bandwidth. With a single board, you'd need to put the board in the
mode that instead acts as two ADCs each providing 2500 Msps at 4 bits
per sample, hence you'd be able to correlate two signals each of up to
1.25 GHz bandwidth. With two ADC cards, you could correlate two 2.5
GHz BW signals.

Glenn

On Tue, Feb 12, 2013 at 3:53 PM, Ross Williamson
rwilliam...@astro.caltech.edu wrote:
 Hi All,

 I'm new to CASPER/ROACH boards and so apologies if this is obvious.  We are
 hoping to build a simple 2-channel correlator  with a fairly high bandwidth.
 We are in the process of ordering a ROACH-1 board and I was thinking of also
 purchasing the ADC1X5000-8 ADC - A few questions:

 1) Should I even be looking at an ADC1X5000-8 for use as a correlator?
 2) I believe I need the DMUX 1:2 version to work with ROACH-1 board - is
 that correct?
 3) I should be able to run 2 channels at 2.5GHz 4bits with a single board -
 correct?
 4) If I wanted to could I purchase another ADC1X5000-8 and try and run with
 5GHz bandwidth on each channel using the ROACH-1?

 Best regards,

 Ross

 --
 Ross Williamson
 Research Scientist - Sub-mm Group
 California Institute of Technology
 626-395-2647 (office)
 312-504-3051 (Cell)



Re: [casper] ADC1X5000-8 correlator question

2013-02-12 Thread Dan Werthimer
hi ross,

how many frequency channels do you need in your two input correlator?

we have a full stokes VEGAS 1K channel spectrometer design
 that uses a pair of ADC08-5000's.
(a full stokes spectrometer is the same thing as a two input correlator)

our current design is for roach2, but we had tested working designs
for roach1 last year, and we can probably dig these up.

best wishes,

dan


On Tue, Feb 12, 2013 at 12:53 PM, Ross Williamson 
rwilliam...@astro.caltech.edu wrote:

 Hi All,

 I'm new to CASPER/ROACH boards and so apologies if this is obvious.  We
 are hoping to build a simple 2-channel correlator  with a fairly high
 bandwidth.  We are in the process of ordering a ROACH-1 board and I was
 thinking of also purchasing the ADC1X5000-8 ADC - A few questions:

 1) Should I even be looking at an ADC1X5000-8 for use as a correlator?
 2) I believe I need the DMUX 1:2 version to work with ROACH-1 board - is
 that correct?
 3) I should be able to run 2 channels at 2.5GHz 4bits with a single board
 - correct?
 4) If I wanted to could I purchase another ADC1X5000-8 and try and run
 with 5GHz bandwidth on each channel using the ROACH-1?

 Best regards,

 Ross

 --
 Ross Williamson
 Research Scientist - Sub-mm Group
 California Institute of Technology
 626-395-2647 (office)
 312-504-3051 (Cell)



Re: [casper] ADC1X5000-8 correlator question

2013-02-12 Thread Ross Williamson
Hi Glenn,

Thanks, I was being a tad blase regarding Nyquist/sampling rates. I think
if we can operate at 2.5GHz BW on each channel using the ROACH-I then we
should be fine - at least as a good proof of concept.

Ross

On Tue, Feb 12, 2013 at 12:58 PM, G Jones glenn.calt...@gmail.com wrote:

 Hi Ross,
 One point to clarify, the 5000 refers to the samping rate, not the
 total bandwidth. So a single ADC1X5000 demux 1:2 will give you 5000
 Msps at 4 bits per sample, allowing you to sample signals up to 2.5
 GHz bandwidth. With a single board, you'd need to put the board in the
 mode that instead acts as two ADCs each providing 2500 Msps at 4 bits
 per sample, hence you'd be able to correlate two signals each of up to
 1.25 GHz bandwidth. With two ADC cards, you could correlate two 2.5
 GHz BW signals.

 Glenn

 On Tue, Feb 12, 2013 at 3:53 PM, Ross Williamson
 rwilliam...@astro.caltech.edu wrote:
  Hi All,
 
  I'm new to CASPER/ROACH boards and so apologies if this is obvious.  We
 are
  hoping to build a simple 2-channel correlator  with a fairly high
 bandwidth.
  We are in the process of ordering a ROACH-1 board and I was thinking of
 also
  purchasing the ADC1X5000-8 ADC - A few questions:
 
  1) Should I even be looking at an ADC1X5000-8 for use as a correlator?
  2) I believe I need the DMUX 1:2 version to work with ROACH-1 board - is
  that correct?
  3) I should be able to run 2 channels at 2.5GHz 4bits with a single
 board -
  correct?
  4) If I wanted to could I purchase another ADC1X5000-8 and try and run
 with
  5GHz bandwidth on each channel using the ROACH-1?
 
  Best regards,
 
  Ross
 
  --
  Ross Williamson
  Research Scientist - Sub-mm Group
  California Institute of Technology
  626-395-2647 (office)
  312-504-3051 (Cell)




-- 
Ross Williamson
Research Scientist - Sub-mm Group
California Institute of Technology
626-395-2647 (office)
312-504-3051 (Cell)