The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SystemC::Vregs::Register - Register object

SYNOPSIS

    use SystemC::Vregs;

DESCRIPTION

This package contains a blessed hash object for each register definition.

FIELDS

These fields may be specified with the new() function, and accessed via the self hash: $self->{field}.

addrtext

Textual form of the address of the register.

spacing

Spacing of each register in a range, normally 4 bytes.

range

Entry range a ram covers, for example [7:0].

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.

addr

Address of the register.

addr_end

Ending address of the register.

METHODS

new

Creates a new register 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-2010 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