Discussion and technical support related to USRP, UHD, RFNoC
View all threadsHi,
I'm developing a RFNoC block, all the source files of user logic have been
placed in ../rfnoc/fpga/rfnoc_block_* folder, I also modified the
Makefile.srcs and listed all the needed files to synthesize the block. (The
Makefile.srsc attached below)
The "cmake ../" and "make testbench" commands have been done without
any problems.
But finally, I run "sudo make install" and the error appeared as below:
[image: image.png]
I think the errors come from my Makefile.srcs, but I tried to modify the
source file list into many formats but it still happens. I don't know why
the Makefile.srsc worked well in the testbench process but makes the error
here.
Could anyone help me with my problem?
Thank you!
Best regards,
Tuan
There is a regular expression in the RFNOC_REGISTER_BLOCK_DIR macro from
the main CMakeLists.txt that searches your Makefile.srcs in order to
identify your source files. The regex is "[a-z_]+\.v", which has multiple
problems, including that it doesn't account if you have commented out lines
in your Makefile.srcs and doesn't allow lots of normally allowable
filenames. Perhaps it doesn't even allow uppercase letters (depending on
if the regex evaluator is case insensitive) which might be the issue in
your case (note the error message for the missing file "ine_block.v" which
looks like it's missing it's first character).
Rob
On Wed, Feb 17, 2021 at 6:06 AM Tuan Hoang Dinh via USRP-users <
usrp-users@lists.ettus.com> wrote:
Hi,
I'm developing a RFNoC block, all the source files of user logic have been
placed in ../rfnoc/fpga/rfnoc_block_* folder, I also modified the
Makefile.srcs and listed all the needed files to synthesize the block. (The
Makefile.srsc attached below)
The "cmake ../" and "make testbench" commands have been done without
any problems.
But finally, I run "sudo make install" and the error appeared as below:
[image: image.png]
I think the errors come from my Makefile.srcs, but I tried to modify the
source file list into many formats but it still happens. I don't know why
the Makefile.srsc worked well in the testbench process but makes the error
here.
Could anyone help me with my problem?
Thank you!
Best regards,
Tuan
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Hi Rob,
Thank you for spending time help me with my problem.
Let me try to rename my files and "sudo make install" again, I will tell
you the result soon.
Best regards,
Tuan
Vào Th 4, 17 thg 2, 2021 vào lúc 23:49 Rob Kossler rkossler@nd.edu đã
viết:
There is a regular expression in the RFNOC_REGISTER_BLOCK_DIR macro from
the main CMakeLists.txt that searches your Makefile.srcs in order to
identify your source files. The regex is "[a-z_]+\.v", which has multiple
problems, including that it doesn't account if you have commented out lines
in your Makefile.srcs and doesn't allow lots of normally allowable
filenames. Perhaps it doesn't even allow uppercase letters (depending on
if the regex evaluator is case insensitive) which might be the issue in
your case (note the error message for the missing file "ine_block.v" which
looks like it's missing it's first character).
Rob
On Wed, Feb 17, 2021 at 6:06 AM Tuan Hoang Dinh via USRP-users <
usrp-users@lists.ettus.com> wrote:
Hi,
I'm developing a RFNoC block, all the source files of user logic have
been placed in ../rfnoc/fpga/rfnoc_block_* folder, I also modified the
Makefile.srcs and listed all the needed files to synthesize the block. (The
Makefile.srsc attached below)
The "cmake ../" and "make testbench" commands have been done without
any problems.
But finally, I run "sudo make install" and the error appeared as below:
[image: image.png]
I think the errors come from my Makefile.srcs, but I tried to modify the
source file list into many formats but it still happens. I don't know why
the Makefile.srsc worked well in the testbench process but makes the error
here.
Could anyone help me with my problem?
Thank you!
Best regards,
Tuan
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Hi Rob,
I changed the regex to
[a-z0-9A-Z_]+\.vhd|[a-z0-9A-Z_]+\.vh|[a-z0-9A-Z_]+\.v|[a-z0-9A-Z_]+\.xci
and it works well.
Thanks for your guide.
After building FPGA image successfully and using GNU Radio to test my new
RFNoC block, I'm suffering a new problem, if your are free, please help me
take a look here:
http://ettus.80997.x6.nabble.com/USRP-users-How-to-issue-start-stream-command-directly-to-DDC-Radio-block-using-GNU-Radio-td16611.html
Best regards,
Tuan
Vào Th 4, 17 thg 2, 2021 vào lúc 23:49 Rob Kossler rkossler@nd.edu đã
viết:
There is a regular expression in the RFNOC_REGISTER_BLOCK_DIR macro from
the main CMakeLists.txt that searches your Makefile.srcs in order to
identify your source files. The regex is "[a-z_]+\.v", which has multiple
problems, including that it doesn't account if you have commented out lines
in your Makefile.srcs and doesn't allow lots of normally allowable
filenames. Perhaps it doesn't even allow uppercase letters (depending on
if the regex evaluator is case insensitive) which might be the issue in
your case (note the error message for the missing file "ine_block.v" which
looks like it's missing it's first character).
Rob
On Wed, Feb 17, 2021 at 6:06 AM Tuan Hoang Dinh via USRP-users <
usrp-users@lists.ettus.com> wrote:
Hi,
I'm developing a RFNoC block, all the source files of user logic have
been placed in ../rfnoc/fpga/rfnoc_block_* folder, I also modified the
Makefile.srcs and listed all the needed files to synthesize the block. (The
Makefile.srsc attached below)
The "cmake ../" and "make testbench" commands have been done without
any problems.
But finally, I run "sudo make install" and the error appeared as below:
[image: image.png]
I think the errors come from my Makefile.srcs, but I tried to modify the
source file list into many formats but it still happens. I don't know why
the Makefile.srsc worked well in the testbench process but makes the error
here.
Could anyone help me with my problem?
Thank you!
Best regards,
Tuan
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com