Jignesh Posted February 5, 2013 Report Share Posted February 5, 2013 Hi, I would like to use HEARTBEAT feature in UVM to terminate the simulation in case any one of the block in not active or become dead or idle. I am not clear how to use it from user guide. Please help me to understand it. If possible, please share one example of heartbeat. Quote Link to comment Share on other sites More sharing options...
uwes Posted February 5, 2013 Report Share Posted February 5, 2013 here are some examples (the developer tests) http://uvm.git.sourceforge.net/git/gitweb.cgi?p=uvm/uvm;a=tree;f=tests/35objections/91heartbeat;h=64f960b506d9d6fc3323fdf677c96e24f6f07739;hb=refs/heads/UVM_1_1_d basically the heartbeat raises an error if there is no "ping" from a set of objects(configurable) within a window. the window is defined by trigger events of an uvm_event used to configure the heartbeat. the set of objects is determined by the <hb>.add() calls. the notification of the "ping" (the "i-am-alive-message") is done via a uvm_callbacks_objection and raise/drop. Quote Link to comment Share on other sites More sharing options...
sri.cvcblr Posted February 10, 2013 Report Share Posted February 10, 2013 Jignesh, In case the "block" you are referring to RTL/Verilog blocks - I strongly suggest you use SVA sequence/property to do the same as it makes life lot easier. Srini www.cvcblr.com/blog 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.