Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

HSPICE: Pass/fail check

Status
Not open for further replies.

ankumar

Newbie level 6
Newbie level 6
Joined
Jan 13, 2008
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top