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.

<strong>SIMPLORER</strong> 6.0 — <strong>Manual</strong> 63<br />

5 Define non-conservative nodes. Non-conservative nodes are used to change parameters.<br />

They need the additional information whether the pin should be used as input, output, or<br />

input and output. They are defined in the following form:<br />

PORT data_type direction: Variable_name=Default_Value, for example:<br />

PORT real in: LM=0.1, PORT real out: V1=VM.V,PORT real inout: VAL=0<br />

6 To check the SML syntax click the Scan Text symbol in the toolbar. If errors occur, an message<br />

box occurs on the screen.<br />

7 Choose «Level Up» on the text editor shortcut menu (right.mouse click in the editor window)<br />

to switch to the mainsheet. Double-click the subsheet symbol to open the subsheet<br />

property dialog. In the «Output/Display» dialog all output quantities are listed. Select a<br />

output format to display a quantity.<br />

Creating Text Subsheets in VHDL-AMS<br />

1 Choose SHEET>SUBSHEET>NEW VHDL-AMS. The mouse pointer becomes a cross wire.<br />

2 Draw the subsheet symbol to the size desired by holding the left mouse<br />

button and then release the mouse button. A rectangle for the macro is<br />

displayed and the empty text editor is opened.<br />

3 Enter the subsheet description in VHDL-AMS. You can define only one<br />

model description in a subsheet.<br />

4 Define model nodes. They are defined in the following form:<br />

PORT (QUANTITY Name: Data_type:=Default_value; TERMINAL<br />

Name : Nature_type), for example:<br />

PORT (QUANTITY R : REAL: =1.0+3; TERMINAL p,m : ELECTRICAL)<br />

5 To check the SML syntax click the Scan Text symbol in the toolbar. If errors occur, an message<br />

box occurs on the screen.<br />

6 Choose «Level Up» on the Text Editor’s shortcut menu (right mouse click in the editor<br />

window) to switch to the mainsheet. Double-click the subsheet symbol to open the subsheet<br />

property dialog. In the «Output/Display» dialog all output quantities are listed. Select<br />

a output format to display a quantity.<br />

3.5.3 Subsheets in the Model Agent<br />

In a simulation model defined subsheets (text or graphical) can be added to model libraries<br />

and so used in other sheets. You can insert subsheets from a model description or paste the<br />

copied subsheet directly in a model library.<br />

Copying and Duplicating Subsheets<br />

You can copy subsheets (CTRL+C) and insert them in the same or another sheet (CTRL+V).<br />

You can edit the subsheets after they are inserted.<br />

In contrast, you can duplicate subsheets (EDIT>DUPLICATE or CTRL+D). All subsheets created<br />

with duplicate will always have the same content, because any changes are updated in all<br />

corresponding subsheets.

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

Saved successfully!

Ooh no, something went wrong!