usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

How can we develop two RFNOC block that there is a reg relation between them?

S
sp
Sun, Nov 6, 2022 7:05 PM

I am developing two RFNOC blocks, a gain block, and a multiplier block...
But I need there to be a reg relation between RFNOC blocks...
for example, a multiply_const is calculated in multiply rfnoc block and it
is used to block gain...
when I add the reg in rfnoc block and I define it as input and output
.......
I redefine rfnoc block in this file........x300_rfnoc_image_core.v
when I build again, x300_rfnoc_image_core.v will be deleted to the previous
state. How can solve this problem?

I ask this problem in this link but my problem is not solved yet...
https://lists.ettus.com/empathy/thread/R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO?hash=R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO#R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO

I am developing two RFNOC blocks, a gain block, and a multiplier block... But I need there to be a reg relation between RFNOC blocks... for example, a multiply_const is calculated in multiply rfnoc block and it is used to block gain... when I add the reg in rfnoc block and I define it as input and output ....... I redefine rfnoc block in this file........x300_rfnoc_image_core.v when I build again, x300_rfnoc_image_core.v will be deleted to the previous state. How can solve this problem? I ask this problem in this link but my problem is not solved yet... https://lists.ettus.com/empathy/thread/R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO?hash=R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO#R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO
WF
Wade Fife
Tue, Nov 8, 2022 3:49 PM

Gain and multiply are pretty simple operations. Perhaps you could put them
both in the same block? Then you would not need to share this register
between different blocks.

Wade

On Sun, Nov 6, 2022 at 1:06 PM sp stackprogramer@gmail.com wrote:

I am developing two RFNOC blocks, a gain block, and a multiplier block...
But I need there to be a reg relation between RFNOC blocks...
for example, a multiply_const is calculated in multiply rfnoc block and it
is used to block gain...
when I add the reg in rfnoc block and I define it as input and output
.......
I redefine rfnoc block in this file........x300_rfnoc_image_core.v
when I build again, x300_rfnoc_image_core.v will be deleted to the
previous state. How can solve this problem?

I ask this problem in this link but my problem is not solved yet...

https://lists.ettus.com/empathy/thread/R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO?hash=R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO#R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO


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

Gain and multiply are pretty simple operations. Perhaps you could put them both in the same block? Then you would not need to share this register between different blocks. Wade On Sun, Nov 6, 2022 at 1:06 PM sp <stackprogramer@gmail.com> wrote: > I am developing two RFNOC blocks, a gain block, and a multiplier block... > But I need there to be a reg relation between RFNOC blocks... > for example, a multiply_const is calculated in multiply rfnoc block and it > is used to block gain... > when I add the reg in rfnoc block and I define it as input and output > ....... > I redefine rfnoc block in this file........x300_rfnoc_image_core.v > when I build again, x300_rfnoc_image_core.v will be deleted to the > previous state. How can solve this problem? > > I ask this problem in this link but my problem is not solved yet... > > https://lists.ettus.com/empathy/thread/R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO?hash=R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO#R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >
S
sp
Tue, Nov 8, 2022 4:01 PM

Thanks for the tip! But I have a TX and RX with USRP. I used a gain block
for TX and a multiply block for RX.
When In Receiver or RX multiply result is more than a threshold...I want to
change the gain block in TX or Transmitter...
See the screenshot below, I need two blocks be separately ........

[image: image.png]

On Tue, Nov 8, 2022 at 3:49 PM Wade Fife wade.fife@ettus.com wrote:

Gain and multiply are pretty simple operations. Perhaps you could put them
both in the same block? Then you would not need to share this register
between different blocks.

Wade

On Sun, Nov 6, 2022 at 1:06 PM sp stackprogramer@gmail.com wrote:

I am developing two RFNOC blocks, a gain block, and a multiplier block...
But I need there to be a reg relation between RFNOC blocks...
for example, a multiply_const is calculated in multiply rfnoc block and
it is used to block gain...
when I add the reg in rfnoc block and I define it as input and output
.......
I redefine rfnoc block in this file........x300_rfnoc_image_core.v
when I build again, x300_rfnoc_image_core.v will be deleted to the
previous state. How can solve this problem?

I ask this problem in this link but my problem is not solved yet...

https://lists.ettus.com/empathy/thread/R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO?hash=R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO#R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO


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

