Available Now! Software Defined Radio with Zynq® UltraScale+ RFSoC Free Download Printed Edition |
This repository is only compatible with PYNQ images v2.7 and greater for the following RFSoC development boards:
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.
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 RFSoC development board with an SD Card containing a fresh PYNQ v2.7 image or greater.
- 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 simply install the QPSK demonstrator through PIP by executing the following command in the terminal:
pip3 install https://github.com/strath-sdr/rfsoc_qpsk/releases/download/v1.4.5/rfsoc_qpsk.tar.gz
python -m rfsoc_qpsk install
Once installation has complete, you will find the QPSK demonstrator notebooks located in the jupyter home workspace in the rfsoc_qpsk
folder.
This repository uses Voila to create simple web applications using Jupyter notebooks. Your RFSoC development board should already be preinstalled with a version of Voila and no further setup is required.
The following software is required to use the project files in this repository.
- Vivado Design Suite 2020.2
- System Generator for DSP
- MATLAB R2020a
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!
This project can be built with Vivado from the command line. Open Vivado 2020.2 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 block_design
make bitstream
Alternatively, you can run the entire project build by executing the following into the tcl console:
make all