File: Sixpole.m4

package info (click to toggle)
circuit-macros 10.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,532 kB
  • sloc: makefile: 909; sh: 49
file content (25 lines) | stat: -rw-r--r-- 419 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.PS
# sixpole.m4
define(`biquad',`[
In: Here
  resistor(right_)
E: dot
  resistor
  dot
  {capacitor(down_,C); ground(,T)}
  line right_ elen_/3
  { dot
    line up_ elen_
    amp(to (E,Here),elen_/2)
    capacitor(from E to Here,C) }
  amp(right_,elen_/2)
  Out: Here
  ]')

cct_init
define(`elen_',linewid)

  biquad
  biquad with .In at last [].Out+(-linewid/4,0)
  biquad with .In at last [].Out+(-linewid/4,0)
.PE