Thanks for the tip! But I have a TX and RX with USRP. I used a gain block for TX and a multiply block for RX. When In Receiver or RX multiply result is more than a threshold...I want to change the gain block in TX or Transmitter... See the screenshot below, I need two blocks be separately ........ [image: image.png] On Tue, Nov 8, 2022 at 3:49 PM Wade Fife <wade.fife@ettus.com> wrote: > Gain and multiply are pretty simple operations. Perhaps you could put them > both in the same block? Then you would not need to share this register > between different blocks. > > Wade > > On Sun, Nov 6, 2022 at 1:06 PM sp <stackprogramer@gmail.com> wrote: > >> I am developing two RFNOC blocks, a gain block, and a multiplier block... >> But I need there to be a reg relation between RFNOC blocks... >> for example, a multiply_const is calculated in multiply rfnoc block and >> it is used to block gain... >> when I add the reg in rfnoc block and I define it as input and output >> ....... >> I redefine rfnoc block in this file........x300_rfnoc_image_core.v >> when I build again, x300_rfnoc_image_core.v will be deleted to the >> previous state. How can solve this problem? >> >> I ask this problem in this link but my problem is not solved yet... >> >> https://lists.ettus.com/empathy/thread/R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO?hash=R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO#R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO >> _______________________________________________ >> USRP-users mailing list -- usrp-users@lists.ettus.com >> To unsubscribe send an email to usrp-users-leave@lists.ettus.com >> >
S
sp
Mon, Nov 14, 2022 2:17 PM

Finally, I developed a reg shared between blocks. it works. Everything is
ok.
I used a guide from Paolo Palana. You can see in the below link. Thanks
very much

https://lists.ettus.com/empathy/thread/R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO?hash=R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO#R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO

On Tue, Nov 8, 2022 at 4:01 PM sp stackprogramer@gmail.com wrote:

Thanks for the tip! But I have a TX and RX with USRP. I used a gain block
for TX and a multiply block for RX.
When In Receiver or RX multiply result is more than a threshold...I want
to change the gain block in TX or Transmitter...
See the screenshot below, I need two blocks be separately ........

[image: image.png]

On Tue, Nov 8, 2022 at 3:49 PM Wade Fife wade.fife@ettus.com wrote:

Gain and multiply are pretty simple operations. Perhaps you could put
them both in the same block? Then you would not need to share this register
between different blocks.

Wade

On Sun, Nov 6, 2022 at 1:06 PM sp stackprogramer@gmail.com wrote:

I am developing two RFNOC blocks, a gain block, and a multiplier
block... But I need there to be a reg relation between RFNOC blocks...
for example, a multiply_const is calculated in multiply rfnoc block and
it is used to block gain...
when I add the reg in rfnoc block and I define it as input and output
.......
I redefine rfnoc block in this file........x300_rfnoc_image_core.v
when I build again, x300_rfnoc_image_core.v will be deleted to the
previous state. How can solve this problem?

I ask this problem in this link but my problem is not solved yet...

https://lists.ettus.com/empathy/thread/R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO?hash=R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO#R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO


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

Finally, I developed a reg shared between blocks. it works. Everything is ok. I used a guide from Paolo Palana. You can see in the below link. Thanks very much https://lists.ettus.com/empathy/thread/R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO?hash=R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO#R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO On Tue, Nov 8, 2022 at 4:01 PM sp <stackprogramer@gmail.com> wrote: > Thanks for the tip! But I have a TX and RX with USRP. I used a gain block > for TX and a multiply block for RX. > When In Receiver or RX multiply result is more than a threshold...I want > to change the gain block in TX or Transmitter... > See the screenshot below, I need two blocks be separately ........ > > [image: image.png] > > On Tue, Nov 8, 2022 at 3:49 PM Wade Fife <wade.fife@ettus.com> wrote: > >> Gain and multiply are pretty simple operations. Perhaps you could put >> them both in the same block? Then you would not need to share this register >> between different blocks. >> >> Wade >> >> On Sun, Nov 6, 2022 at 1:06 PM sp <stackprogramer@gmail.com> wrote: >> >>> I am developing two RFNOC blocks, a gain block, and a multiplier >>> block... But I need there to be a reg relation between RFNOC blocks... >>> for example, a multiply_const is calculated in multiply rfnoc block and >>> it is used to block gain... >>> when I add the reg in rfnoc block and I define it as input and output >>> ....... >>> I redefine rfnoc block in this file........x300_rfnoc_image_core.v >>> when I build again, x300_rfnoc_image_core.v will be deleted to the >>> previous state. How can solve this problem? >>> >>> I ask this problem in this link but my problem is not solved yet... >>> >>> https://lists.ettus.com/empathy/thread/R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO?hash=R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO#R7N27SR37EPZKMJLG7K6FR3FKBXOMBNO >>> _______________________________________________ >>> USRP-users mailing list -- usrp-users@lists.ettus.com >>> To unsubscribe send an email to usrp-users-leave@lists.ettus.com >>> >>