The simplest way to create 'other' elements is to use the 'gen other from file' function which can be found inside the symbol menu. This function parses a file containing a subcircuit definition, finds the subcurcuit name and the node names, and displays what it has found in a dialog so that the user can define the placement of the terminals.
Before calling this function, it is necessary to prepare the file which contains the subcircuit.
A file which contains the subcircuit 'subcktname' must have the filename 'subcktname.m' . SPICECAD will look for both names, and if it cannot find a subcircuit called 'subcktname' inside file 'subcktname.m', netlisting will halt with an error.
So, if this file is prepared properly, the function 'gen other from file' can be called.
A dialog will pop up which asks you for the filename which you want to read in.
After defining the filename (without the '.m' ending),
another dialog box will pop up which is shown in the next picture
In this dialog, you can define where you want to place the contacts (left, right, top, bottom side of rectangle or opamp symbol) and the outlook of the symbol to be generated : rectangle or opamp look.
The dialog check box 'symbol type' is for future use, changing the default entry 'analog' to 'digital' has no effect right now.
After checking 'create symbol', a symbol will be generated and stored on your working directory. You can move it into a design library later manually using the UNIX 'mv' command.
If you wish to place the 'other' element, check 'place other' inside the symbol menu.