page15
A MAXIMA FILE EXAMPLE : 'SK_filter.mac' to produce header file 'SK_filter.hdr'
SCHEMATIC( "
o-------o--------o-------o-------o----o
| | | | |
[c] o----> | | |
| [gm] | [co]
i----i--[r]--s--[r]--b----> | | |
| | | | |
[vin] [c] | [rds] |
| | | | |
_gnd_ _gnd_ _gnd_ _gnd_ _gnd_ " ) ;
NETLIST( [ V , vin , i , gnd ],
[ R , r1 , i , s ],
[ C , c2 , s , o ],
[ R , r3 , s , b ],
[ C , c4 , b , gnd ],
[ G , gm , o , gnd, o, b ],
[ R , rds , o , gnd ],
[ C, co , o , gnd ] ) ;
OUTPUTS( V(o), V(b), I(r1), I(vin), J() ) ;
AKA( r, r1, r3 ) ; AKA( c, c2, c4 ) ; AKA( 1/gds, rds ) ;
GENERATE_MIMO( ) ; /* output header file for NAPA 'sarc' function */
15