In reply to cgales:
Yes, that’s it. I thought to define “RDW” as a parameter, but the problem is that I cannot change the value of a parameter with the function “uvm_config_db()”.
I also thought to define my scoreboard parametric, like this:
class my_scoreboard #(RDW = 8) extends uvm_scoreboard;
But now I am force to define as parametric the environment and the test also. And to call the test from the “test_top” do I need to do something similar to the following code?
initial begin
run_test("base_test(RDW)");
end
I don’t know what to do…