NAME

SystemC::Vregs::Output::Defines - Dump Vregs into Defines header format

SYNOPSIS

SystemC::Vregs::Output::Defines->new->write(pack=>$VregsPackageObject, filename=>$fn);

DESCRIPTION

This package dumps vregs format into a header file for various languages. It is called by the Vregs package.

METHODS

new()

Create and return a new output class.

$self->write(pack=>vregsPackage, filename=>filename)

Creates a C++, Verilog, or Perl header file with defines. The language parameter is used along with SystemC::Vregs::Language to produce the definitions in a language appropriate way.

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

vreg, SystemC::Vregs