Download CoCentric SystemC Compiler RTL User and Modeling Guide

Transcript
The commands used in this chapter show the typical options you
use. For a full description of a command and all its options, see the
Synopsys online man pages. How to access and use man pages is
described in Appendix A in the CoCentric SystemC Compiler
Behavioral User Guide.
Starting SystemC Compiler
SystemC Compiler is integrated into Design Compiler. Enter the
SystemC Compiler commands at the dc_shell prompt or use the
include command to run a script that contains the commands. To
start dc_shell, enter the following at a UNIX prompt:
unix% dc_shell
If this is the first time you are using SystemC Compiler, see Appendix
A in the CoCentric SystemC Compiler Behavioral User Guide for
information about setting up your environment, entering commands,
and using scripts.
Analyzing and Elaborating a SystemC RTL Module
Use the compile_systemc command to read your SystemC
source code and check it for compliance with synthesis policy, C++
syntax, and C++ semantics. If there are no errors, it produces an
internal database (.db) ready for synthesis. This process is called
analysis and elaboration.
The compile_systemc command, and the other SystemC
Compiler commands, respond with a 1 if no errors were encountered
or a 0 if an error was encountered. It also displays explanatory
messages for errors and warnings.
Synthesizing a Single RTL Module
1-11