It took me a bit to piece together all the information, so I decided to share them here. To install an arbitrary version of Scipy in your Travis container (even Python 2.6) you need to:

Add the following packages via the apt addon:

      - libopenblas-base
      - libopenblas-dev
      - liblapack-dev
      - gfortran

Upgrade pip so it can install wheels:

  - pip install --upgrade pip

Install any version of Scipy via pip:

  - pip install scipy==0.18.1

In a Python 2.7 container this installs a binary package of Scipy. Very fast, very convenient. In a Python 2.6 container Scipy apparently has to be compiled from scratch. Less fast, but once it is set up, no less convenient.


For my current project, a backplane bus, I need to distribute a shared clock signal to all participants on the bus. I don’t want to impose any rules on the topology of the bus and the number of participants and bus length (as in length of the wires) is variable. This means that I have to assume that there will be quite a few reflections. This is no problem for the data lines as they will only be read out once they have stabilised, but the signal to read or write is transmitted as a clock and reflections there can be messy.

Read More

Today I would like to present a little tutorial how to program a CPLD (in this case a Xilinx XC9572XL) using Ubuntu 12.4 LTS (64 bit) and the Bus Pirate v3. All the information needed to achieve this is already out there, but not conveniently boiled down to a tutorial. At least I did not find one. So here we go:

The first thing you will need to program Xilinx CPLDs, is Xilinx’s ISE development environment. Fortunately there is a version for Linux, but unfortunately it took a few tricks to make it work on my system. I cannot guarantee that any of this will be necessary or even advisable for you since it might depend on your flavour of Linux and version of ISE, but it worked for me.

Read More

Hello World,

this is my new blog, in which I’d like to keep you posted about my projects and maybe sometimes write a little bit about physics. We’ll see how it goes.

I hope you’ll find something of interest!