elsalty
Newbie level 5
- Joined
- Apr 9, 2009
- Messages
- 8
- Helped
- 0
- Reputation
- 0
- Reaction score
- 1
- Trophy points
- 1,281
- Activity points
- 1,355
I have downloaded several models for SiC mosfets from Rohm and Cree, however I am wanting to use Hspice and these models are not compatible. Some of the obvious things are easy to change (like changes the { to ' ). These models use the .FUNC command to define a function, and then use it in other places. I can't find where hspice supports something like this, but I can just put the function in everywhere it is called. However there is one specific thing that I can't find a way around. All of these models use an "IF" statement. Something like
Which I assume states that if V>0 then the equation is equal to 770.4u*V**(8.323*EXP((TEMP-T0)/-899.6))*EXP((TEMP-T0)/33.22), and if V is equal to or less than 0 then it is equal to 0. However I can't find a way to implement this in hspice. I have spent time looking through the hspice manuals but I haven't found anything. Thanks in advance for any help.
Code PHP (brief) - [expand] 1 {IF(V>0,770.4u*V**(8.323*EXP((TEMP-T0)/-899.6))*EXP((TEMP-T0)/33.22),0)}
Which I assume states that if V>0 then the equation is equal to 770.4u*V**(8.323*EXP((TEMP-T0)/-899.6))*EXP((TEMP-T0)/33.22), and if V is equal to or less than 0 then it is equal to 0. However I can't find a way to implement this in hspice. I have spent time looking through the hspice manuals but I haven't found anything. Thanks in advance for any help.
Last edited by a moderator: