On Mon, Jul 22, 2019 at 5:12 PM Brian Padalino <bpadal...@gmail.com> wrote:

> You just need to write_reg() and use an address of SR_AXI_CONFIG for
> everything other than the last value, and use SR_AXI_CONFIG_TLAST for the
> last one.
>
> That should push the valid high on the config line for each write you do,
> and then on the last write both valid and tlast will be held.
>

Sorry, looking at my testbench I should have been more clear.

I defined AXI_WRAPPER_BASE to 128.
I defined SR_AXI_CONFIG as AXI_WRAPPER_BASE + 1.
I defined SR_AXI_CONFIG_TLAST as SR_AXI_CONFIG + 1.

In axi_wrapper, I instantiate:

  SR_AXI_CONFIG and assign it SR_AXI_CONFIG, and I also put
NUM_AXI_CONFIG_BUS to 1.

Sorry for not being complete in my previous email.

Good luck.

Brian
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to