Re: [casper] Configuring 40GbE Yellow Block in JASPER

2017-06-30 Thread Paul Prozesky
Morning Mark Please have a look here for SKARAB 40gbe TX and RX models with demo software. https://github.com/ska-sa/mkat_fpga/tree/devel/source/skarab_dev/tut2 Cheers Paul On 30 June 2017 at 07:46, Jason Manley wrote: > Hi Mark > > The current SKARAB 40G yellowblock is a

Re: [casper] casperfpga library

2016-03-04 Thread Paul Prozesky
Hi Vishwa 1. It's meant to make using CASPER fpga designs a bit easier to use. This mostly revolves around pulling information about the design from the running FPGA or bitstream file and then providing methods to access the hardware. So, for example, for registers and snapblocks, it provides

Re: [casper] ROCH 2 communication through Python

2015-09-02 Thread Paul Prozesky
Afternoon Aniket If you can telnet to the katcp interface on the ROACH2 then casperfpga should work. Two things to bear in mind: 1. You only really benefit from using casperfpga if you're using .fpg files (.bof + design info) from the toolflow, not .bofs. The SKA SA mlib_devel produces fpgs, I'm

Re: [casper] Compiling error

2015-06-02 Thread Paul Prozesky
occurred when processing ', tag, '.']) Should that tell me a little more info about where the problem occurs? Or is there another more elegant way to get that information? Regards, James On Mon, Jun 1, 2015 at 10:54 AM, Paul Prozesky paul.proze...@gmail.com wrote: Hi James You can see

Re: [casper] Compiling error

2015-06-01 Thread Paul Prozesky
approach? James On Mon, Jun 1, 2015 at 10:34 AM, Paul Prozesky paul.proze...@gmail.com wrote: Hi James Check the sblock_to_info script in the +design_info (no, the plus isn't a mistake, it's a matlab thing) folder in your xps_library folder. Something is that script is not happy with one

Re: [casper] Compiling error

2015-06-01 Thread Paul Prozesky
Hi James Check the sblock_to_info script in the +design_info (no, the plus isn't a mistake, it's a matlab thing) folder in your xps_library folder. Something is that script is not happy with one of the blocks in your model file. Cheers Paul On 1 June 2015 at 10:27, James Smith jsm...@ska.ac.za

Re: [casper] Suggested convention for writing registers

2015-03-20 Thread Paul Prozesky
Morning James We do this in already in the casperfpga package: https://github.com/ska-sa/casperfpga It turns out construct is pretty slow, so we just do the conversions and shifts manually. I think currently the fpg files that are automatically parsed by casperfpga are only generated for ROACH2,

Re: [casper] casperfpga and fpg's

2015-02-17 Thread Paul Prozesky
Morning Matt Yeah, you need to have the new commands in your tcpborphserver3. I'll check with Marc to get you a newer version and mail you off-list. You're solo-booting, right? Regards Paul On 18 February 2015 at 03:57, Matt Strader mstra...@physics.ucsb.edu wrote: Hello Casperites, I'm

Re: [casper] Simulink freezing after moving blocks

2015-02-17 Thread Paul Prozesky
Hey Coppers Ja, Andrew and I both have the same problem and it seems to be Ubuntu. Andrew went so far as to swap out his AMD/ATi video card for a nVidia one and it didn't help. Cheers, save often! Paul On 17 February 2015 at 14:01, Charles Copley chop...@gmail.com wrote: Hi all, Is anyone

Re: [casper] Goto block right click menu helper

2014-08-20 Thread Paul Prozesky
Hi all So I added Danny's right-click menu shortcuts to our repo ( github.com/ska-sa/mlib_devel) with some helpers that I use quite a lot. So all in all: -Get the size of a block and... -...Resize selected blocks to that size -Increment tags in Goto/From blocks -Make new Goto block with

Re: [casper] SFP+ MDIO on ROACH2

2013-10-04 Thread Paul Prozesky
Afternoon Dave Yeah, we have a small Python library for interacting with the PHYs and turning LEDs on and off. I'll get it to you. Regards Paul On 4 October 2013 06:11, David MacMahon dav...@astro.berkeley.edu wrote: Does anyone know how to read the SFP+ MDIO information from KATCP? Would

Re: casper-scm registers.info problems

2013-04-17 Thread Paul Prozesky
Morning. Yeah, sorry, that was me. I've fixed it. Thanks for the heads-up, Glenn. It's for a block that wraps the software register so that bitfields written to/from a register are written to a text file on generation. Then your control software can read that file and set up bit structures

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

Re: [casper] Problem setting parameters in fft blocks using mlib_devel

2013-01-18 Thread Paul Prozesky
Afternoon Ken I've seen similar behaviour when the block I'm using is cached by Matlab oddly. Or that's how I'd describe what happens, anyway. Two quick things to try: 1. Browse to the CASPER libraries in the library browser. Do they refresh when you open them? 2. Right click on the offending

Re: [casper] Request for a sample bof file

2012-04-05 Thread Paul Prozesky
Morning Tom The init scripts for the PFB weren't actually ever telling you that you had an error. Now they do. So you will see some error messages if you open a design with the old PFB block. And unfortunately, the way the init scripts are called, you may see the popup more than a few times. So