
SystemC::Vregs::Bit - Bit object

use SystemC::Vregs;

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

These fields may be specified with the new() function, and accessed via the self hash: $self->{field}.
RW/R/W/H/S access for the field, from the access column of the field definition.
The bits the field occupies, from the bit column in the field definition.
Description comment for the object.
Name of the object.
A string indicating what bitfields may be overlapped by this field. From parsing the description column of the field for "overlaps allowed" strings.
Reference to the package (SystemC::Vregs) object self is a member of.
Reset value from the reset column of the field definition.
Type of the field, from the type column of the field definition.

These fields are valid only after check() is called.
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.

Creates a new bit object.
Checks the object for errors, and parses to create derived Fields.

Vregs is part of the http://www.veripool.org/ free Verilog software tool suite. The latest version is available from CPAN and from http://www.veripool.org/vregs. /www.veripool.org/>.
Copyright 2001-2009 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.

Wilson Snyder <wsnyder@wsnyder.org>
