ankumar
Newbie level 6
- Joined
- Jan 13, 2008
- Messages
- 11
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,339
Hello,
In past I have done condition checking on output of a circuit and based on certain voltage declared "0" or "1" (similar to pass/ fail).
For example
if V(out) is less than 0.5*VDD then declare "Fail" or "0"
I am trying to verify 12 bit decoder using hspice or ultrasim. Manually checking each decoded bit can be time consuming , hence trying to automate.
Any help will be appreciated.
Thanks
Anil K.
- - - Updated - - -
Please let me know if following approach is not right
.param p_vdd=1.2V
.if (v(out)==p_vdd)
.title V(out) pass
.else
.title v(out) fail
.endif
In past I have done condition checking on output of a circuit and based on certain voltage declared "0" or "1" (similar to pass/ fail).
For example
if V(out) is less than 0.5*VDD then declare "Fail" or "0"
I am trying to verify 12 bit decoder using hspice or ultrasim. Manually checking each decoded bit can be time consuming , hence trying to automate.
Any help will be appreciated.
Thanks
Anil K.
- - - Updated - - -
Please let me know if following approach is not right
.param p_vdd=1.2V
.if (v(out)==p_vdd)
.title V(out) pass
.else
.title v(out) fail
.endif