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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9: Using VERA with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>DesignWare Memory <strong>Models</strong> with VERADesignWare Memory <strong>Models</strong> have an object-oriented VERA command interface youcan use to control the models from VERA, thereby retaining the benefits of the VERAverification language while using the DWMM testbench commands. For in<strong>for</strong>mationabout the DWMM VERA testbench commands, see the DesignWare Memory ModelUser’s Manual.DesignWare Memory Model VERA ClassesVERA implements a number of useful features of an object-oriented language. Thecustom DWMM-VERA interface provides a class that contains public method functionsso that a VERA testbench can access custom DWMM models. This class inherits thebase class LstModel features.Figure 9 shows the model hierarchy.LstModelCustomDWMMModelFigure 9: VERA Model Class HierarchyLstModel is an abstract or virtual class and cannot be instantiated directly in VERAtestbenches. Only an instance of a MemPro class can be created in a VERA testbench.The commands used to control DWMM models are public methods of the MemProclass. You can send DWMM models commands from VERA only through an instanceof the MemPro class.The following section refers often to user-defined functions (UDF). UDFs are “bodies”(written in C) of VERA methods. They are much like Verilog, PLI, or VHDL functions.UDFs must be declared in a VERA header (.vrh) file to be usable by VERA programs.They must also be compiled and linked into the simulator executable.224 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!