====== SpyGlass Library Compiler ====== sypglass_lc -usage Usage: spyglass_lc -gateslib [-plib ] [-lef ] spyglass_lc -usage show the standard option set. All SpyGlass Library Compiler options can be supplied in a command file as follows. spyglass_lc -f -f files can be nested and mixed with command line options. OPTION DETAILS: Commonly Used Options: ===================== -gateslib Specifies the Liberty format Cell library file to be loaded. -plib Specifies PLIB library files. -lef Specifies LEF library files. -outsglib Specifies an output sglib file name. By default, the output sglib file name is .sglib for single file, and aggregate_lib.sglib for multiple files. -decompile_lib_models Decompiles the Functional View of Gate Library Cells into _spyglass_lc.v file in Verilog HDL format. Only those cells are decompiled for which there were no user-supplied definitions. -use_lib_models Gives preference to Gates Library (.lib) definition over user supplied definition for a cell while creating its functional view. By default, SpyGlass Library Compiler gives higher priority to user supplied definition. -wdir 'work_dir_path' Specify the directory to be used for keeping all SpyGlass Library Compiler output files, including .vdb, .log . The default is current working directory. -vdbfile Define the violation database file - The default is $(wdirpath)/spyglass_lc_.vdb -logfile Define the log file - The default is $(wdirpath)/spyglass_lc_.log -report When analysis has completed, call the report generator for the specified . If this option is not specified then `default' report is generated. -waiver Specifies the waivers constraints which can be used to selectively waive violations generated during .lib parsing. -ignorerules 'rule_name' Rule or group name to be ignored. This is helpful to skip all violations of given LIBWRN or LIBINFO which are generated during .lib parsing. Perl-Related Options: -f Commands are taken from the file; one option per line (with an optional value). Lines beginning with // are ignored. -I SpyGlass Library Compiler will first attempt to find scripts ,and files required from scripts, in the specified directory, before searching in default locations (specifically under SPYGLASS_HOME/lib and auxi). Multiple -I options may be specified and will be searched in the specified order. HDL Common Options: ================== -param {} Overrides the value of VHDL generics or Verilog Parameters used in the design. 'key' should be . or .. -pragma Specify a prefix for synthesis pragmas; the default is `synopsys' for Verilog source, and both 'synopsys' and 'pragma' for VHDL source. this option can be specified multiple times. Use '-pragma nopragma' to disable all pragma. -lib Specify the logical-to-physical mapping for referenced libraries; the physical locations must exist but may be multiply used. For example, -lib STD ~/SPYGLASS_HOME/vhdl_libs/STD -lib IEEE ~/SPYGLASS_HOME/vhdl_libs/IEEE -work 'name' Use the logical library `NAME' for compilation the default value is `WORK' -remove_work Forces cleanup of work directory, before starting the design parsing. VHDL-Specific Options: ===================== -87 Check for IEEE-1076 VHDL-87 compliance. -sort Sort the files before analyzing; this is useful when specifying `*.vhd' -disable_sort Disable the effect of -sort if -sort has been enabled through configuration file. -hdlin_translate_off_skip_text completely ignore the VHDL code between translate_off/translate_on pragma block. -hdlin_synthesis_off_skip_text completely ignore the VHDL code between synthesis_off/synthesis_on pragma block. -relax_hdl_parsing Performs relaxed VHDL semantic checking Verilog-Specific Options: ======================== +define++... Add the specified macro definitions. +incdir++... Search specified paths for include files. +libext+... Specify library directory file extensions. -ovi2 Analyze for OVI 2.0 compatibility. -v Specify a library file. -y Specify a library directory. -show_lib Generates info as to which modules are loaded from -v, -y library along with the library name. -disablev2k Disable parsing of Verilog 2000/2001 constructs. It has been enabled by default. -enableSV Enable parsing of System Verilog constructs. The default is to give error for System Verilog constructs. +resetall Resets Verilog compiler directive 'default_nettype' to language default which is 'wire'. Other Verilog compiler directives are not reset currently by this option. It is useful while analyzing multiple design files where user doesn't want to specify this default in each of these files. Other SpyGlass Library Compiler Optional Features: ================================================= -mthresh Specify a bit-count threshold for the compilation of memories. Above the threshold, memories will not be compiled (they are treated as black boxes). The default value is 4096 bits. Also see: -handlememory -handlememory Enables special processing for design containing large size memory instances. -include_tao_data Enables the preparation of timing and optimization (tao) data. The generated sglib file contains the prepared tao data. -LICENSEDEBUG Generates license checkout related debugging information in the logfile. -DEBUG Generates additional debugging information in the logfile. -enable_cmdline_debug Generates a Command-line processing debug log in wdir. The debug log contains the tracing of the internal processing of user-specified command-line options done by SpyGlass in both BATCH and SDE mode. SpyGlass Exit Code 0 (Informational command executed, rule-checking not done)