Thank you Keith, this has been very helpful. I was able to run the simulation for a simple netlist at the moment.
I'm writing now to clarify all the questions that I have in my mind. Apparently, I was confused about where to find the library files. It seems that the parameters in the .pm files are already defined in a built-in library file in HSPICE, am I right? Hence, it's possible to run simulations without an extra .lib file. Otherwise, how would SPICE know what to do with each parameter. I thought that I was supposed to use the C source code I was talking about in order to define how each of these parameters would be used to calculate MOS characteristics. I guess I was mistaken.
The netlist that I used at the moment is:
** Circuit Description **
.include modelcard.nmos
m1 2 1 0 b nmos L=0.09u W=10.0u NF=5 rgeomod=1 geomod=0
*+SA=0.5u SB=20u geomod=0 sd=0.1u
vgs 1 0 1.2
vds 2 0 1.2
Vb b 0 0.0
.dc vds 0.0 1.2 0.02 vgs 0.2 1.2 0.2
.print dc i(vds)
.end
In the instantiation for transistor m1, I used the model nmos. Is that what we really do when we want to use BSIM4 nmos model? Or is there another BSIM model that would be named, say, nmosbsim4?
Again, I thank you for your time and effort in responding to my questions.