Hans van der Schoot Posted January 11 Report Share Posted January 11 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 Quote Link to comment Share on other sites More sharing options...
Hans van der Schoot Posted January 12 Author Report Share Posted January 12 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 Quote Link to comment Share on other sites More sharing options...
karthickg Posted January 12 Report Share Posted January 12 Can you provide an example to reproduce the error? Also, what SystemC and GCC version are you using? Quote Link to comment Share on other sites More sharing options...
maehne Posted January 13 Report Share Posted January 13 Thanks for reporting the issue! I forwarded it to the SystemC LWG. If you could provide a small reproducer of the issue, it would help us to reproduce and test the suggested fix. FYI, you can also create issue on the public SystemC repository. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.