Starting Design Compiler The dc_shell command starts the dc_shell interface. To start dcsh mode at the operating system prompt, enter % dc_shell To start Tcl mode at the operating system prompt, enter % dc_shell -tcl_mode The syntax for the dc_shell command is dc_shell [-f script_file] [-x command_string] [-no_init] [-checkout feature_list ] [-tcl_mode] [-timeout timeout_value ] [-version] [-behavioral] [-fpga] [-syntax_check | -context_check] -f script_file Executes a script file (a file of dc_shell commands) and then starts the dc_shell interface. For information about script files, see “Using Command Scripts” in Chapter 8.
1-15 Introduction to Design Compiler Interfaces -x command_string Executes the dc_shell statement in command_string before displaying the initial dc_shell prompt. Multiple statements can be entered, each statement separated by a semicolon, with quotation marks around the entire set of command statements after the -x. If the last statement entered is quit, no prompt is displayed and the command shell is exited. -no_init Prevents Synopsys setup files (described in “Using Startup Files”) from being read. Use -no_init only when you have a command log or other script file you want to include to reproduce a previous Design Compiler session. You can either include the script file by using the -f option, as shown previously, or use the include command from within dc_shell. -checkout feature_list Specifies a list of licensed features to be checked out in addition to default features checked out by the program. -tcl_mode Runs dc_shell in Tcl mode. Without this option, dc_shell runs in dcsh mode. -timeout timeout_value Indicates the number of minutes the program should spend trying to recover a lost contact with the license server before terminating. The value can range from 5 to 20. The default is 10 minutes. -version Displays the version number, build date, site ID number, local administrator, and contact information; and then exits.
1-16 Introduction to Design Compiler Interfaces -behavioral Invokes dc_shell in the Behavioral Compiler mode. This argument is required for synthesizing behavioral designs. For information about the Behavioral Compiler tool from Synopsys, see the Behavioral Compiler documents. -fpga Invokes dc_shell in the FPGA Compiler mode. This argument is required for using the FPGA bundled license on FPGA technology designs. For information about the FPGA Compiler tool from Synopsys, see the FPGA Compiler User Guide . -syntax_check | -context_check Enable syntax checking or context checking. For information about these checkers, see “Checking Syntax and Context in Scripts” on page 8-5. (Not available in Tcl mode.) Examples To execute a script file and then start the dc_shell interface, enter % dc_shell -f script_file To prevent Synopsys setup files from being read, enter % dc_shell -no_init -f command_log.file To execute a script file, start the dc_shell interface, and redirect the output and any error messages generated during the session to a file, enter % dc_shell -f common.script >& output_file
1-17 Introduction to Design Compiler Interfaces
You've reached the end of your free preview.
Want to read all 207 pages?
- Spring '10
- Shell, Command-line interface, Design Compiler