Здравствуйте, у меня вопрос для тех кто имеет экспириенс в области создания Spice-моделей, а именно создания кода моделей(в мануалах это называется Creating a Code Model). Алгоритм создания приведу из Userguide.
5.15.2 Creating a Code Model
To create a code model:
1. Set up your environment variables for Microsoft Visual C++ by running VcVars32.bat
(installed, by default, in the c:/Program Files/DevStudio/Vc/Bin folder).
This step should be repeated each time you restart your computer and want to create a
code model.
2. Create a folder under the codemodl folder (within the folder where you installed Multisim).
Give the folder the same name as the model you are creating. For example, from the
codemodl subdirectory, create the folder C:/Program Files/EWB/codemodl/
testmodl
3. Create an interface file called Ifspec.ifs in the folder you just created. The interface
file describes the number and types of connections and parameters of the device. For
example, create the file C:/Program Files/EWB/codemodl/testmodl/
Ifspec.ifs
4. Create an implementation file called Cfunc.mod in the subdirectory. The implementation
file gives the equations that govern the behavior of the device. For example, create the
file C:/Program Files/EWB/codemodl/testmodl/Cfunc.mod
5. To compile the files into a dynamically-linked library (DLL), go to the codemodl folder
and execute the command MakeDev “folder”, where “folder” is the name of the
folder containing the .ifs and .mod files. For example, execute
C:/Program Files/EWB/codemodl
cd
MakeDev “testing”
Errors and warnings may appear.
6. Place the resulting .dll file, which has the same name as the folder containing its source
files, in the codemodl folder (that is, above the folder with the model’s name). For
example, the file created is called C:/Program Files/EWB/codemodl/testing.
dll
Относительно создания Cfunc.mod and Ifspec.ifs всё более менее понятно, возникает вопрос по 5 пункту,
непонятно каким образом Microsoft Visual C++ может запихать в одну dll-библиотеку 2 текстовых файла. При этом в мануалах
для разных версий этот пункт выглядит по-разному.Все кто поможет мне разъяснить эту проблему обещаю вечную благодарность и низкий поклон.