24.03.2013 Views

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

UM-392 15 - Functional coverage with PSL <strong>and</strong> <strong>ModelSim</strong><br />

Sample report output<br />

<strong>ModelSim</strong> <strong>SE</strong> User’s <strong>Manual</strong><br />

The following is an example of the st<strong>and</strong>ard report file output:<br />

---------------------------------------------------------------------<br />

Name Design Design File(Line) Count Status<br />

Unit UnitType<br />

---------------------------------------------------------------------<br />

/alpha/cover__0 alpha Verilog test.v(48) 6 Covered<br />

/alpha/cover__1 alpha Verilog test.v(49) 6 Covered<br />

DESIGN UNIT: alpha COVERAGE: 100.0% COVERS: 2<br />

/alpha/inst1/cover__0 beta Verilog test.v(66) 6 Covered<br />

/alpha/inst1/cover__1 beta Verilog test.v(67) 6 Covered<br />

/alpha/inst2/cover__0 beta Verilog test.v(66) 6 Covered<br />

/alpha/inst2/cover__1 beta Verilog test.v(67) 6 Covered<br />

DESIGN UNIT: beta COVERAGE: 100.0% COVERS: 4<br />

/alpha/inst1/instA/cover__0 gamma Verilog test.v(82) 6 Covered<br />

/alpha/inst1/instA/cover__1 gamma Verilog test.v(83) 6 Covered<br />

/alpha/inst1/instA/cover__2 gamma Verilog test.v(86) 0 ZERO<br />

/alpha/inst1/instA/cover__3 gamma Verilog test.v(87) 0 ZERO<br />

/alpha/inst1/instB/cover__0 gamma Verilog test.v(82) 6 Covered<br />

/alpha/inst1/instB/cover__1 gamma Verilog test.v(83) 6 Covered<br />

/alpha/inst1/instB/cover__2 gamma Verilog test.v(86) 0 ZERO<br />

/alpha/inst1/instB/cover__3 gamma Verilog test.v(87) 0 ZERO<br />

/alpha/inst1/instC/cover__0 gamma Verilog test.v(82) 0 ZERO<br />

/alpha/inst1/instC/cover__1 gamma Verilog test.v(83) 0 ZERO<br />

/alpha/inst1/instC/cover__2 gamma Verilog test.v(86) 0 ZERO<br />

/alpha/inst1/instC/cover__3 gamma Verilog test.v(87) 0 ZERO<br />

/alpha/inst2/instA/cover__0 gamma Verilog test.v(82) 6 Covered<br />

/alpha/inst2/instA/cover__1 gamma Verilog test.v(83) 6 Covered<br />

/alpha/inst2/instA/cover__2 gamma Verilog test.v(86) 0 ZERO<br />

/alpha/inst2/instA/cover__3 gamma Verilog test.v(87) 0 ZERO<br />

/alpha/inst2/instB/cover__0 gamma Verilog test.v(82) 6 Covered<br />

/alpha/inst2/instB/cover__1 gamma Verilog test.v(83) 6 Covered<br />

/alpha/inst2/instB/cover__2 gamma Verilog test.v(86) 0 ZERO<br />

/alpha/inst2/instB/cover__3 gamma Verilog test.v(87) 0 ZERO<br />

/alpha/inst2/instC/cover__0 gamma Verilog test.v(82) 0 ZERO<br />

/alpha/inst2/instC/cover__1 gamma Verilog test.v(83) 0 ZERO<br />

/alpha/inst2/instC/cover__2 gamma Verilog test.v(86) 0 ZERO<br />

/alpha/inst2/instC/cover__3 gamma Verilog test.v(87) 0 ZERO<br />

DESIGN UNIT: gamma COVERAGE: 33.3% COVERS: 24<br />

TOTAL COVERAGE: 46.7% COVERS: 30<br />

Formatting output in XML<br />

If you select Use XML Format in the Functional Coverage Report dialog, <strong>ModelSim</strong><br />

marks-up the output with XML tags. The table below describes the XML tags:<br />

Tag Meaning<br />

denotes the entire report<br />

denotes a design unit<br />

denotes aggregate coverage as a percentage, for design unit <strong>and</strong> design<br />

(if aggregated coverage is selected in the report)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!