Project PRE: Preparatory Exercise

This project is a compulsory part of the examination for the Implementation of Digital Signal Processing course at the University of Twente. The goals of this project are:


The real work for this course is done on machine, which is a server running Linux. You should use your private PC to connect to this server. If your are connecting from outside the university campus, you will need to set up VPN first.

You need to indicate your intention to participate to the instructor, Sabih Gerez, either in class or by e-mail. After a few days, you will be given rights to login to the server. Please contact Bert Helthuis, room ZI 5029, in case of problems when logging in or launching the software.

Getting graphics output from the Linux server (X-windows) on your PC is essential. If you are running Microsoft Windows, using Mobaxterm is an easy way to set up a connection (use ssh, secure shell) and then display graphic output coming from the server on your PC. Connect using server name and your student number as login name (the password is the generic password of your university student account). If your PC is running Linux displaying X-windows is directly supported (connect with ssh -X, so with X forwarding).

You need to have a file in your Linux home directory called .bashrc with the following contents (check the contents with cat .bashrc):

. ~socadmin/defaults/soc.bashrc

If you don't have it, the easiest way to achieve this is to type on the command line:

echo ". ~socadmin/defaults/soc.bashrc" > .bashrc

You also need to have a file .bash_profile in your home directory with content:

. ~/.bashrc

If you don't have it, the easiest way to achieve this is to type on the command line:

echo ". ~/.bashrc" > .bash_profile

After you have created the files .bashrc and .bash_profile with the correct content, log out (type exit) and reconnect.

The following screenshot for a Mobaxterm connection displays a correct configuration ready to launch System Studio (or any other tool made avaiable for the course):

The blue-and-red command prompt on a white background is a sign that soc.bashrc has been correctly sourced. In the prompt, you should see your own login name instead socadmin. The two cat commands confirm that .bash_profile and .bashrc have the corect contents.

The file ~socadmin/defaults/soc.bashrc takes care of everything you need for the projects. It runs the necessary tool start-up scripts and sets environment variables. You should not attempt to run start-up scripts or set environment variables by yourself! So, simply typing:


should launch System Studio. If this works, you have correctly configured your account. At the next login, you can start working directly without bothering about .bash_profile and .bashrc. If it does not, reread carefully the instructions above and make sure that you have not made any mistake.

If you are not sufficiently at ease with Linux/Unix commands, the on-line Unix Tutorial may be a good starting point.

Alternative Connection via MobaXterm

When connecting to the soc1 server using ssh in MobaXterm as described above, MobaXterm operates in so-called "multi-window mode": any X window is encapsulated in a window of Microsoft Windows. It turns out that System Studio is very slow when instantiating models in this mode.

This slow behavior does not occur when MobaXterm is used in a different way to connect to the soc1 server. Do the following:

System-Studio Training Exercises (for all students)

Consult the documentation. Study (at least) the following presentations belonging to the Algorithmic Training Lectures:

Then perform the first 6 "labs" from the "Algorithmic Training Lab Workbook", corresponding to the six presentations mentioned above. Skip the "Source Code Debugging" section of Lab 4.

Reparation Exercises for Students Who Did Not Follow SoC Design (for ES)

Go (back) to  Sabih's Home Page.
Last update on: Tue Mar 21 01:29:53 CET 2017 by Sabih Gerez.