@User: You're on your own for deciphering it for now until I get around to working on it. The essential part of it is that it makes calls (in magic) to the (Tcl-scripted) command "gencell" to generate a device. I have forgotten the details about how to pass the SPICE parameters to the device, but I think it just handles them directly.