12.07.2015 Views

Simulator Configuration Guide for Synopsys Models

Simulator Configuration Guide for Synopsys Models

Simulator Configuration Guide for Synopsys Models

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>ContentsChapter 10Using SystemC with <strong>Synopsys</strong> <strong>Models</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261Setting Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261Using Smart<strong>Models</strong> with SystemC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262Using DesignWare Memory <strong>Models</strong> with SystemC . . . . . . . . . . . . . . . . . . . . . . . 264Appendix AUsing LMTV with <strong>Synopsys</strong> <strong>Models</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267What is LMTV? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267Static Linking with LMTV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268Edited veriuser.c File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268LMTV Command-Line Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270LMTV Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271$lm_command() or $lai_command() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272$lm_dump_file() or $lai_dump_file() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273$lm_help() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274$lm_load_file() or $lai_load_file() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275$lm_monitor_enable() or $lai_enable_monitor() . . . . . . . . . . . . . . . . . . . . . . 276$lm_monitor_disable() or $lai_disable_monitor() . . . . . . . . . . . . . . . . . . . . . 276$lm_monitor_vec_map() and $lm_monitor_vec_unmap() . . . . . . . . . . . . . . . 278$lm_status() or $lai_status() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280Appendix BUsing Custom Memory <strong>Models</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281Configuring Custom Memory <strong>Models</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282Controlling Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283Instantiating Custom Memory <strong>Models</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285Using Custom Memory <strong>Models</strong> with VCS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286Using Custom Memory <strong>Models</strong> with VCS and Verilog Testbenches . . . . . . . 286Using Custom Memory <strong>Models</strong> with VCS and C Testbenches . . . . . . . . . . . . 287Using Custom Memory <strong>Models</strong> with NC-Verilog . . . . . . . . . . . . . . . . . . . . . . . . 289Using Custom Memory <strong>Models</strong> with MTI Verilog . . . . . . . . . . . . . . . . . . . . . . . . 290Using Custom Memory <strong>Models</strong> with Scirocco . . . . . . . . . . . . . . . . . . . . . . . . . . . 292Using Custom Memory <strong>Models</strong> with MTI VHDL . . . . . . . . . . . . . . . . . . . . . . . . 294Using Custom Memory <strong>Models</strong> with NC-VHDL . . . . . . . . . . . . . . . . . . . . . . . . . 296Using Custom Memory <strong>Models</strong> with VERA . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301October 6, 2003 <strong>Synopsys</strong>, Inc. 7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!