NAME
SystemC::Vregs::Output::CBitFields - Outputting Vregs Code
SYNOPSIS
SystemC::Vregs::Output::CBitFields->new->write(pack=>$VregsPackageObject, filename=>$fn);
DESCRIPTION
This package dumps C structures with bit fields. It is called by the Vregs package.
Note that the order of packing bits into integers is compiler-specific and thus unportable. You are better off using the C++ classes.
METHODS
- new()
-
Create and return a new output class.
- write
-
Creates a C header file with structs for class definitions.
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>