XSPICE user written device models and library