NAME
SystemC::Vregs::File - Output Vregs Code
SYNOPSIS
use SystemC::Vregs::File;
DESCRIPTION
This package contains an extension of the SystemC::Vregs::Language class, used for writing files.
METHODS
- open
-
Create a new file handle object. Named parameters include:
filename - passed to SystemC::Vregs::Language. verbose - print comment on opening of file on the screen. noheader - suppress Automatically Generated comments. And all parameters supported by SystemC::Vregs::Language.
- close
-
Print the closing comment and close the file.
- private_not_public
-
Unless previously printed, if true, print "private:" else print "public".
- fn
-
Print a function declaration in C or C++ format.
- call_str
-
Return a function call string in C or C++ format.
- print_tabify
-
Print the line with spaces that land on tab stops as tabs.
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>