NAME
SystemC::Vregs::Output::Info - Outputting Vregs _dump Code
SYNOPSIS
SystemC::Vregs::Output::Info->new->write_h(pack=>$VregsPackageObject, filename=>$fn); SystemC::Vregs::Output::Info->new->write_cpp(pack=>$VregsPackageObject, filename=>$fn);
DESCRIPTION
This package dumps vregs format into a file. It is called by the Vregs package.
METHODS
- new()
-
Create and return a new output class.
- write_h
-
Creates a header file for use with write_cpp.
- write_cpp
-
Creates a C++ file with information on each register. The information is then added to a map which may be used during runtime to decode register addresses into names.
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>