Forum Discussion
Questasim UVM macros
Hi ,
I am trying to compile and run simulation in Questasim , using uvm libraries and uvm packages.
But i am getting error that include files not defined , although these uvm files are installed in verilog_src folder at Questasim installed path.
See screen shots and sv files attached.
Any tip or guide how to direct compiler to pick the installed uvm files.
Thanks,
Regards,
# three files are :
package file :
////////////////////////
`include "uvm_macros.svh"
`include "uvm_pkg.sv"
package uvm_sim_pk;
import uvm_pkg::*;
class my_transaction extends uvm_sequence_item;
`uvm_object_utils(my_transaction)
rand int addr;
rand int data;
rand bit r0w1;
function new (string name = "");
// Without a string name the transaction would be anonymous
super.new(name);
endfunction: new
constraint c_addr { addr >= 0; addr < 256; }
constraint c_data { data >= 0; data < 256; }
endclass: my_transaction
21 Replies
- Fpga_Egr_2025
Occasional Contributor
Hi ,
I am not at all satisfied with the solutions provided to make intel Questasim work properly and compile uvm libraries using the do files or the svh files . I am switching to EDA playground for now to run my simulations.
Thanks for trying and helping me.
Regards
- RichardT_altera
Super Contributor
I am sorry to hear that. If at any point you need help, do let us know by filing a new forum case.
Regards,
Richard Tan