NAME

SystemC::Vregs::Bit - Bit object

SYNOPSIS

use SystemC::Vregs;

DESCRIPTION

This package contains a blessed hash object for each bit field in a SystemC::Vregs::Type.

FIELDS

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

access

RW/R/W access for the field, from the access column of the field definition.

bits

The bits the field occupies, from the bit column in the field definition.

desc

Description comment for the object.

name

Name of the object.

overlaps

A string indicating what bitfields may be overlapped by this field. From parsing the description column of the field for "overlaps allowed" strings.

pack

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

rst

Reset value from the reset column of the field definition.

type

Type of the field, from the type column of the field definition.

DERRIVED FIELDS

These fields are valid only after check() is called.

bitarray

A array, with one entry for each bit number (0..31). Each entry contains a hash with the bit field reference and status on that bit.

METHODS
new

Creates a new bit object.

check

Checks the object for errors, and parses to create derrived 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 378:

'=item' outside of any '=over'

Around line 447:

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