ModelSim SE 6.1f : code coverage database merge problem

N

Nicolas Matringe

Hello
I am using ModelSim to measure code coverage and have problem when
merging individual simulation results into a single database using the
vcover merge command. I use it as shown in the manual (*):
vcover merge coverage_results ucdb/*.ucdb
where ucdb files are individual results and coverage_results is the
output file. I invariably get the message "File '*.ucdb' is
unreadable". why can't I use a wildcard ?

Nicolas

(*) these two lines are copied from the command reference :
vcover merge myresult2 /dut/*.cov
Uses wildcards to merge all files with a .cov extension in a particular
directory.
 
H

Hubble

Nicolas said:
Hello
I am using ModelSim to measure code coverage and have problem when
merging individual simulation results into a single database using the
vcover merge command. I use it as shown in the manual (*):
vcover merge coverage_results ucdb/*.ucdb
where ucdb files are individual results and coverage_results is the
output file. I invariably get the message "File '*.ucdb' is
unreadable". why can't I use a wildcard ?

Nicolas

You should use the TCL glob command. Try

eval vcover merge coverage_results [glob ucdb/*.ucdb]

(Wildcards do not work inside the GUI when TCL is active).

Hubble.
 
N

Nicolas Matringe

Hubble a écrit :
Nicolas Matringe schrieb:
vcover merge coverage_results ucdb/*.ucdb
where ucdb files are individual results and coverage_results is the
output file. I invariably get the message "File '*.ucdb' is
unreadable". why can't I use a wildcard ?

Nicolas

You should use the TCL glob command. Try

eval vcover merge coverage_results [glob ucdb/*.ucdb]

(Wildcards do not work inside the GUI when TCL is active).

But I use in in command line mode (DOS window under Win XP). Should I
use the -c switch ? (I am not even sure it is valid for vcover merge)

Nicolas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top