Hello,
I'm working on developing a SPICE model to provide a complex digital function (counter) that provides analog behavior at the pins (input threshold, impedance, leakage; output impedance). Can anyone share a netlist or PSpice library function that will allow changing a PSpice digital function to a PSpice analog voltage? I have attempted to connect my own netlists to the existing PSpice digital library devices, but it just results in errors.
This is my current netlist for an input circuit:
** Generic testing input model
.SUBCKT INPUT_CMOS OUT IN VCC VEE
ETHR VTHR VEE TABLE {V(VCC,VEE)} =
+(1,0.5)
+(10,5)
* Outputs 1 or 0 only (ideal output)
EOUT OUT VEE VALUE = {0.5*(SGN(V(IN,VTHR)) + ABS(SGN(V(IN,VTHR))))}
.ENDS
Any assistance is appreciated.
Copyright © 2020 Cadence Design Systems, Inc. All rights reserved.