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.

Appendix B: Using Custom Memory <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>Configuring Custom Memory <strong>Models</strong>Regardless of which simulator you are using, you must configure your custom memorymodels by defining the required parameters or attributes shown in Table 38 <strong>for</strong> eachmodel instance in your design. You configure custom memory models when youinstantiate them in your design using these generics or parameters.Table 38: Custom Memory Model Generic/Parameter DescriptionsName Data Type Descriptionmodel_idmodel_aliasIntegerStringEither the model_id or model_alias generic or parameterspecifies a unique user handle <strong>for</strong> a specified model instance.This user handle is used to address a memory model usingtestbench commands.Note: You do not need to assign all custom memory modelinstances a model_id or model_alias, but only those instanceson which you will use the testbench interface. However, eachmodel with a model_id or model_alias must be assigned aunique handle.memoryfile String Specifies the file name of the memory image file to preloadduring model initialization. If memoryfile is set to a nullstring (memoryfile = “”), memory image preloading duringinitialization is disabled. Supported file <strong>for</strong>mats areSmartModel Memory Image, Motorola S-Record, Intel Hex,and Verilog $readmemh. Memory models can also be loadedusing the mem_load command.default_data String Specifies the default data returned from all uninitializedmemory addresses.Note: <strong>Models</strong> in non-volatile memory classes may not havetheir Default Memory Value set to anything except all ones.Any other setting is ignored.message_level Integer Specifies the type or types of messages returned by themodel. For a detailed description of message types, refer to“Controlling Messages” on page 283.AttentionThe spelling, case (upper/lower), and argument types of generics andparameters used by custom memory models are not always the same asthose used by standard binary DWMM models. Be sure to follow theappropriate conventions <strong>for</strong> your model.282 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!