Download ModelSim SE Reference Manual
Transcript
Commands sccom • -link sccom’s -link argument performs the final link of all previously compiled SystemC source code. Required before running simulation. Any dependent .a or .o must be specified before the .a or .o on which it depends. Two types of dependencies are possible, and where you place the -link argument is different based on which type of dependency the files have. If your archive or object is dependent on the .o files created by sccom (i.e. your code references symbols in the generated SystemC .o files), then you must specify the -link argument after the list of files, as shown below: sccom a.o b.o libtemp.a -linkz Under the covers, the C++ linker’s command and argument order looks like this: ld a.o b.o libtemp.a <internal list of SC .o files> libsystemc.a However, if the .o files created by sccom are dependent on the object or archive you provided, then the -link argument must be placed before the object files or archive: sccom -link a.o b.o libtemp.a In this case, the "undercover" command and argument order look like this: ld <internal list of SC .o files> libsystemc.a a.o b.o libtemp.a • -log <logfile> Specifies the logfile in which to collect output. Optional. Related modelsim.ini variable is SccomLogfile. • -nodbgsym Disables the generation of symbols for the debugging database in the library, which allows source annotation. • -nodebug Disables the creation of a debug database for modules defined in those source files. Optional. Must not be used with any files containing the SC_MODULE_EXPORT() macro. Using this option can significantly reduce the compile time for a design, which is useful when running designs in regression mode. Refer to "Custom Debugging of SystemC Channels and Variables" for more information. • -nologo Disables the startup banner. Optional. • -note <msg_number> [,<msg_number>,...] Changes the severity level of the specified message(s) to "note." Optional. Edit the note variable in the modelsim.ini file to set a permanent default. Refer to “Changing Message Severity Level” for more information. ModelSim SE Reference Manual, v6.4a 331
Related documents
ModelSim PE Reference Manual
Command - Electrical and Computer Engineering
ModelSim SE Command Reference
ModelSim Reference Manual
ModelSim SE User`s Manual
Volume 6, Issue 2 - Verification Academy
ModelSim 6.4 Quick Guide
Wave Window
Notes - Read
Volume 7, Issue 2 - Verification Academy
ModelSim 6.0 Quick Guide
ModelSim SE User`s Manual