12 Part 1: Text Macro-Model Creation Symbol Creation - Modify23Hidden Pin Numbers* TG Simple 159Hz LPF*Connections..... VIN VOUT GND.SUBCKT LPFR kC u.ENDS LPFEnsure “Pin Order” matches the order in the Text SubCircuit. If not re-arrange the pin order using the up and down arrows until the pin order is correct.

20 Part 1: Text Macro-Model CreationSymbol Creation - NewDouble click on each pin to select the “Pin Properties”. If you want a name on your pin unselect “Show”. For your Symbol to be available to build your Macro-Model form the Text SubCircuit it must be built with the EXACT same number of pins and use the same pin numbers on the pins as your Text SubCircuit

21 Part 1: Text Macro-Model CreationSymbol Creation - NewEnter desired pin name hereClick on “T” to create a text label for your symbol pin. A crosshair will appear in the window. Click the mouse once and a Text Entry Box will pop up.After text entry click “OK” and name will appear. Move pin name where desired.

23 Part 1: Text Macro-Model CreationSymbol Creation - New123Hidden Pin Numbers* TG Simple 159Hz LPF*Connections..... VIN VOUT GND.SUBCKT LPFR kC u.ENDS LPFEnsure “Pin Order” matches the order in the Text SubCircuit. If not re-arrange the pin order using the up and down arrows until the pin order is correct.

31 Part 1: Text Macro-Model CreationEnter “Name” for the new Macro-Model.Click on “Content” and select the desired Text SubCircuit File. Then click “Open”

32 Part 1: Text Macro-Model CreationClick on “Shape”. The ONLY symbol choices that will appear at the right are ones that contain pin numbers and quantities that EXACTLY match the Text SubCircuit.(i.e., 3 pins and pins numbered1, 2, 3 corresponding to the Nodes in the Text Subcircuit of1, 2, 3)Unselect all boxes since we want to use our own symbol for the Macro-Model.

33 Part 1: Text Macro-Model CreationHighlight desired “Shape” at the right and click “OK” to enter it into the “Shape” dialog box.

34 Part 1: Text Macro-Model CreationIf you want a label to appear next to the Ref Designator when you place the Macro-Model on a schematic enter it here under “Label”

35 Part 1: Text Macro-Model CreationFinish Macro-Model creation and Save the results. Click “OK” and popup window on right will appear. Tina uses “.TSM” as Macro Schematics file extension. After creating or using default File name and choosing the folder to store the Macro-Model in click “Save”

53 Part 2: Schematic Macro-Model CreationSymbol Creation - NewDouble click on each pin to select the “Pin Properties”. If you want a name on your pin unselect “Show”. For your Symbol to be available to build your Macro-Model form the Text SubCircuit it must be built with the EXACT same number of pins and use the same pin numbers on the pins as your Text SubCircuit

54 Part 2: Schematic Macro-Model CreationSymbol Creation - NewEnter desired pin name hereClick on “T” to create a text label for your symbol pin. A crosshair will appear in the window. Click the mouse once and a Text Entry Box will pop up.After text entry click “OK” and name will appear. Move pin name where desired.

62 Part 2: Schematic Macro-Model CreationOpen the schematic where the Schematic SubCircuit is created.Enter a name for the Macro-Model under “Name”.Check “Current circuit”.

63 Part 2: Schematic Macro-Model CreationClick on “Shape”. The ONLY symbol choices that will appear at the right are ones that contain pin numbers and quantities that EXACTLY match the Text SubCircuit.(i.e., 3 pins and pins numbered1, 2, 3 corresponding to the Nodes in the Schematic Subcircuit of1, 2, 3)

64 Part 2: Schematic Macro-Model CreationHighlight desired “Shape” at the right and click “OK” to enter it into the “Shape” dialog box.

65 Part 2: Schematic Macro-Model CreationIf you want a label to appear next to the Ref Designator when you place the Macro-Model on a schematic enter it here under “Label”

66 Part 2: Schematic Macro-Model CreationFinish Macro-Model creation and Save the results. Click “OK” and popup window on right will appear. Tina uses “.TSM” as Macro Schematics file extension. After creating or using default File name and choosing the folder to store the Macro-Model in click “Save”

69 Part 2: Schematic Macro-Model CreationMacro-Model UseNow the Macro-Model may be connected and used in the Schematic Editor as a normal Macro-Model.

70 Part 2: Schematic Macro-Model CreationAuto-Generated ShapeCreate subcircuit in the Schematic Editor. Connect a “Macro Pin” to each I/O of the subcircuit.Double-Click on each “Macro Pin” and assign it a desired name in the “Label” dialog box. Click “OK” to save the pin name.

72 Part 2: Schematic Macro-Model CreationAuto-Generated ShapeIf you want a label to appear next to the Ref Designator when you place the Macro-Model on a schematic enter it here under “Label”Check the box next to the “Content” dialog as “Current circuit” since we are turning the current schematic into a Macro-Model. Check the box next to the “Shape” dialog as “Auto-generated” to have Tina create a Macro-Model symbol automatically for you. Then click “OK”.

73 Part 2: Schematic Macro-Model CreationAuto-Generated ShapeFinish Macro-Model creation and Save the results. Click “OK” and popup window on right will appear. Tina uses “.TSM” as Macro Schematics file extension. After creating or using default File name and choosing the folder to store the Macro-Model in click “Save”

76 Auto-Generated Shape: Macro-Model UsePart 2: Schematic Macro-Model CreationAuto-Generated Shape: Macro-Model UseNow the Macro-Model may be connected and used in the Schematic Editor as a normal Macro-Model.Notice how Tina created the box shape for the Macro-Model and automatically assigned the pins the names we used for each “Macro Pin” name when we created the Schematic SubCircuit

78 Auto-Generated Shape: Macro-Model UsePart 2: Schematic Macro-Model CreationAuto-Generated Shape: Macro-Model UseThe Schematic SubCircuit that was used to create the Macro-Model will appear in a separate window. Values in the SubCircuit may be modified as in the normal Schematic Editor.

80 Auto-Generated Shape: Macro-Model UsePart 2: Schematic Macro-Model CreationAuto-Generated Shape: Macro-Model UseThe modified Schematic SubCircuit used for the Macro-Model was modified and the changes are now included in the Macro-Model. These changes stay wherever this instance of the Macro-Model are copied and placed in this or another schematic.