NAME
SystemC::Vregs::Type - Type object
SYNOPSIS
use SystemC::Vregs;
DESCRIPTION
This package contains a blessed hash object for each class and register definition.
FIELDS
These fields may be specified with the new() function, and accessed via the self hash: $self->{field}.
- inherits
-
String with whatever base classes this class should inherit from.
- fields
-
Hash with references to SystemC::Vregs::Bit objects, for the fields inside this class.
- name
-
Name of the object.
- pack
-
Reference to the package (SystemC::Vregs) object self is a member of.
DERIVED FIELDS
These fields are valid only after check() is called.
- inherits_typeref
-
Reference to a SystemC::Vregs::Type object for the base class of this object (if any.)
METHODS
- new
-
Creates a new type 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-2008 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 or the Perl Artistic License.
AUTHORS
Wilson Snyder <wsnyder@wsnyder.org>