SystemC::Vregs::Output::CBitFields.3pm

Langue: en

Autres versions - même langue

Version: 2009-05-19 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

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-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