SystemC::Vregs::Bit.3pm

Langue: en

Autres versions - même langue

Version: 2009-05-19 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

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/H/S 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.

DERIVED 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 derived Fields.

DISTRIBUTION

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.

AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>

SEE ALSO

SystemC::Vregs