-
Notifications
You must be signed in to change notification settings - Fork 678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python and RFNOC: Atomic item size with FFT blocks #634
Comments
Interestingly this version of the code commits the graph successfully.
The main differences are:
Also: does the order in which I declare/connect blocks matter? I just noticed that changing the spp above 256 makes the script throw the original error. Does this rings a bell to anyone? Thanks, |
Hey @LorenzoMinutolo, we are aware of this issue. In fact, we had already fixed it in f163af4, but we had to revert it in 036f7a3 because it broke some streaming tests. It's on our backlog to put the fix in again. |
Hi @mbr0wn, we are facing the same issue with AIS and SPP. I am using the C++-based UHD RFNoC library on UHD 4.5. This issue forces my SPP to be 4x my FFT size since each sample is 4 bytes in sc16. I use USRP X310, MTU 9000, and a 10G link. The largest FFT size I can do is also 256, where the desired values are 1024/2048/4096. Do you have any updates on this issue? Thank you. |
This issue was resolved with e89efc3. It is curently available on |
Issue Description
After adding the FFT block to a RFNOC design and successfully compiling the firmware, I cannot commit the graph due to an error generated on graph.commit() in my Python script. Specifically the error is:
RuntimeError: ValueError: samples per package must not be smaller than atomic item size
Which should stem from a mismatch in the samples per packet setup. I do take care of this aspect by setting the spp at the beginning and configuring each block with the same value.
Setup Details
[INFO] [UHD] linux; GNU C++ version 11.2.0; Boost_107400; UHD_4.2.0.1-0-g321295fb, Python 3.10
The USRP I am using is a x300 with a WBX daughterboard connected via a single 10Gbe. The NIC is an Intel X710.
Expected Behavior
The script should commit the graph without issues. Or at least tell me which block is causing the problem.
Actual Behaviour
RuntimeError: ValueError: samples per package must not be smaller than atomic item size
Steps to reproduce the problem
Compile a firmware with the FFT block. The usrp_probe returns:
Run the following code:
The text was updated successfully, but these errors were encountered: