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.

Appendix A: Using LMTV with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>$lm_monitor_enable() or $lai_enable_monitor()$lm_monitor_disable() or $lai_disable_monitor()Use these commands to enable or disable SmartModel Windows <strong>for</strong> one or morewindow elements of a model instance specified by inst_path. The SmartModelWindows feature allows you to view and change the contents of a model's internalregisters through predefined windows, which usually reflect the model's internal state.After enabling SmartModel Windows, you can read from the register using anappropriate Verilog command or by adding the path name to the list of signals beingtraced. If you attempt to read from an internal register without enabling SmartModelWindows the window content is not read.The $lm_monitor_enable() and $lm_monitor_disable() commands are provided <strong>for</strong>compatibility with the historic environment. You cannot access arrays of registers, as inmemory window elements, using these commands.NoteAccessing internal states is memory-intensive, so you may notice someper<strong>for</strong>mance degradation when SmartModel Windows is enabled.Syntax$lm_monitor_enable ( inst_path [, “window_element” [,...]] );$lm_monitor_disable ( inst_path [, “window_element” [,...]] );$lai_enable_monitor ( inst_path [, “window_element” [,...]] );$lai_disable_monitor ( inst_path [, “window_element” [,...]] );Argumentsinst_pathwindow_elementThe path name to the SmartModel instance <strong>for</strong> whichSmartModel Windows is to be enabled.The name of the internal register to read. This can be asingle value or a list. The default is to read all internalregisters of the instance.276 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!