1Vregs::Enum(3)        User Contributed Perl Documentation       Vregs::Enum(3)
2
3
4

NAME

6       SystemC::Vregs::Enum - Definition object
7

SYNOPSIS

9           use SystemC::Vregs;
10

DESCRIPTION

12       This package contains a blessed hash object for each enumeration.
13

FIELDS

15       These fields may be specified with the new() function, and accessed via
16       the self hash: $self->{field}.
17
18       bits
19           Number of bits wide the enumeration values are.
20
21       desc
22           Description comment for the object.
23
24       name
25           Name of the object.
26
27       pack
28           Reference to the package (SystemC::Vregs) object self is a member
29           of.
30
31       fields
32           Hash containing SystemC::Vregs::Enum::Value objects.  Each value
33           object contains a name, desc, and rst field, just like the
34           SystemC::Vregs::Define objects.
35

METHODS

37       new Creates a new enumeration object.
38
39       check
40           Checks the object for errors, and parses to create derived Fields.
41

DISTRIBUTION

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

AUTHORS

53       Wilson Snyder <wsnyder@wsnyder.org>
54

SEE ALSO

56       SystemC::Vregs
57
58
59
60perl v5.32.1                      2021-01-27                    Vregs::Enum(3)
Impressum