View Full Version : Scoreboards
Fred Connors
03-06-2008, 12:45 PM
Hi all;
I have seen examples of how one should write transaction and enviroments in OVM but nothing on Scoreboarding and Monitors.
Anyone have an example or can point me to one it would be greatly
appreciated.
Fred
dave_59
03-06-2008, 02:56 PM
Fred,
The examples in the AVM cookbook (http://www.mentor.com/go/cookbook) for writing monitors and scoreboards are still relevant for the writing these as OVM components. The OVM introduces new mechanisms for configuring and constructing components in general, but the basic functionality of what a monitor or scoreboard does is independent of AVM/OVM.
Dave
Dave
Hi ,
We are having an issue compiling the scoreboard. What we have is a
class my_scoreboard extends ovm_scoreboard;
ovm_blocking_put_export #(transaction) before_transaction;
ovm_blocking_put_export #(transaction) after_transaction;
function new(string name, ovm_component parent);
super.new(name, parent);
before_transaction = new ("before_transaction", this);
after_transaction = new ("before_transaction", this);
endfunction // new
ovm_in_order_comparator cmp[48];
task run;
....
endtask // run
When compiling this we get the error "ncvlog: *E,SVNOTY Syntactically this identifier appears to begin a datatype but it does not refer to a visible datatype in the current scope" and
ncvlog: *E,NOIPRT Unrecognized declaration 'ovm_in_order_comparator' could be a spelling mistake [SystemVerilog].
WE tried including `include "ovm_in_order_comparator.svh", but in vain.
Can we have an array of comparators … some thing like ovm_in_order_comparator cmp_0[48] – Need 48 comparators…
Can anybody suggest whats the best approach?
Powered by vBulletin™ Version 4.0.3 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.