Vector Network Analyzer

Some interesting links on network analyzers:


The basic blocks of the system are shown on the following diagram:

Multichannel Pulse Height Analyzer

The projects/vna directory contains one Tcl file block_design.tcl that instantiates, configures and interconnects all the needed IP cores.


The projects/vna/server directory contains the source code of the TCP server (vna.c) that receives control commands and transmits the data to the control program running on a remote PC.

The projects/vna/client directory contains the source code of the control program (

vna client

Getting started with MS Windows (pre-built control program)

Getting started with MS Windows (manual Python installation)

C:\Python34\python.exe -m pip install --upgrade pip==19.1.1
C:\Python34\python.exe -m pip install numpy==1.15.4 matplotlib==2.2.4

Getting started with GNU/Linux

sudo apt-get install python3-dev python3-pip python3-numpy python3-pyqt5 libfreetype6-dev
sudo pip3 install matplotlib
git clone
cd red-pitaya-notes/projects/vna/client

Building from source

The installation of the development machine is described at this link.

The structure of the source code and of the development chain is described at this link.

Setting up the Vitis and Vivado environment:

source /opt/Xilinx/Vitis/2020.1/

Cloning the source code repository:

git clone
cd red-pitaya-notes

Building vna.bit:

make NAME=vna bit

Building vna:

arm-linux-gnueabihf-gcc -static -O3 -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard projects/vna/server/vna.c -o vna -lm -lpthread

Building SD card image zip file:

source helpers/