NAME
sp_preproc - SystemPerl Preprocessor
SYNOPSIS
sp_preproc <file.sp>
DESCRIPTION
sp_preproc takes a .sp (systemperl) file and creates the SystemC header and C files.
It is generally only executed from the standard build scripts.
ARGUMENTS
- --help
-
Displays this message and program version and exits.
- --inline
-
Edit the existing source code "inline". Similar to the Verilog-mode AUTOs. Use --inline --noautos to remove the expanded automatics.
- --libcell
-
Files listed before --libcell will be preprocessed or inlined as appropriate. Files after noexpand will only be used for resolving references, they will not be linked, linted, or otherwise checked. --nolibcell can be used to re-enable checking of subsequent files.
- --preproc
-
Preprocess the code, writing to separate header and cpp files.
- --trace-duplicates
-
Include code to trace submodule signals connected directly to a parent signal, generally for debugging interconnect. Without this switch such signals will be presumed to have the value of their parent module's signal, speeding and compressing traces.
- --tree filename
-
Write a report showing the design hierarchy tree to the specified filename. This format may change, it should not be parsed by tools.
- --noautos
-
With --inline, remove any expanded automatics.
- --verbose
-
Shows which files are being written, or are the same.
- --write-verilog filename
-
Write the SystemC interconnections in Verilog format to the specified filename. Note this does not include logic, it only contains module ports and cells.
- -M
-
Makes the dependency listing (similar to cpp -M).
- -Dvar=value
-
Sets a define to the given value (similar to cpp -D).
- -f file
-
Parse parameters from the given file.
LANGUAGE
See SystemC::SystemPerl for the language specification.
DISTRIBUTION
The latest version is available from CPAN and from http://www.veripool.com/.
Copyright 2001-2005 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>