rakeshanigundi Posted June 21, 2012 Report Share Posted June 21, 2012 (edited) Hello, I am a new user to UVM who is trying to convert Vera Test Bench to UVM. I have a simple SV interface as interface core_if ( input core_client_clk , input core_config_clk); bit core_client_reset; bit core_config_reset; . . . . In my top_tb.sv file I am trying to register this interface (to be used in my tb_env) core_if core_intf ( .core_client_clk (core_client_clk), .core_config_clk (core_config_clk) ); uvm_config_db#(virtual vmidmt_if)::set(null, "*core_if", "core_if", core_intf) ; But I get compile error when using the "uvm_config_db" as described above Importing package quvm_addons_pkg ** Error: ../top_tb.sv(94): near "(": syntax error, unexpected '(', expecting "::" PLease advise, I tried to cross check my usage of uvm_config_db.. but could not figure out what I am doing wrong Edited June 21, 2012 by rakeshanigundi Quote Link to comment Share on other sites More sharing options...
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.