Vregs::Output::CBitFieUser3Contributed Perl DocumeVregs::Output::CBitFields(3)NAMESystemC::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.
METHODSnew()
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-2009 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
perl v5.14.1 2009-05-19 Vregs::Output::CBitFields(3)