Jump to content

Recommended Posts

Is there any known issue with tlm::tlm_analysis_fifo? I get the following usage error:

tlm_analysis_fifo.h:43:11: error: 'nb_put' was not declared in this scope, and no declarations were found by argument-depe
      nb_put( t );

It suggests that it may need to be this->nb_put( t ).

CLearly, I can work around this by simply using the tlm_fifo directky, with negative size to mimick infinite depth, and then use nb_put directly or create my own write function around this call.

I'm suspicious of an issue here since also in the UVM-SC library the one intended usage of tlm_analysis_fifo in uvm_sequencer_param_base.h (line 55) is commented as a TODO item.

Can anyone pls advise.

Thanks - Hans

Link to comment
Share on other sites

I have since found the following link:

https://github.com/tymonx/logic/blob/master/doc/environment-setup-linux.md

suggesting that this is a known issue (scroll down to the section on SystemC).

Could anyone confirm this, and possibly indicate whether there is a resolution planned for this.

Frankly, I am/was somewhat surprised to encounter this issue. I certainly thought that tlm_analysis_fifo was very much an established element of the TLM communication arsenal in SystemC.

Hans

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.

 Share

×
×
  • Create New...