NAME
SystemC::Vregs::Define - Definition object
SYNOPSIS
use SystemC::Vregs;
DESCRIPTION
This package contains a blessed hash object for each definition.
FIELDS
These fields may be specified with the new() function, and accessed via the self hash: $self->{field}.
- bits
-
Number of bits in the define. If not specified, it is assumed to be a unsized object that is less than 32 bits.
- desc
-
Description comment for the object.
- name
-
Name of the object.
- pack
-
Reference to the package (SystemC::Vregs) object self is a member of.
- rst
-
Reset value for the object.
DERIVED FIELDS
These fields are valid only after check() is called.
- rst
-
The reset value, expressed as a text string.
- rst_val
-
The reset value, expressed as a hex string.
METHODS
- new
-
Creates a new definition object.
- new_push
-
Creates a new definition object, at the head of the list of definitions.
- 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>