Giter Site home page Giter Site logo

strath-sdr / rfsoc_ofdm Goto Github PK

View Code? Open in Web Editor NEW
33.0 8.0 14.0 57.45 MB

PYNQ example of an OFDM Transmitter and Receiver on RFSoC.

MATLAB 0.13% HTML 1.67% VHDL 66.70% Tcl 19.56% Jupyter Notebook 10.60% Python 1.08% Makefile 0.06% C 0.19% Pascal 0.02%
pynq ofdm rfsoc transmitter receiver

rfsoc_ofdm's People

Contributors

dallan92 avatar dnorthcote avatar jogomojo avatar lewismcl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rfsoc_ofdm's Issues

Clean up the transmit and receive hierarchies

We should add the following hierarchy to allow this overlay to be compatible with drivers from rfsoc_sam.

The IPI diagram needs the following hierarchies:

radio -> receiver -> channel_yx -> (ofdm ip cores)
radio -> transmitter -> channel_yx -> (ofdm ip cores)
radio -> rfdc (ip core)

y is the tile, and x is the block.
The IP Cores in the channel hierarchies can be linked using a software wrapper.

See the hierarchies.py and channels.py in rfsoc_sam_private for an idea of whats happening here.

Error when running "make all"

After make all completes I receive this error. The bitstream has been generated successfully. Also running the three makefiles independently has no issues. Was just wondering what the cause of this is.

error after make all

Overlay xrfclk issue

I followed the exact instructions to run the ofdm demonstration on the zcu111; flashed PYNQ 2.7 and ran pip3 install git+https://github.com/strath-sdr/rfsoc_ofdm

However, as soon as the overlay is loaded there is an issue:

OSError Traceback (most recent call last)
in
2 import ipywidgets as ipw
3
----> 4 ofdm_hw = Overlay()

/usr/local/share/pynq-venv/lib/python3.8/site-packages/rfsoc_ofdm-0.3.2-py3.8.egg/rfsoc_ofdm/overlay.py in init(self, bitfile_name, init_rf_clks, **kwargs)
27 self.adc_block = self.adc_tile.blocks[0]
28
---> 29 self.configure_clocks()
30 self.configure_adcs()
31 self.configure_dacs()

/usr/local/share/pynq-venv/lib/python3.8/site-packages/rfsoc_ofdm-0.3.2-py3.8.egg/rfsoc_ofdm/overlay.py in configure_clocks(self, lmk_freq, lmx_freq)
53 """
54
---> 55 xrfclk.set_ref_clks(lmk_freq=lmk_freq, lmx_freq=lmx_freq)
56
57

/usr/local/share/pynq-venv/lib/python3.8/site-packages/xrfclk/xrfclk.py in set_ref_clks(lmk_freq, lmx_freq)
248
249 for lmk in lmk_devices:
--> 250 _set_LMK_clks(lmk_freq, lmk)
251 for lmx in lmx_devices:
252 _set_LMX_clks(lmx_freq, lmx)

/usr/local/share/pynq-venv/lib/python3.8/site-packages/xrfclk/xrfclk.py in _set_LMK_clks(lmk_freq, lmk)
153 raise RuntimeError("Frequency {} MHz is not valid.".format(lmk_freq))
154 else:
--> 155 _write_LMK_regs(_Config[lmk['compatible']][lmk_freq], lmk)
156
157 def _get_spidev_path(dev):

/usr/local/share/pynq-venv/lib/python3.8/site-packages/xrfclk/xrfclk.py in _write_LMK_regs(reg_vals, lmk)
73 f.write(data[1:])
74 else:
---> 75 f.write(data)
76
77 def _write_LMX_regs(reg_vals, lmx):

OSError: [Errno 6] No such device or address

Any ideas on how to solve this error?

Decimated vs. un-decimated signal

The following two figures are from your RFSoC-2x2 Voila notebooks, displaying the time-domain signal at the receiver block. Just looking at the waveforms I realize that the waveform denoted Decimated, is in fact not the decimated signal at all, but the un-decimated signal input to the decimator block. Whereas the waveform denoted Symbols (which on the other hand is true) is the decimated signal.

Not anything major, but I must say that I was a bit confused for a while when working with this.

Best regards,
Mikael Henriksson

Screenshot from 2022-07-07 15-37-50

Screenshot from 2022-07-07 15-37-43

Numerical Analysis

Hello, I think this is a great tool and have been using it with my RFSoC 4x2 board to monitor channel disturbances due to active circuit elements in antennas. However, I was wondering if there is a way to expand the capabilities to pull the data from the constellation plots and perform some sort of EVM or BER/SER calculations on them? I have been using the help functions but with little luck.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.