NVC code coverage report

Back to summary

Coverage report for file:

File:  ../../Sources/A10_compute_k.vhd

Current File:

File Statement Branch Toggle Expression FSM state Functional Average
A10_compute_k.vhd 100.0 % (11/11) 100.0 % (2/2) N.A. N.A. N.A. N.A. 100.0 % (13/13)

Details:

Statement Branch Toggle Expression FSM state Functional

Uncovered statements:

Excluded statements:

Covered statements:

Variable assignment statement on line 50:

50:    vAq := resize(iAq, W); 
Count: 180653
Threshold: 1

Variable assignment statement on line 51:

51:    vNq := resize(iNq, W); 
Count: 180653
Threshold: 1

Loop statement on lines 54 to 62:

54:    for k in 0 to MAX_K loop 
55: 
...
61: 
62:    end loop; 

Count: 180653
Threshold: 1

If statement on lines 56 to 60:

56:      if (shift_left(vNq, k) >= vAq) then 
57:        vMatch(k) := '1'; 
58:      else 
59:        vMatch(k) := '0'; 
60:      end if; 

Count: 2711723
Threshold: 1

Variable assignment statement on line 57:

57:        vMatch(k) := '1'; 
Count: 1456966
Threshold: 1

Variable assignment statement on line 59:

59:        vMatch(k) := '0'; 
Count: 1254757
Threshold: 1

Variable assignment statement on line 66:

66:    vK := to_unsigned(MAX_K + 1, vK'length); 
Count: 180653
Threshold: 1

Loop statement on lines 68 to 74:

68:    for k in MAX_K downto 0 loop 
69: 
...
73: 
74:    end loop; 

Count: 180653
Threshold: 1

If statement on lines 70 to 72:

70:      if (vMatch(k) = '1') then 
71:        vK := to_unsigned(k, vK'length); 
72:      end if; 

Count: 2711723
Threshold: 1

Variable assignment statement on line 71:

71:        vK := to_unsigned(k, vK'length); 
Count: 1456966
Threshold: 1

Signal assignment statement on line 76:

76:    oK <= vK; 
Count: 180653
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

"if" / "when" / "else" condition on line 56:

56:      if (shift_left(vNq, k) >= vAq) then 
Evaluated toCountThreshold
BinTrue14569661

"if" / "when" / "else" condition on line 70:

70:      if (vMatch(k) = '1') then 
Evaluated toCountThreshold
BinTrue14569661

Uncovered toggles:

Excluded toggles:

Covered toggles:

Uncovered expressions:

Excluded expressions:

Covered expressions:

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: