I have to create new directory under /ngspice/src/xspice/icm/. Like we have analog,digital and so on.
So that I can create my model in that directory. For that I saw that I would required .cm file for that particular directory but I cant find the proper step for that.
Can you please let me know the proper steps for it.?
please see chapt. 25.3 of actual manual for integration a new code model into an existing library.
See manual chapt. 27.4 and 27.5 for adding a new library, and 27.2 for adding code models.
Chapts. 27.6 and 27.7 describe the ifspec.ifs and cfunc.mod files you have to create.