Discussion and technical support related to USRP, UHD, RFNoC
View all threadsI want to use sine ton verilog file in my rfnoc block file, How Can add
sine tone file and ... to my rfnoc block
how can solve my problems? my Verilog file are in this
path uhd-4.1.0.5/fpga/usrp3/lib/rfnoc
Thanks in advance
RROR: [VRFC 10-2063] Module <sine_tone> not found while processing module
instance <sine_tone_i>
[/home/sp/rfnoc-test/rfnoc/fpga/rfnoc_block_gain/correlate.v:132]
ERROR: [VRFC 10-2063] Module <rng> not found while processing module
instance <rng_i>
[/home/sp/rfnoc-test/rfnoc/fpga/rfnoc_block_gain/correlate.v:164]
#-------------------------------------------------
#-------------------------------------------------
ifndef UHD_FPGA_DIR
$(error "UHD_FPGA_DIR is not set! Must point to UHD FPGA repository!")
endif
BASE_DIR = $(UHD_FPGA_DIR)/usrp3/top
include $(BASE_DIR)/../tools/make/viv_sim_preamble.mak
#-------------------------------------------------
#-------------------------------------------------
include $(BASE_DIR)/../lib/rfnoc/core/Makefile.srcs
include $(BASE_DIR)/../lib/rfnoc/utils/Makefile.srcs
include Makefile.srcs
DESIGN_SRCS += $(abspath $(RFNOC_CORE_SRCS) $(RFNOC_UTIL_SRCS)
$(RFNOC_OOT_SRCS) )
#-------------------------------------------------
#-------------------------------------------------
SIM_TOP = rfnoc_block_gain_tb
SIM_SRCS = $(abspath rfnoc_block_gain_tb.sv)
#-------------------------------------------------
#-------------------------------------------------
include $(BASE_DIR)/../tools/make/viv_simulator.mak
Greetings,
I find the easiest way to include components to be by mimicing the rfnoc-example found under the uhd/host/examples/rfnoc-example.
I would recommend you to wrap your ip into a module, instantiate that module wherever you please and create your makefile.inc (use the file as follows as a template) like in here, and add references to the building tool file (such as cmakelist.txt) whatever you are building the project with.
Regards,
Eden.
But sine_tone module is not ip core there is some build-in define module
that defines in lib folder USRP in this path
uhd-4.1.0.5/fpga/usrp3/lib/rfnoc
sine_tone is used in rfnoc_block_siggen block but for my custom block I
faced with
RROR: [VRFC 10-2063] Module <sine_tone> not found while processing module
instance <sine_tone_i> [/home/sp/rfnoc-test/rfnoc
/fpga/rfnoc_block_gain/correlate.v:132]
ERROR: [VRFC 10-2063] Module <rng> not found while processing module
instance <rng_i> [/home/sp/rfnoc-test/rfnoc
/fpga/rfnoc_block_gain/correlate.v:164]
How am I adding non-ip core to my custom module..... I added a make
file and make srcs files. For the building, I had not problem But
with the simulation I have errors .....
thanks in advance
On Sat, Aug 12, 2023 at 2:29 PM edenmclaughlin123@gmail.com wrote:
Greetings,
I find the easiest way to include components to be by mimicing the
rfnoc-example found under the uhd/host/examples/rfnoc-example.
I would recommend you to wrap your ip into a module
https://youtu.be/uhEsG4i9dvc, instantiate that module wherever you
please and create your makefile.inc (use the file as follows as a template)
like in here
https://github.com/EttusResearch/uhd/blob/master/host/examples/rfnoc-example/fpga/ip/cmplx_mul/cmplx_mul.xci,
and add references to the building tool file (such as cmakelist.txt)
whatever you are building the project with.
Regards,
Eden.
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
Hi,
can you please provide elaborate explanation about and information on trivial steps to reproduce the problem?
Eden.