Download ModelSim PE Reference Manual
Transcript
Commands sccom loads the SystemC shared library from LIB_A and the top module TOP_A from LIB_A. vsim -lib LIB_A -sclib LIB_C -L LIB_B TOP_A loads the SystemC shared library from LIB_C. The top level module, TOP_A, was compiled in LIB_A. TOP_B, which is instantiated in some hierarchy, can be found in LIB_B. The vsim command can accept multiple -L switches, but it takes only one -lib switch. The -lib switch is for top-level modules and -L is for lower modules. The -sclib switch specifies where the SystemC shared library was created. • Compile the SystemC code with an include directory and the compile time macro (SC_INCLUDE_FX) to compile the source with support for fixed point types. For more information, refer to “Fixed-Point Types”. sccom -I/home/systemc/include -DSC_INCLUDE_FX -g a.cpp b.cpp • Compile with the g++ -02 optimization argument. sccom -02 a.cpp • Link in the library libmylib.a when creating the .so file. The -L, a gcc argument, specifies the search path for the libraries. sccom -L home/libs/ -l mylib -link See also “SystemC Simulation”, scgenmod, vdel -allsystemc ModelSim PE Reference Manual, v10.0d 331
Related documents
ModelSim SE Reference Manual
ModelSim Reference Manual
ModelSim SE Command Reference
Command - Electrical and Computer Engineering
ModelSim Command Reference
ModelSim 6.4 Quick Guide
DINSTAR SIM Cloud User Manual
ModelSim SE User`s Manual
Wave Window
End User Manual v2.2.5
ModelSim Command Reference
TSP Edge User`s Manual