usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

How can I add more Register like user register in a RFNOC block?

S
sp
Mon, Aug 22, 2022 7:31 AM

I am developing some RFNOC blocks, When I use rfnocmodtool in the terminal
to create a new block?
Default in the block that is generated there is a User Register? my
question is how can create 3 custom registers with the command rfnocmodtool?
How can do this work automatically? is it possible? and what's
the limitation of number (of registers) that we can use in RFNOC blocks?

Thanks in advance

rfnocmodtool add gain

[image: Screenshot from 2022-08-22 11-56-22.png]

I am developing some RFNOC blocks, When I use rfnocmodtool in the terminal to create a new block? Default in the block that is generated there is a User Register? my question is how can create 3 custom registers with the command rfnocmodtool? How can do this work automatically? is it possible? and what's the limitation of number (of registers) that we can use in RFNOC blocks? Thanks in advance rfnocmodtool add gain > > [image: Screenshot from 2022-08-22 11-56-22.png]
WF
Wade Fife
Tue, Aug 23, 2022 2:45 PM

Hi sp,

I don't think the modtool supports adding a customer number of registers.
The generated templates include a user register as an example. You can add
your own registers by adding them to the generated code following the
example of the user register. The RFNoC blocks in UHD also have lots of
examples of registers.

RFNoC doesn't really have a limit for the number of registers. The address
bus is 20 bits, so in practice you'll probably run out of space on the FPGA
before you hit the address space limit, and there are ways around address
space limits.

Wade

On Mon, Aug 22, 2022 at 2:39 AM sp stackprogramer@gmail.com wrote:

I am developing some RFNOC blocks, When I use rfnocmodtool in the terminal
to create a new block?
Default in the block that is generated there is a User Register? my
question is how can create 3 custom registers with the command rfnocmodtool?
How can do this work automatically? is it possible? and what's
the limitation of number (of registers) that we can use in RFNOC blocks?

Thanks in advance

rfnocmodtool add gain

[image: Screenshot from 2022-08-22 11-56-22.png]


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

Hi sp, I don't think the modtool supports adding a customer number of registers. The generated templates include a user register as an example. You can add your own registers by adding them to the generated code following the example of the user register. The RFNoC blocks in UHD also have lots of examples of registers. RFNoC doesn't really have a limit for the number of registers. The address bus is 20 bits, so in practice you'll probably run out of space on the FPGA before you hit the address space limit, and there are ways around address space limits. Wade On Mon, Aug 22, 2022 at 2:39 AM sp <stackprogramer@gmail.com> wrote: > I am developing some RFNOC blocks, When I use rfnocmodtool in the terminal > to create a new block? > Default in the block that is generated there is a User Register? my > question is how can create 3 custom registers with the command rfnocmodtool? > How can do this work automatically? is it possible? and what's > the limitation of number (of registers) that we can use in RFNOC blocks? > > Thanks in advance > > rfnocmodtool add gain >> >> > [image: Screenshot from 2022-08-22 11-56-22.png] > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >