Mar 15, 2015 #1 S shockingshockley Member level 1 Joined Dec 11, 2010 Messages 33 Helped 0 Reputation 0 Reaction score 1 Trophy points 1,286 Activity points 1,611 Hello! Could you help me convert the following pspice code to hspice code especially the 'Bxx' dependent sources. Code: .subckt MODEL 2 1 Bset 1 10 v={v(31)*12} Rint 10 11 0.1 Vsen 2 11 DC 0 Cf 0 20 1e-6 Rf 20 21 1e6 Bf 21 0 v={i(Vsen)/1} Cchrg 0 30 {3600*1} IC=1 Blost 30 31 v=v(20) Bvsen 31 0 i={i(Vsen)} .ends Thanks in advance!
Hello! Could you help me convert the following pspice code to hspice code especially the 'Bxx' dependent sources. Code: .subckt MODEL 2 1 Bset 1 10 v={v(31)*12} Rint 10 11 0.1 Vsen 2 11 DC 0 Cf 0 20 1e-6 Rf 20 21 1e6 Bf 21 0 v={i(Vsen)/1} Cchrg 0 30 {3600*1} IC=1 Blost 30 31 v=v(20) Bvsen 31 0 i={i(Vsen)} .ends Thanks in advance!
Mar 15, 2015 #2 FvM Super Moderator Staff member Joined Jan 22, 2008 Messages 52,441 Helped 14,753 Reputation 29,788 Reaction score 14,108 Trophy points 1,393 Location Bochum, Germany Activity points 298,196 Behavioral modelling is an extension to original Berkley SPICE and unfortunately handled different by SPICE variants. The HSPICE behavioral sources syntax is described briefly in the Simulation and Analysis User Guide.
Behavioral modelling is an extension to original Berkley SPICE and unfortunately handled different by SPICE variants. The HSPICE behavioral sources syntax is described briefly in the Simulation and Analysis User Guide.