Re: [USRP-users] UHD 4.0 RFNoC testbench throws fatal error with GUI xsim

2021-01-13 Thread Cédric Hannotier via USRP-users
Hi Wade, On 13/01/21 10:00, Wade Fife wrote: > On Wed, Jan 13, 2021 at 4:58 AM Cédric Hannotier via USRP-users < > usrp-users@lists.ettus.com> wrote: > > Is there a way to reconcile both modes (cli & GUI) without editing > > my testbench every time I need to switch between these two modes? > >

Re: [USRP-users] UHD 4.0 RFNoC testbench throws fatal error with GUI xsim

2021-01-13 Thread Wade Fife via USRP-users
Hi Cédric, You can probably just call $finish() instead of test.end_tb() to stop the simulation in both CLI and GUI modes. If you want the summary at the end, take a look at what end_tb() does in PkgTestExec.sv. Also, note that the test object isn't required. You can remove all the test calls

Re: [USRP-users] UHD 4.0 RFNoC testbench throws fatal error with GUI xsim

2021-01-13 Thread Cédric Hannotier via USRP-users
On 12/01/21 13:42, Jonathon Pendlum via USRP-users wrote: > Hi Cedric, Hi Jonathon, > "Fatal: The connected block has an incompatible backend interface". > > > Try adding a short delay, such as #1 or @posedge( at the start of the > testbench to get past this. Thanks for the workaround, it

Re: [USRP-users] UHD 4.0 RFNoC testbench throws fatal error with GUI xsim

2021-01-12 Thread Jonathon Pendlum via USRP-users
Hi Cedric, "Fatal: The connected block has an incompatible backend interface". Try adding a short delay, such as #1 or @posedge( at the start of the testbench to get past this. Jonathon On Tue, Jan 12, 2021 at 1:04 AM Cédric Hannotier wrote: > On 11/01/21 21:40, Jonathon Pendlum wrote: > >

Re: [USRP-users] UHD 4.0 RFNoC testbench throws fatal error with GUI xsim

2021-01-11 Thread Cédric Hannotier via USRP-users
On 11/01/21 21:40, Jonathon Pendlum wrote: > Hi Cedric, Hi Jonathon, > Does the issue go away if you comment out test.start_tb(...) and all > instances of test.start_test(...) and test.end_test() in the testbench? If I comment out test.{start,end}_tb, it fails with: "Fatal: The connected block

Re: [USRP-users] UHD 4.0 RFNoC testbench throws fatal error with GUI xsim

2021-01-11 Thread Jonathon Pendlum via USRP-users
Hi Cedric, Does the issue go away if you comment out test.start_tb(...) and all instances of test.start_test(...) and test.end_test() in the testbench? Jonathon On Thu, Jan 7, 2021, 12:49 Cédric Hannotier via USRP-users < usrp-users@lists.ettus.com> wrote: > Dear all, > > I have an issue with

[USRP-users] UHD 4.0 RFNoC testbench throws fatal error with GUI xsim

2021-01-07 Thread Cédric Hannotier via USRP-users
Dear all, I have an issue with a testbench for a custom RFNoC block. The testbench template is taken from host/example/rfnoc-example and generated with rfnoc_create_verilog.py, as stated in the wiki [1]. Running "make testbenches" completes without issue. However, running the testbench with GUI