10.12.2012 Views

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

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.

3<br />

5<br />

64 General Modeling Functions<br />

Creating Macros from Subsheet Models<br />

Macros from Descriptions<br />

1 Create a simulation model with a subsheet element and run at least one simulation, or<br />

choose SIMULATION>EXPORT DESCRIPTION to create an .sml or .vhd file.<br />

2 Select a library to store the new macro in the Model Agent.<br />

3 Click with the right mouse button in the pane above<br />

the libraries and choose «Insert» «Macro(s) from<br />

SML-20 file» or «Macro(s) from VHDL-AMS file»<br />

on the shortcut menu. Open the file (.sml or .vhd) of<br />

your simulation model in the dialog box.<br />

The complete file is searched for macro definitions.<br />

Any subsheet that is found are suggested as a new<br />

macro model; the name can be specified.<br />

Select the<br />

macros<br />

Compiler<br />

warnings<br />

Insert macro in<br />

the model tree<br />

4 Click to insert the subsheets as macros in the selected library.<br />

5 Choose «Edit Symbol» on the macro shortcut menu to start the symbol<br />

editor to modify the default symbol. See also 16 “Symbol Editor” on<br />

page 499.<br />

Select the<br />

library language<br />

Define the title<br />

for the selected<br />

macro<br />

Opens the symbol<br />

editor to edit the<br />

macro symbol<br />

Messages of<br />

syntax check<br />

for the selected<br />

macro<br />

Macros from Subsheets<br />

1 Choose EDIT>COPY or CTRL+C to copy a selected subsheet symbol in the sheet.<br />

2 Go to the component tree, click a tab, choose a library, and click the folder where the new<br />

subsheet should be inserted.<br />

3 Click with the right mouse the folder and choose «Paste» on the shortcut menu.<br />

4 Choose «Subsheet» or «Text Macro».<br />

• Subsheet: You can drop the macro onto the sheet and open and edit the graphical presentation.<br />

This macro has and cyan colored symbol in the model tree.<br />

• Text Macro: You can drop the macro onto the sheet, but you cannot open and modify the<br />

internal macro model. This macro has and yellow colored symbol in the model tree.<br />

Please note: Text subsheets will always be added as a text macro to the model library.

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

Saved successfully!

Ooh no, something went wrong!