Jump to content

IES ml_uvm XMAXSTRSZ packer error


krb

Recommended Posts

Hello,

I am migrating my uvm1.0ea code to uvm1.1.

I use ml_uvm to communicate with sysc models.

Using uvm1.0ea (and the ml_uvm that came with it) worked just fine.

Now when I migrated by code to uvm1.1, I get this error:

UVM_FATAL @ 55: reporter [XMAXSTRSZ] Packed ML UVM/OVM transaction size exceeded maximal stream size

This is happening on the first transaction that is sent to sysc.

When I disable this transfer of transaction from SV to sysc, my uvm1.1 test envinormant works as intended, i.e, all sequences finish and test finishes as I would expect.

So to debug further, I started played around with the ml_uvm examples that are shipped with IES.

Mainly with sv_to_sc_demo.sh and sc_to_sv_demo.sh (in uvm-1.1/uvm_lib/uvm_ml/examples/ex_e_sv_sc_tlm)

I found that sc to sv (i.e sc acting as producer) has no limit on the packed data (I experimented with a bit vector upto 9000 bits).

On the other hand sv to sc (sv acting a producer) errors out far below 4096 (I assume packer also packs data types).

I tried searching for the string in XMAXSTRSZ in uvm-1.1 directory but no luck.

Do you have any suggestions ?

Thanks,

krb

Link to comment
Share on other sites

Hi,

The transaction size in ml-uvm is always limited for performance reasons. You can change the limit using UVM_PACK_MAX_SIZE as follows:

% irun -defineall UVM_PACK_MAX_SIZE=<value-in-bits>

The problem you experienced does not seem to be related directly with the UVM version change but there was a performance optimization introduced in IUS 10.2 update version which may require larger UVM_PACK_MAX_SIZE.

Please try to use this switch and see if it solves the problem.

Best Regards,

Gabi

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...