fraFSL Posted August 17, 2012 Report Share Posted August 17, 2012 Hello, I'm starting to use UVM and I need some help. I would like to send to my DUT stimuli till I reach a certain coverage. This means that my sequence should be infinite in principle and the simulation should be ended by a monitor or scoreboard. I tried to define an infinite sequence by using a forever loop in the body: task body(); forever begin `uvm_do(req) end endtask : body but this seems not to work. Could someone help me? Thanks. Quote Link to comment Share on other sites More sharing options...
dave_59 Posted August 17, 2012 Report Share Posted August 17, 2012 What doesn't work? Quote Link to comment Share on other sites More sharing options...
fraFSL Posted August 20, 2012 Author Report Share Posted August 20, 2012 In testbench I've: initial #10000000000 global_stop_request(); But when I reach 1839991223ns, the simulator is stuck. I do not get any message on the console and the time is not increasing anymore. Quote Link to comment Share on other sites More sharing options...
fraFSL Posted August 20, 2012 Author Report Share Posted August 20, 2012 Ok I found. Problem was not in the sequence but in a monitor. A corner case was generated and the monitor was stuck in a while loop. 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.