
SystemC::Vregs::Enum - Definition object

use SystemC::Vregs;

This package contains a blessed hash object for each enumeration.

These fields may be specified with the new() function, and accessed via the self hash: $self->{field}.
Number of bits wide the enumeration values are.
Description comment for the object.
Name of the object.
Reference to the package (SystemC::Vregs) object self is a member of.
Hash containing SystemC::Vregs::Enum::Value objects. Each value object contains a name, desc, and rst field, just like the SystemC::Vregs::Define objects.

Creates a new enumeration 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>
