PDA

View Full Version : Simulation error using Questa



gFaurie
01-28-2008, 08:49 AM
Hy,

I am working on an IUS based SystemVerilog OVM verification environment. This environment is completely working with IUS using the OVM 1.0 libraries and I am currently trying to run the same environment using Questa 6.3d.
After some "little" adaptations, the compilation is now running well and I am facing an error when launching simulation:

# ** Error: (vsim-3978) /home/faurie/Methodology/ovm-1.0/src/base/ovm_registry.svh(29): Illegal assignment to String from class

This file is part of OVM package so I don't want to modify it, can you help me understand the error origin?

Regards,

Geoffrey

Andy
01-28-2008, 10:49 AM
Hi Geoffrey:

The ovm_component_registry create_component is calling the new function of your type T component.

Since that is a component, the new function should have 2 arguments: string name, and ovm_component parent (the line where the error is being reported is calling the new function in your component).

It would appear that isn't true. I have two guesses at a remedy: 1) if you are using an object instead of a component, then you would want to use ovm_object_registry, or 2) Have your component new() function arguments match.

-Andy

gFaurie
01-30-2008, 08:35 AM
Thanks Andy for your answer,

It has help me understanding the problem and defining the code parts involved (simulation is passing when this code is not included). Unfortunately, I cannot shared this SystemVerilog code. I have identified all the "create_component" calling into this code and all of them are referring components with a new function having the good arguments.
Do you have any idea of an other origin of the problem?
Or can you give me some more "tools"/"methods" (I am not an expert user of Questa) to collect more info into the log file for instance?

Regards,

Geoffrey