line |
true |
false |
branch |
30
|
0 |
2 |
unless $$self{'pack'} |
38
|
0 |
0 |
if ($$self{'pack'}) |
52
|
0 |
27 |
if defined $$self{'attributes'}{$attr} |
53
|
0 |
27 |
if defined $$self{'pack'}{'attributes'}{$attr} |
62
|
0 |
4 |
if ($self->attribute_value('allowlc')) { } |
63
|
0 |
0 |
unless ($field =~ /^[a-zA-Z][a-zA-Z0-9_]*$/) |
67
|
0 |
4 |
unless ($field =~ /^[A-Z][a-zA-Z0-9_]*$/) |
74
|
0 |
4 |
if ($lang) |
86
|
0 |
4 |
unless $$self{'bits'} |
94
|
0 |
0 |
if $fieldref->remove_if_mismatch($test_cb) |
97
|
0 |
0 |
if (&$test_cb($self) or $rm and $rm == $cnt) |
104
|
0 |
76 |
unless $$a{'rst_val'} <=> $$b{'rst_val'} |
112
|
0 |
0 |
if ($fields[0]) { } |
146
|
0 |
15 |
unless $$self{'class'} |
154
|
0 |
0 |
if ($$self{'class'}) |
163
|
0 |
0 |
if $value |
170
|
0 |
0 |
if defined $$self{'attributes'}{$attr} |
184
|
0 |
23 |
unless ($bits) |
187
|
0 |
23 |
unless (defined $val) |
190
|
0 |
23 |
if (defined $$self{'class'}{'bits'} and $$self{'class'}{'bits'} != $bits) |
197
|
0 |
23 |
if ($bits and $bits < 32 and ($$self{'rst_val'} || 0) >= 1 << $bits) |
208
|
0 |
23 |
if ($class->attribute_value('allowlc')) { } |
209
|
0 |
0 |
if (not $field =~ /^[a-zA-Z][a-zA-Z0-9_]*$/) |
213
|
0 |
23 |
if (not $field =~ /^[A-Z][A-Z0-9_]*$/) |
221
|
2 |
21 |
if ($$self{'desc'} =~ /^(.*)ENUM:(\S+)(.*)/) |
223
|
0 |
2 |
if $SystemC::Vregs::Debug |
225
|
0 |
2 |
if (not $suberef) { } |
231
|
0 |
8 |
if $SystemC::Vregs::Debug |
256
|
0 |
23 |
unless $$self{'desc'} |
262
|
0 |
0 |
if (&$test_cb($self)) |