NAME

SystemC::Vregs::Enum - Definition object

SYNOPSIS

use SystemC::Vregs;

DESCRIPTION

This package contains a blessed hash object for each enumeration.

FIELDS

These fields may be specified with the new() function, and accessed via the self hash: $self->{field}.

bits

Number of bits wide the enumeration values are.

desc

Description comment for the object.

name

Name of the object.

pack

Reference to the package (SystemC::Vregs) object self is a member of.

fields

Hash containing SystemC::Vregs::Enum::Value objects. Each value object contains a name, desc, and rst field, just like the SystemC::Vregs::Define objects.

METHODS
new

Creates a new enumeration object.

check

Checks the object for errors, and parses to create derived Fields.

SEE ALSO

SystemC::Vregs

AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 215:

'=item' outside of any '=over'

Around line 260:

You forgot a '=back' before '=head1'