
Signature
Matt
When replying remove the 'DOT'
>Hello,
>
[quoted text clipped - 7 lines]
>
>thanks
In PSpice, other simulators may require editing notation style...
******************************************************************
.SUBCKT VCO_BEH VCONT OUT F PARAMS: FMAX=200Meg
+ VMAX=2V FMIN=100Meg VMIN=1V
.PARAM PI = 3.141593
G_G1 VC N_1 VALUE { 1+ TANH(80*V(VC, N_1)) }
G_G2 N_2 VC VALUE { 1+ TANH(80*V(N_2, VC)) }
R_R1 N_3 VC 10K
E_BUF1 N_3 0 VCONT 0 1
G_INTEG1 0 $$U_INTEG1 VALUE {V(OMEGA)}
C_INTEG1 $$U_INTEG1 0 {1/1.0}
R_INTEG1 $$U_INTEG1 0 1G
E_INTEG1 OUT 0 VALUE {V($$U_INTEG1)}
.IC V($$U_INTEG1) = 0v
R_R2 F 0 1K
V_V2 N_2 0 {VMIN-100m}
V_V1 N_1 0 {VMAX+100m}
R_R3 OUT 0 1K
R_R4 OMEGA 0 1K
E_E1 F 0 VALUE
+ {((V(VC,0)-VMAX)*(FMAX-FMIN)/(VMAX-VMIN)+FMAX)}
E_E2 OMEGA 0 VALUE { 2*PI*(V(F, 0)) }
.ENDS VCO_BEH
******************************************************************
...Jim Thompson
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |
I love to cook with wine. Sometimes I even put it in the food.
Joerg - 25 Jun 2005 22:51 GMT
Hello Jim,
Wasn't there a law that, at least for the state of Indiana:
.PARAM PI = 4?
Regards, Joerg
http://www.analogconsultants.com
Jim Thompson - 25 Jun 2005 22:58 GMT
>Hello Jim,
>
[quoted text clipped - 4 lines]
>
>http://www.analogconsultants.com
I think it was indeed Indiana, but it was pi = 3, and only applied to
small circles ;-)
...Jim Thompson
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |
I love to cook with wine. Sometimes I even put it in the food.
Robert - 26 Jun 2005 20:52 GMT
>>Hello Jim,
>>
[quoted text clipped - 9 lines]
>
> ...Jim Thompson
Snopes says the modern hoax is about Alabama but does mention (at the
bottom) the bit about Indiana. They said it was passed in the Indiana House
but died in the Senate.
http://www.snopes.com/religion/pi.htm
Robert