George_Ananth Posted October 13, 2012 Report Share Posted October 13, 2012 Hi.. I'm new to UVM methodology.. I'm using modelsim 10.0b.. could you please help me how to run the same UVM test project with this... I'm getting following error.. # ** Error: ../uvm_phases/agent.sv(10): near "uvm_agent": syntax error, unexpected IDENTIFIER I've been used the following keywords, file name: runtest.txt: vlib work vmap work work qverilog ../uvm_phases/agent.sv qverilog ../uvm_phases/driver.sv qverilog ../uvm_phases/env.v qverilog ../uvm_phases/monitor.sv qverilog ../uvm_phases/test.sv qverilog ../uvm_phases/top.sv vsim -t ns -coverage top view structure run -all .... in the transcript : i used, source runtest.txt Kindly advice me.. Quote Link to comment Share on other sites More sharing options...
getvictor Posted January 6, 2014 Report Share Posted January 6, 2014 George, We need to see more of the code to help you. Can you put up a snippet on EDA Playground? For reference, here is a simple ModelSim UVM testbench Quote Link to comment Share on other sites More sharing options...
dave_59 Posted January 6, 2014 Report Share Posted January 6, 2014 Most likely you need to compile your files into the same package. When you compile them separately outside of a package, they are not visible to each compilation step. See http://go.mentor.com/package-import-versus-include and maybe http://go.mentor.com/unit-vs-root 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.