Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

RFSoC QPSK Transceiver

This repository is only compatible with PYNQ images v2.6 for the ZCU111 and RFSoC2x2.

Introduction

This repo contains all the files needed to build and run the RFSoC QPSK demonstrator that was published in IEEE Access and was presented at both FPL and XDF conferences in 2018. The design is a full QPSK transceiver, which transmits and receives randomly-generated pulse-shaped symbols with full carrier and timing synchronisation. PYNQ is used to visualise the data at both the DAC and ADC side of the RFSoC data converters, as well as visualising various DSP stages throughout the transmit and receive signal path.

Quick Start

Follow the instructions below to install the QPSK demonstrator on your development board. You will need to give your board access to the internet.

  • Power on your RFSoC2x2 or ZCU111 development board with an SD Card containing a fresh PYNQ v2.6 image.
  • Navigate to Jupyter Labs by opening a browser (preferably Chrome) and connecting to http://<board_ip_address>:9090/lab.
  • We need to open a terminal in Jupyter Lab. Firstly, open a launcher window as shown in the figure below:

  • Now open a terminal in Jupyter as illustrated below:

Now follow the board specific instructions as follows.

RFSoC2x2 Setup

Your RFSoC2x2 development board does not come preinstalled with the QPSK demonstrator package (rfsoc-qpsk). You can install it by executing the command below in the terminal.

pip3 install git+https://github.com/strath-sdr/rfsoc_qpsk

Once installation has complete, you will find the QPSK demonstrator notebooks located in the jupyter home workspace in the qpsk-demonstrator folder.

This repository uses Voila to create simple web applications using Jupyter notebooks. Your RFSoC2x2 development board should already be preinstalled with a version of Voila and no further setup is required.

ZCU111 Setup

The ZCU111 PYNQ image already comes preinstalled with the QPSK demonstrator package. To use this repository correctly you should force reinstall the rfsoc-qpsk package by executing the following command in the terminal:

pip3 install --force-reinstall --no-deps git+https://github.com/strath-sdr/rfsoc_qpsk

Once installation has complete, you will find the QPSK demonstrator notebooks located in the jupyter home workspace in the qpsk-demonstrator folder.

This repository uses Voila to create simple web applications using Jupyter notebooks. If you would like to use Voila on your ZCU111 development board, simply follow the instructions outlined in this blog post.

Using the Project Files

The following software is required to use the project files in this repository.

  • Vivado Design Suite 2020.1
  • System Generator for DSP
  • MATLAB R2020a

System Generator

The Tx and Rx IPs are in separate directories in rfsoc_qpsk/boards/ip/sysgen/ that can be opened using the appropriate System Generator dialogue. Due to the large amount of decimation and interpolation in both IPs, simulating the output can take an extraordinarily long time. A less extreme multirate system would simulate much faster!

Vivado

This project can be built with Vivado from the command line. Open Vivado 2020.1 and execute the following into the tcl console:

cd /<repository-location>/boards/<board-name>/rfsoc_qpsk/

Now that we have moved into the correct directory, make the Vivado project by running the make commands below sequentially.

make project
make block_design
make bitstream_file

Alternatively, you can run the entire project build by executing the following into the tcl console:

make all

License

BSD 3-Clause